patches/glibc/2.2.2/glibc-2.1.3-allow-gcc3-versioninfo.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.2.2/glibc-2.1.3-allow-gcc3-versioninfo.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,17 @@
     1.4 +# gcc-3.x doesn't like run-on strings
     1.5 +# See also http://sources.redhat.com/ml/libc-alpha/2004-01/msg00032.html
     1.6 +
     1.7 +--- glibc-2.1.3/csu/Makefile.old	2004-03-04 12:18:52.000000000 -0800
     1.8 ++++ glibc-2.1.3/csu/Makefile	2004-03-04 12:19:35.000000000 -0800
     1.9 +@@ -188,8 +188,8 @@
    1.10 + 	 esac; \
    1.11 + 	 files="$(all-Banner-files)";				\
    1.12 + 	 if test -n "$$files"; then				\
    1.13 +-	   echo "\"Available extensions:";			\
    1.14 +-	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/' $$files;	\
    1.15 +-	   echo "\"";						\
    1.16 ++	   echo -e "\"Available extensions:\\\\n\"";		\
    1.17 ++  	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/'		\
    1.18 ++	       -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;		\
    1.19 + 	 fi) > $@T
    1.20 + 	mv -f $@T $@