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
This commit is contained in:
17
net/xtables-addons/patches/002-configure_fix.patch
Normal file
17
net/xtables-addons/patches/002-configure_fix.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- 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
|
Reference in New Issue
Block a user