X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2F4.0.3%2F302-c99-snprintf.patch;fp=toolchain%2Fgcc%2Fpatches%2F4.0.3%2F302-c99-snprintf.patch;h=dfb22d681bbc8ffb7a90e4bc779d84d4c8c37d94;hb=94266d638908a140ef5cdd9b27d2eb367f97249f;hp=0000000000000000000000000000000000000000;hpb=1b14a20c70b78c037ef4bcc6d1edb61ea8b27e68;p=openwrt-10.03%2F.git diff --git a/toolchain/gcc/patches/4.0.3/302-c99-snprintf.patch b/toolchain/gcc/patches/4.0.3/302-c99-snprintf.patch new file mode 100644 index 000000000..dfb22d681 --- /dev/null +++ b/toolchain/gcc/patches/4.0.3/302-c99-snprintf.patch @@ -0,0 +1,11 @@ +--- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500 ++++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500 +@@ -142,7 +142,7 @@ + using ::vsprintf; + } + +-#if _GLIBCXX_USE_C99 ++#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) + + #undef snprintf + #undef vfscanf