summaryrefslogtreecommitdiffstats
path: root/package/gcc/4.7.4/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-06-12 18:00:50 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-06-13 09:45:15 +0200
commit2c6ca668b86a13b726eb83301a92c5011fd09ee6 (patch)
treea1ceb524429e4af8b5b4fe063d72ce33de7aeb55 /package/gcc/4.7.4/302-c99-snprintf.patch
parentbca6d1cbb9e92daa90dcfdecca209431c44d8700 (diff)
downloadbuildroot-2c6ca668b86a13b726eb83301a92c5011fd09ee6.tar.gz
buildroot-2c6ca668b86a13b726eb83301a92c5011fd09ee6.zip
gcc: bump 4.7.x series to version 4.7.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/4.7.4/302-c99-snprintf.patch')
-rw-r--r--package/gcc/4.7.4/302-c99-snprintf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/4.7.4/302-c99-snprintf.patch b/package/gcc/4.7.4/302-c99-snprintf.patch
new file mode 100644
index 0000000000..ba51a0e1d4
--- /dev/null
+++ b/package/gcc/4.7.4/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
OpenPOWER on IntegriCloud