summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-08-20 23:12:27 +0000
committerKhem Raj <raj.khem@gmail.com>2008-08-20 23:12:27 +0000
commit347f41f1c6caef14cd1a30315a6ce8dd2692da76 (patch)
tree8a0f0163926067e2543ad286f0e9add8daee29f5 /packages/gcc/gcc-4.3.1/302-c99-snprintf.patch
parent77a319c9b302cd96ad7419c80a4334ae5a71b275 (diff)
Enable gcc 4.3.1 to build for uclibc.
Revive the uclibc locale support. Fix gcc native breakage for 4.3.1.
Diffstat (limited to 'packages/gcc/gcc-4.3.1/302-c99-snprintf.patch')
-rw-r--r--packages/gcc/gcc-4.3.1/302-c99-snprintf.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch b/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch
index dfb22d681b..02865865e5 100644
--- a/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch
+++ b/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch
@@ -1,8 +1,10 @@
---- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500
-+++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500
-@@ -142,7 +142,7 @@
- using ::vsprintf;
- }
+Index: gcc-4.3.1/libstdc++-v3/include/c_std/cstdio
+===================================================================
+--- gcc-4.3.1.orig/libstdc++-v3/include/c_std/cstdio 2006-12-07 01:35:57.000000000 -0800
++++ gcc-4.3.1/libstdc++-v3/include/c_std/cstdio 2008-08-16 02:11:37.000000000 -0700
+@@ -144,7 +144,7 @@
+
+ _GLIBCXX_END_NAMESPACE
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)