From 4af6496eac1146a2eceb3e4c9915307a9e69b9e6 Mon Sep 17 00:00:00 2001 From: Martin Banky Date: Wed, 3 Nov 2010 15:59:31 -0300 Subject: Add gcc 4.5.1 to buildroot Signed-off-by: Martin.Banky@gmail.com Signed-off-by: Peter Korsgaard --- toolchain/gcc/4.5.1/302-c99-snprintf.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toolchain/gcc/4.5.1/302-c99-snprintf.patch (limited to 'toolchain/gcc/4.5.1/302-c99-snprintf.patch') diff --git a/toolchain/gcc/4.5.1/302-c99-snprintf.patch b/toolchain/gcc/4.5.1/302-c99-snprintf.patch new file mode 100644 index 000000000..ba51a0e1d --- /dev/null +++ b/toolchain/gcc/4.5.1/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