packages/net/xtables-addons/patches/002-configure_fix.patch
acoul dea52d6d4e net/xtables-addons: update to version 1.31. this series of updates closes #8369
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:24:35 +00:00

18 lines
499 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -56,14 +56,6 @@ krel="${krel#*.}";
kminor="${krel%%.*}";
krel="${krel#*.}";
kmicro="${krel%%.*}";
-if test "$kmicro" = "$krel"; then
- kmicro="$(($kmicro+0))"; # Get rid of non numbers ("2.6.36+" -> "2.6.36")
- kstable=0;
-else
- kmicro="$(($kmicro+0))";
- kstable="${krel#*.}";
- kstable="$(($kstable+0))";
-fi;
if test -z "$kmajor" -o -z "$kminor" -o -z "$kmicro"; then
echo "WARNING: Version detection did not succeed. Continue at own luck.";
else