From 347f41f1c6caef14cd1a30315a6ce8dd2692da76 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 20 Aug 2008 23:12:27 +0000 Subject: Enable gcc 4.3.1 to build for uclibc. Revive the uclibc locale support. Fix gcc native breakage for 4.3.1. --- packages/gcc/gcc-4.3.1/302-c99-snprintf.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'packages/gcc/gcc-4.3.1/302-c99-snprintf.patch') diff --git a/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch b/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch index dfb22d681b..02865865e5 100644 --- a/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch +++ b/packages/gcc/gcc-4.3.1/302-c99-snprintf.patch @@ -1,8 +1,10 @@ ---- gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig 2005-04-29 00:08:41.000000000 -0500 -+++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h 2005-04-29 00:08:45.000000000 -0500 -@@ -142,7 +142,7 @@ - using ::vsprintf; - } +Index: gcc-4.3.1/libstdc++-v3/include/c_std/cstdio +=================================================================== +--- gcc-4.3.1.orig/libstdc++-v3/include/c_std/cstdio 2006-12-07 01:35:57.000000000 -0800 ++++ gcc-4.3.1/libstdc++-v3/include/c_std/cstdio 2008-08-16 02:11:37.000000000 -0700 +@@ -144,7 +144,7 @@ + + _GLIBCXX_END_NAMESPACE -#if _GLIBCXX_USE_C99 +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__) -- cgit v1.2.3