X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=net%2Fxtables-addons%2Fpatches%2F002-configure_fix.patch;fp=net%2Fxtables-addons%2Fpatches%2F002-configure_fix.patch;h=fb4de66336c88f49329ef9ef6dc5c1945b9b36a5;hb=dea52d6d4e0a2b3d965c08f3c783f92a16db8200;hp=0000000000000000000000000000000000000000;hpb=e49a3d613f92045fbdeef7c10dfbf728fb3eab4b;p=packages.git diff --git a/net/xtables-addons/patches/002-configure_fix.patch b/net/xtables-addons/patches/002-configure_fix.patch new file mode 100644 index 000000000..fb4de6633 --- /dev/null +++ b/net/xtables-addons/patches/002-configure_fix.patch @@ -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