summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-14 20:22:34 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-14 20:22:34 +0100
commit2e7e072f58f4dd47edc4e54d96b79bd9ff92ee7e (patch)
tree63225a230143108a02d1b972931e20c9d92d9886 /meta/packages/gcc/gcc-4.3.3/302-c99-snprintf.patch
parent8f96edfb16e593264a49b04eade98d4e2094d1b1 (diff)
downloadpoky-2e7e072f58f4dd47edc4e54d96b79bd9ff92ee7e.tar.gz
gcc-4.3.3: Sync patchset with OE.dev
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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__)