summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.8.1/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-05-31 13:56:59 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-31 13:57:17 +0200
commited09a3601dd0b594defb6406b5f5816511ad154a (patch)
tree0ec944f5a1f3487fa1adf816930336119579486e /toolchain/gcc/4.8.1/302-c99-snprintf.patch
parent0b78baafbda4b97c96793231f559735139506ee1 (diff)
downloadbuildroot-novena-ed09a3601dd0b594defb6406b5f5816511ad154a.tar.gz
buildroot-novena-ed09a3601dd0b594defb6406b5f5816511ad154a.zip
gcc: bump 4.8.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc/4.8.1/302-c99-snprintf.patch')
-rw-r--r--toolchain/gcc/4.8.1/302-c99-snprintf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/4.8.1/302-c99-snprintf.patch b/toolchain/gcc/4.8.1/302-c99-snprintf.patch
new file mode 100644
index 000000000..cd4d2ccfb
--- /dev/null
+++ b/toolchain/gcc/4.8.1/302-c99-snprintf.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.8.0/libstdc++-v3/include/c_global/cstdio
+===================================================================
+--- gcc-4.8.0.orig/libstdc++-v3/include/c_global/cstdio 2013-02-03 18:54:05.000000000 +0100
++++ gcc-4.8.0/libstdc++-v3/include/c_global/cstdio 2013-03-23 17:39:32.000000000 +0100
+@@ -138,7 +138,7 @@
+ using ::vsprintf;
+ } // namespace
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf