packages/net/xtables-addons/patches/002-configure_fix.patch

18 lines
499 B
Diff
Raw Normal View History

--- 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