diff options
author | Peter Volkov <pva@gentoo.org> | 2011-06-20 08:26:05 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-06-20 08:26:05 +0000 |
commit | 8067d7526c8d517f7b9bdde3d79ff2052aaf323d (patch) | |
tree | 86565079f04ad54ddfd9b5b8f446ca7c6fda2820 /net-firewall/xtables-addons/files/xtables-addons-1.36-kernel-detection.patch | |
parent | x86 stable wrt bug #371763 (diff) | |
download | gentoo-2-8067d7526c8d517f7b9bdde3d79ff2052aaf323d.tar.gz gentoo-2-8067d7526c8d517f7b9bdde3d79ff2052aaf323d.tar.bz2 gentoo-2-8067d7526c8d517f7b9bdde3d79ff2052aaf323d.zip |
Fix sandbox violations reported by Marcin Mirosław in byg 371997.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
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.patch | 13 |
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."; |