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)
commit28c451abe0975805455f88738ab505a8e85e480c (patch)
tree9dc434d262e046dc7f0240fb6975be360771bbf3 /patches/gcc/4.4.4/320-c99-snprintf.patch
parent93f2e86a82daa1683528716536130eaf632b0752 (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