changeset 5363:1b148c0d2101

Fix a compatibility issue with Bash 4.0
author Patrick McCarty <pnorcks@gmail.com>
date Mon, 20 Jul 2009 15:20:06 -0700
parents bb89fda94d3e
children 9fe37326a7bb
files gub/specs/linux-headers.py patches/linux-headers-2.4.34-posix-fix.patch
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/linux-headers.py	Tue Jul 14 12:23:05 2009 +0200
+++ b/gub/specs/linux-headers.py	Mon Jul 20 15:20:06 2009 -0700
@@ -12,6 +12,7 @@
         return ['']
     def patch (self):
         self.system ('''
+cd %(srcdir)s && patch -p1 < %(patchdir)s/linux-headers-2.4.34-posix-fix.patch
 cd %(srcdir)s && yes yes | make ARCH=%(package_arch)s oldconfig symlinks include/linux/version.h
 #cd %(srcdir)s && yes yes | make ARCH=i386 oldconfig
 #cd %(srcdir)s && make ARCH=%(package_arch)s symlinks include/linux/version.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/linux-headers-2.4.34-posix-fix.patch	Mon Jul 20 15:20:06 2009 -0700
@@ -0,0 +1,12 @@
+diff -ru linux-2.4.34/scripts/Configure linux-2.4.34-2/scripts/Configure
+--- linux-2.4.34/scripts/Configure	2006-12-23 12:34:20.000000000 -0800
++++ linux-2.4.34-2/scripts/Configure	2009-07-20 15:14:58.506858922 -0700
+@@ -548,7 +548,7 @@
+   echo "#"
+   . $DEFAULTS
+   sed -e 's/# \(CONFIG_[^ ]*\) is not.*/\1=n/' <$DEFAULTS >.config-is-not.$$
+-  . .config-is-not.$$
++  . ./.config-is-not.$$
+   rm .config-is-not.$$
+ else
+   echo "#"