1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.0.4/140-c99-snprintf.patch Sun Nov 13 18:24:36 2011 +0100
1.3 @@ -0,0 +1,11 @@
1.4 +--- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500
1.5 ++++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500
1.6 +@@ -142,7 +142,7 @@
1.7 + using ::vsprintf;
1.8 + }
1.9 +
1.10 +-#if _GLIBCXX_USE_C99
1.11 ++#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
1.12 +
1.13 + #undef snprintf
1.14 + #undef vfscanf