net/xtables-addons: update to version 1.31. this series of updates closes #8369
[packages.git] / net / xtables-addons / patches / 002-configure_fix.patch
diff --git a/net/xtables-addons/patches/002-configure_fix.patch b/net/xtables-addons/patches/002-configure_fix.patch
new file mode 100644 (file)
index 0000000..fb4de66
--- /dev/null
@@ -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