patches/glibc/2.2.2/glibc-2.1.3-allow-gcc3-versioninfo.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
# gcc-3.x doesn't like run-on strings
yann@1
     2
# See also http://sources.redhat.com/ml/libc-alpha/2004-01/msg00032.html
yann@1
     3
yann@1
     4
--- glibc-2.1.3/csu/Makefile.old	2004-03-04 12:18:52.000000000 -0800
yann@1
     5
+++ glibc-2.1.3/csu/Makefile	2004-03-04 12:19:35.000000000 -0800
yann@1
     6
@@ -188,8 +188,8 @@
yann@1
     7
 	 esac; \
yann@1
     8
 	 files="$(all-Banner-files)";				\
yann@1
     9
 	 if test -n "$$files"; then				\
yann@1
    10
-	   echo "\"Available extensions:";			\
yann@1
    11
-	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/' $$files;	\
yann@1
    12
-	   echo "\"";						\
yann@1
    13
+	   echo -e "\"Available extensions:\\\\n\"";		\
yann@1
    14
+  	   sed -e '/^#/d' -e 's/^[[:space:]]*/	/'		\
yann@1
    15
+	       -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;		\
yann@1
    16
 	 fi) > $@T
yann@1
    17
 	mv -f $@T $@