summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2008-06-06 13:02:18 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2008-06-06 13:02:18 +0000
commit923c2692e9bfc580eee2a564d5ef8824080f71fa (patch)
tree037bf2b3a9c6dc59b2c13257501c91c60c651fd5
parent435805be2cfb725ea743a2f4b95b56e78ecc6aed (diff)
autoconf-2.59: fix building when sh=ksh
* add autoconf-sh.patch * closes long outstanding bug 1088 * bump PR
-rw-r--r--packages/autoconf/autoconf-2.59/autoconf-sh.patch22
-rw-r--r--packages/autoconf/autoconf_2.59.bb3
2 files changed, 24 insertions, 1 deletions
diff --git a/packages/autoconf/autoconf-2.59/autoconf-sh.patch b/packages/autoconf/autoconf-2.59/autoconf-sh.patch
new file mode 100644
index 0000000000..361033ba3d
--- /dev/null
+++ b/packages/autoconf/autoconf-2.59/autoconf-sh.patch
@@ -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
+
diff --git a/packages/autoconf/autoconf_2.59.bb b/packages/autoconf/autoconf_2.59.bb
index 5891d1ec59..f59f8fa5c9 100644
--- a/packages/autoconf/autoconf_2.59.bb
+++ b/packages/autoconf/autoconf_2.59.bb
@@ -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)]}"