autoconf-2.59: fix building when sh=ksh
authorHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 6 Jun 2008 13:02:18 +0000 (13:02 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 6 Jun 2008 13:02:18 +0000 (13:02 +0000)
* add autoconf-sh.patch
* closes long outstanding bug 1088
* bump PR

packages/autoconf/autoconf-2.59/autoconf-sh.patch [new file with mode: 0644]
packages/autoconf/autoconf_2.59.bb

diff --git a/packages/autoconf/autoconf-2.59/autoconf-sh.patch b/packages/autoconf/autoconf-2.59/autoconf-sh.patch
new file mode 100644 (file)
index 0000000..361033b
--- /dev/null
@@ -0,0 +1,22 @@
+http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/Attic/autoconf-sh.patch?rev=1.1;content-type=text%2Fplain
+
+Index: tests/wrapper.in
+===================================================================
+RCS file: /cvsroot/autoconf/autoconf/tests/wrapper.in,v
+retrieving revision 1.4
+diff -u -u -r1.4 wrapper.in
+--- autoconf-2.59/tests/wrapper.in 25 Sep 2003 09:30:35 -0000 1.4
++++ autoconf-2.59/tests/wrapper.in 19 Nov 2003 13:17:11 -0000
+@@ -13,9 +13,10 @@
+ elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+   set -o posix
+ fi
++DUALCASE=1; export DUALCASE # for MKS sh
+ # Support unset when possible.
+-if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+   as_unset=unset
+ else
+   as_unset=false
+
index 5891d1e..f59f8fa 100644 (file)
@@ -2,7 +2,7 @@ require autoconf.inc
 
 DEPENDS += "m4-native"
 RDEPENDS_${PN} = "m4 gnu-config"
-PR = "r5"
+PR = "r6"
 
 SRC_URI += "file://autoreconf-include.patch;patch=1 \
           file://autoreconf-exclude.patch;patch=1 \
@@ -12,4 +12,5 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \
           file://autoheader-nonfatal-warnings.patch;patch=1 \
           file://sizeof_types.patch;patch=1 \
           file://autoconf-x.patch;patch=1 \
+          file://autoconf-sh.patch;patch=1 \
           ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"