From 1c0fd705a61e72e315c96bec639b34ecc1c33494 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 19 Oct 2009 02:09:52 +0000 Subject: add a gcc variant based on gcc 4.3.3 with codesourcery enhancements git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18059 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/patches/4.3.3+cs/302-c99-snprintf.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toolchain/gcc/patches/4.3.3+cs/302-c99-snprintf.patch (limited to 'toolchain/gcc/patches/4.3.3+cs/302-c99-snprintf.patch') diff --git a/toolchain/gcc/patches/4.3.3+cs/302-c99-snprintf.patch b/toolchain/gcc/patches/4.3.3+cs/302-c99-snprintf.patch new file mode 100644 index 000000000..ba51a0e1d --- /dev/null +++ b/toolchain/gcc/patches/4.3.3+cs/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 -- cgit v1.2.3