summaryrefslogtreecommitdiff
path: root/toolchain/gcc/4.3.2/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2008-12-31 18:28:59 +0000
committerNigel Kukard <nkukard@lbsd.net>2008-12-31 18:28:59 +0000
commit39c0548428fcd643b785cb29df11a803c898bf08 (patch)
treef3edd982387b39da005d5518c66346c082280825 /toolchain/gcc/4.3.2/302-c99-snprintf.patch
parentbe2f1705e884571866b492c6299aeb4cf993db1b (diff)
* Added option to build with gcc 4.3.2
Diffstat (limited to 'toolchain/gcc/4.3.2/302-c99-snprintf.patch')
-rw-r--r--toolchain/gcc/4.3.2/302-c99-snprintf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/4.3.2/302-c99-snprintf.patch b/toolchain/gcc/4.3.2/302-c99-snprintf.patch
new file mode 100644
index 000000000..ba51a0e1d
--- /dev/null
+++ b/toolchain/gcc/4.3.2/302-c99-snprintf.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
+===================================================================
+--- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (revision 129202)
++++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (working copy)
+@@ -144,7 +144,7 @@
+
+ _GLIBCXX_END_NAMESPACE
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf