diff --git a/package/base/glibc23/gcc33-hotfix.patch b/package/base/glibc23/gcc33-hotfix.patch index d0d93a8ec..547624884 100644 --- a/package/base/glibc23/gcc33-hotfix.patch +++ b/package/base/glibc23/gcc33-hotfix.patch @@ -21,6 +21,7 @@ # --- ROCK-COPYRIGHT-NOTE-END --- Rene Rebe: This fixes compilation with gcc-3.3 +Clifford: And the soinit.c thing is a workaroung for an x86_64 ICE --- glibc-2.3.2/stdio-common/sscanf.c 2002-08-10 20:09:08.000000000 +0200 +++ glibc-2.3.2/stdio-common/sscanf.c 2003-05-13 09:46:19.000000000 +0200 @@ -39,3 +40,14 @@ Rene Rebe: This fixes compilation with gcc-3.3 va_start (arg, format); done = __vsscanf (s, format, arg); +--- ./elf/soinit.c.orig Tue Feb 24 15:55:00 2004 ++++ ./elf/soinit.c Tue Feb 24 16:31:08 2004 +@@ -25,7 +25,7 @@ + } + + #ifdef HAVE_DWARF2_UNWIND_INFO +-static char __EH_FRAME_BEGIN__[] ++const static char __EH_FRAME_BEGIN__[] + __attribute__ ((section (".eh_frame"))) + = { }; + # ifdef HAVE_DWARF2_UNWIND_INFO_STATIC