Apply remove-bashisms patch for runtime and compile time bashisms in "configure".
PATCH 1/1 Apply remove-bashisms patch for runtime and compile time bashisms in "configure".
From: Marc Olzheim <[email protected]>
--- .../remove-configure-bashisms.patch | 47 ++++++++++++++++++++ recipes/iproute2/iproute2_2.6.31.bb | 4 +- 2 files changed, 50 insertions(+), 1 deletions(-) create mode 100644 recipes/iproute2/iproute2-2.6.31/remove-configure-bashisms.patch
recipes/iproute2/iproute2-2.6.31/remove-configure-bashisms.patch new file +47 -0
@@ -0,0 +1,47 @@ +--- iproute2-2.6.31/configure 2009-12-26 19:26:44.000000000 +0100 ++++ iproute2-2.6.31/configure 2010-04-28 17:29:12.000000000 +0200 +@@ -3,7 +3,7 @@ + # + INCLUDE=${1:-"$PWD/include"} + +-function check_atm ++check_atm() + { + cat >/tmp/atmtest.c <<EOF + #include <atm.h> +@@ -24,7 +24,7 @@ + rm -f /tmp/atmtest.c /tmp/atmtest + } + +-function check_xt ++check_xt() + { + #check if we have xtables from iptables >= 1.4.5. + cat >/tmp/ipttest.c <<EOF +@@ -55,7 +55,7 @@ + rm -f /tmp/ipttest.c /tmp/ipttest + } + +-function check_xt_old ++check_xt_old() + { + # bail if previous XT checks has already succeded. + if grep TC_CONFIG_XT Config > /dev/null +@@ -94,7 +94,7 @@ + rm -f /tmp/ipttest.c /tmp/ipttest + } + +-function check_xt_old_internal_h ++check_xt_old_internal_h() + { + # bail if previous XT checks has already succeded. + if grep TC_CONFIG_XT Config > /dev/null +@@ -134,7 +134,7 @@ + rm -f /tmp/ipttest.c /tmp/ipttest + } + +-function check_ipt ++check_ipt() + { + if ! grep TC_CONFIG_XT Config > /dev/null + then
recipes/iproute2/iproute2_2.6.31.bb +3 -1
@@ -1,9 +1,11 @@ require iproute2.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI = "http://developer.osdl.org/dev/iproute2/download/${P}.tar.bz2 \ file://new-flex-fix.patch;patch=1 \ + file://remove-configure-bashisms.patch;patch=1 \ + file://remove-bashisms.patch;patch=1 \ " S = "${WORKDIR}/iproute2-${PV}"
Signature · 1 line
1.6.3.3