summaryrefslogtreecommitdiff
path: root/patches/gcc/4.4.4/320-c99-snprintf.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-05-16 17:41:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-05-16 17:41:53 (GMT)
commitcf395e3876baa8e4e631763bfef2a39316354ba2 (patch)
tree0be64c1a67c44b2df7c60f1117def38ccbebf7a8 /patches/gcc/4.4.4/320-c99-snprintf.patch
parent68cb21446da77850d0eda68094868e7aedf059cf (diff)
cc/gcc: add latest version
Add 4.4.4 and forward-port patchset from 4.4.3
Diffstat (limited to 'patches/gcc/4.4.4/320-c99-snprintf.patch')
-rw-r--r--patches/gcc/4.4.4/320-c99-snprintf.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/gcc/4.4.4/320-c99-snprintf.patch b/patches/gcc/4.4.4/320-c99-snprintf.patch
new file mode 100644
index 0000000..bb91060
--- /dev/null
+++ b/patches/gcc/4.4.4/320-c99-snprintf.patch
@@ -0,0 +1,14 @@
+diff -durN gcc-4.4.0.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.0/libstdc++-v3/include/c_global/cstdio
+
+diff -durN gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio gcc-4.4.4/libstdc++-v3/include/c_global/cstdio
+--- gcc-4.4.4.orig/libstdc++-v3/include/c_global/cstdio 2009-04-10 01:23:07.000000000 +0200
++++ gcc-4.4.4/libstdc++-v3/include/c_global/cstdio 2010-05-16 19:37:06.000000000 +0200
+@@ -139,7 +139,7 @@
+
+ _GLIBCXX_END_NAMESPACE
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf