diff options
Diffstat (limited to 'meta/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch')
| -rw-r--r-- | meta/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch b/meta/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch new file mode 100644 index 0000000000..5159a52cd7 --- /dev/null +++ b/meta/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | From: | ||
| 2 | http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/toolchain/gcc/4.0.2/302-c99-snprintf.patch?rev=11715 | ||
| 3 | |||
| 4 | --- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500 | ||
| 5 | +++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500 | ||
| 6 | @@ -142,7 +142,7 @@ | ||
| 7 | using ::vsprintf; | ||
| 8 | } | ||
| 9 | |||
| 10 | -#if _GLIBCXX_USE_C99 | ||
| 11 | +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) | ||
| 12 | |||
| 13 | #undef snprintf | ||
| 14 | #undef vfscanf | ||
