patches/gcc/4.2.0/180-c99-snprintf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 26 22:59:14 2011 +0200 (2011-09-26)
changeset 2690 7e0a5e30a02c
parent 111 2e16b9fc302d
permissions -rw-r--r--
kernel/linux: prepare for 3.1 and above

The real upstream location is not in the '3.0' directory, but
in the '3.x' directory.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 --- gcc-4.2.0.orig/libstdc++-v3/include/c_std/std_cstdio.h	2006-12-07 10:33:51.000000000 +0100
     2 +++ gcc-4.2.0/libstdc++-v3/include/c_std/std_cstdio.h	2007-05-20 01:05:38.000000000 +0200
     3 @@ -144,7 +144,7 @@
     4  
     5  _GLIBCXX_END_NAMESPACE
     6  
     7 -#if _GLIBCXX_USE_C99
     8 +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
     9  
    10  #undef snprintf
    11  #undef vfscanf