summaryrefslogtreecommitdiff
path: root/toolchain/gcc/4.0.4/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-09 13:31:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-09 13:31:55 +0000
commit7779fd745393c02e51976c1d1888db16adc225f8 (patch)
tree40e8e24c25635c89c73f0781c4e22bf272d55a24 /toolchain/gcc/4.0.4/302-c99-snprintf.patch
parent19818694fe6fa3412a6636a3ed783e0d6832d6e6 (diff)
- add gcc-4.0.4
- add knob to enable unsupported, deprecated, obsoleted versions of packages
Diffstat (limited to 'toolchain/gcc/4.0.4/302-c99-snprintf.patch')
-rw-r--r--toolchain/gcc/4.0.4/302-c99-snprintf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/4.0.4/302-c99-snprintf.patch b/toolchain/gcc/4.0.4/302-c99-snprintf.patch
new file mode 100644
index 000000000..dfb22d681
--- /dev/null
+++ b/toolchain/gcc/4.0.4/302-c99-snprintf.patch
@@ -0,0 +1,11 @@
+--- 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;
+ }
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
+
+ #undef snprintf
+ #undef vfscanf