aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-07-01 13:39:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-07-01 13:39:50 +0000
commit9167521015ca2d3e765233e59720212709aaeccf (patch)
tree7052987e091152b9bd8a89f0012de887a63e4f9f /toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch
parent3d95ace099bfb31fb55f6cf145b647260aa73fad (diff)
downloadupstream-9167521015ca2d3e765233e59720212709aaeccf.tar.gz
upstream-9167521015ca2d3e765233e59720212709aaeccf.tar.bz2
upstream-9167521015ca2d3e765233e59720212709aaeccf.zip
bump the 4.4 flavour to 4.4.6
SVN-Revision: 27337
Diffstat (limited to 'toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch')
-rw-r--r--toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch b/toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch
new file mode 100644
index 0000000000..ddbe43d810
--- /dev/null
+++ b/toolchain/gcc/patches/4.4.6/302-c99-snprintf.patch
@@ -0,0 +1,11 @@
+--- a/libstdc++-v3/include/c_global/cstdio
++++ b/libstdc++-v3/include/c_global/cstdio
+@@ -139,7 +139,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
+
+ _GLIBCXX_END_NAMESPACE
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf