* updated klickety (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / architecture / avr32 / package / gcc / gcc-302-c99-snprintf.patch
blob1ebd2893bbbe6ed5ae30b449cab4991bfd426941
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../uclibc/patches/gcc-302-c99-snprintf.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500
17 +++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500
18 @@ -142,7 +142,7 @@
19 using ::vsprintf;
22 -#if _GLIBCXX_USE_C99
23 +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
25 #undef snprintf
26 #undef vfscanf