summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-09 18:38:19 +0000
commitb4cb437c6595ff8ac13506e502fe04b1a60c4e04 (patch)
treef529de217094f1a49049f90c49d779a49e19cd7c /openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch
parent3baacb49c13a48798d45e30a0a0076ca0b8c9e6a (diff)
downloadpoky-b4cb437c6595ff8ac13506e502fe04b1a60c4e04.tar.gz
Merge packages changes from OE into poky.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@386 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch')
-rw-r--r--openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch b/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch
new file mode 100644
index 0000000000..5159a52cd7
--- /dev/null
+++ b/openembedded/packages/gcc/gcc-4.0.2/302-c99-snprintf.patch
@@ -0,0 +1,14 @@
1From:
2http://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