Author: tushar
Date: 2008-04-18 18:54:31 -0600 (Fri, 18 Apr 2008)
New Revision: 1944
Added:
trunk/glibc/glibc-2.7-awk-may-not-be-gawk.patch
trunk/glibc/glibc-2.7-gcc-4.3.patch
Log:
Add patches for glibc 2.7
Added: trunk/glibc/glibc-2.7-awk-may-not-be-gawk.patch
===================================================================
--- trunk/glibc/glibc-2.7-awk-may-not-be-gawk.patch
(rev 0)
+++ trunk/glibc/glibc-2.7-awk-may-not-be-gawk.patch 2008-04-19 00:54:31 UTC
(rev 1944)
@@ -0,0 +1,21 @@
+Submitted By: Tushar Teredesai <[EMAIL PROTECTED]>
+Date: 2008-04-18
+Initial Package Version: 2.7
+Upstream Status: Fixed
+Origin: glibc cvs
+Description: On some systems, awk may not be linked to gawk. glibc checks
+ specifically for gawk and sets the var AWK to gawk. One of the
+ instance for invoking awk did not use the var.
+
+diff -aur glibc-2.7.orig/elf/Makefile glibc-2.7/elf/Makefile
+--- glibc-2.7.orig/elf/Makefile 2008-04-18 17:30:46.000000000 -0500
++++ glibc-2.7/elf/Makefile 2008-04-18 17:31:24.000000000 -0500
+@@ -308,7 +308,7 @@
+ -Wl,-soname=$(rtld-installed-name) -T [EMAIL PROTECTED]
+ rm -f [EMAIL PROTECTED]
+ readelf -s $@ \
+- | awk '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") {
print; p=1 } END { exit p != 0 }'
++ | $(AWK) '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") {
print; p=1 } END { exit p != 0 }'
+
+ # interp.c exists just to get this string into the libraries.
+ CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \
Added: trunk/glibc/glibc-2.7-gcc-4.3.patch
===================================================================
--- trunk/glibc/glibc-2.7-gcc-4.3.patch (rev 0)
+++ trunk/glibc/glibc-2.7-gcc-4.3.patch 2008-04-19 00:54:31 UTC (rev 1944)
@@ -0,0 +1,29 @@
+Submitted By: Tushar Teredesai <[EMAIL PROTECTED]>
+Date: 2008-04-18
+Initial Package Version: 2.7
+Upstream Status: Fixed
+Origin: glibc cvs
+Description: Fix compilation with gcc-4.3
+
+===================================================================
+RCS file: /cvs/glibc/libc/configure,v
+retrieving revision 1.462
+retrieving revision 1.463
+diff -u -r1.462 -r1.463
+--- libc/configure 2008/01/24 20:21:23 1.462
++++ libc/configure 2008/02/01 00:20:07 1.463
+@@ -5065,8 +5065,12 @@
+ # header directory and add that to the list. NOTE: Only does the right
+ # thing on a system that doesn't need fixincludes. (Not presently a problem.)
+ if test -n "$sysheaders"; then
+- ccheaders=`$CC -print-file-name=include`
+- SYSINCLUDES="-nostdinc -isystem $ccheaders \
++ SYSINCLUDES=-nostdinc
++ for d in include include-fixed; do
++ i=`$CC -print-file-name="$d"` && test "x$i" != "x$d" &&
++ SYSINCLUDES="$SYSINCLUDES -isystem $i"
++ done
++ SYSINCLUDES="$SYSINCLUDES \
+ -isystem `echo $sysheaders | sed 's/:/ -isystem /g'`"
+ if test -n "$CXX"; then
+ cxxversion=`$CXX -dumpversion 2>&5` &&
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page