patches/gcc/4.4.4/320-c99-snprintf.patch
changeset 1953 a93af06e180d
child 2148 ada9128c98b8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.4.4/320-c99-snprintf.patch	Sun May 16 19:41:53 2010 +0200
     1.3 @@ -0,0 +1,14 @@
     1.4 +diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio
     1.5 +
     1.6 +diff -durN gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.4/libstdc++-v3/include/c_global/cstdio
     1.7 +--- gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio	2009-04-10 01:23:07.000000000 +0200
     1.8 ++++ gcc-4.4.4/libstdc++-v3/include/c_global/cstdio	2010-05-16 19:37:06.000000000 +0200
     1.9 +@@ -139,7 +139,7 @@
    1.10 + 
    1.11 + _GLIBCXX_END_NAMESPACE
    1.12 + 
    1.13 +-#if _GLIBCXX_USE_C99
    1.14 ++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
    1.15 + 
    1.16 + #undef snprintf
    1.17 + #undef vfscanf