summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch')
-rw-r--r--meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch b/meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch
index dfb22d681b..02865865e5 100644
--- a/meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch
+++ b/meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch
@@ -1,8 +1,10 @@
1--- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500 1Index: gcc-4.3.1/libstdc++-v3/include/c_std/cstdio
2+++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500 2===================================================================
3@@ -142,7 +142,7 @@ 3--- gcc-4.3.1.orig/libstdc++-v3/include/c_std/cstdio 2006-12-07 01:35:57.000000000 -0800
4 using ::vsprintf; 4+++ gcc-4.3.1/libstdc++-v3/include/c_std/cstdio 2008-08-16 02:11:37.000000000 -0700
5 } 5@@ -144,7 +144,7 @@
6
7 _GLIBCXX_END_NAMESPACE
6 8
7-#if _GLIBCXX_USE_C99 9-#if _GLIBCXX_USE_C99
8+#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) 10+#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)