summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/xtables-addons/files/xtables-addons-1.36-kernel-detection.patch')
-rw-r--r--net-firewall/xtables-addons/files/xtables-addons-1.36-kernel-detection.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-firewall/xtables-addons/files/xtables-addons-1.36-kernel-detection.patch b/net-firewall/xtables-addons/files/xtables-addons-1.36-kernel-detection.patch
new file mode 100644
index 000000000000..0d6098eabf81
--- /dev/null
+++ b/net-firewall/xtables-addons/files/xtables-addons-1.36-kernel-detection.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index ff0e171..0660eea 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -65,7 +65,7 @@ if test -n "$kbuilddir"; then
+ echo "WARNING: You are trying a newer kernel. Results may vary. :-)";
+ elif test "$kmajor" -eq 3; then
+ :;
+- elif test "$kmajor" -eq 2 -a "$kminor" -ge 29; then
++ elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 29; then
+ :;
+ else
+ echo "WARNING: That kernel version is not supported.";