summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2007-09-20 09:28:35 -0700
committerDavid Brown2007-09-23 23:05:49 -0700
commited38eafa25584eb3534ee454398e2b23e7a91738 (patch)
treeaaef7a4f3594f4b2b47f82b15eb285535ea989a2
parent9521270c0be588a94703823ad992ac0b22121529 (diff)
glibc: Fix Bug #14004 (fails to find acceptable grep)
-rw-r--r--libs/glibc/HISTORY6
-rwxr-xr-xlibs/glibc/PRE_BUILD1
-rw-r--r--libs/glibc/as-test-x.patch10
3 files changed, 17 insertions, 0 deletions
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index a467a62fe1..6eb391d738 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,9 @@
+2007-09-20 Eric Sandall <sandalle@sourcemage.org>
+ * PRE_BUILD: Apply as-test-x.patch: Fixes Bug #14004
+ * as-test-x.patch: Added from David Brown's devel update of glibc to 2.6.1
+ in commit 199874422bbb17772cb0257187151007ab398463
+ Fixes Bug #14004
+
2007-08-06 Treeve Jelbert <treeve@sourcemage.org>
* BUILD: fix typo (bug #13925)
diff --git a/libs/glibc/PRE_BUILD b/libs/glibc/PRE_BUILD
index d39e83ddf1..5c1b922227 100755
--- a/libs/glibc/PRE_BUILD
+++ b/libs/glibc/PRE_BUILD
@@ -56,6 +56,7 @@ if [[ $GLIBC_NPTL == n ]]; then
patch -p1 < $SCRIPT_DIRECTORY/glibcshared.patch
fi &&
patch -p0 < $SCRIPT_DIRECTORY/Makefile.patch &&
+patch -p1 < $SCRIPT_DIRECTORY/as-test-x.patch &&
# disabled libgd detection/building memusagestat for now until a better
# fix has been found, bug #8277
diff --git a/libs/glibc/as-test-x.patch b/libs/glibc/as-test-x.patch
new file mode 100644
index 0000000000..b0f299ccdb
--- /dev/null
+++ b/libs/glibc/as-test-x.patch
@@ -0,0 +1,10 @@
+--- a/sysdeps/unix/sysv/linux/configure.in 2007-09-13 17:56:51.519950207 -0700
++++ b/sysdeps/unix/sysv/linux/configure.in 2007-09-13 17:40:35.186895935 -0700
+@@ -24,6 +24,7 @@
+ CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
+ fi
+ define([libc_cv_linuxVER], [libc_cv_linux]patsubst(LIBC_LINUX_VERSION,[\.]))dnl
++as_test_x="test -x"
+ AC_CACHE_CHECK(installed Linux kernel header files, libc_cv_linuxVER, [dnl
+ AC_EGREP_CPP([eat flaming death], [#include <linux/version.h>
+ #if !defined LINUX_VERSION_CODE || LINUX_VERSION_CODE < ]dnl