summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-05-25 13:20:57 +0000
committerPeter Volkov <pva@gentoo.org>2010-05-25 13:20:57 +0000
commit4a2082fb90a15c1799522c0938bc784d4c0b696d (patch)
tree63120de4cf87401f7614c5010c235d1497ad1b52 /net-firewall/iptables
parentStable on amd64 wrt bug #321435 (diff)
downloadgentoo-2-4a2082fb90a15c1799522c0938bc784d4c0b696d.tar.gz
gentoo-2-4a2082fb90a15c1799522c0938bc784d4c0b696d.tar.bz2
gentoo-2-4a2082fb90a15c1799522c0938bc784d4c0b696d.zip
Fix build issue, bug #321271, thank Eray Aslan for report.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall/iptables')
-rw-r--r--net-firewall/iptables/ChangeLog6
-rw-r--r--net-firewall/iptables/files/iptables-1.4.8-build.patch14
-rw-r--r--net-firewall/iptables/iptables-1.4.8-r1.ebuild6
3 files changed, 23 insertions, 3 deletions
diff --git a/net-firewall/iptables/ChangeLog b/net-firewall/iptables/ChangeLog
index c8c62c3e5bd7..a59067ff48ce 100644
--- a/net-firewall/iptables/ChangeLog
+++ b/net-firewall/iptables/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/iptables
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.216 2010/05/24 12:45:14 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.217 2010/05/25 13:20:56 pva Exp $
+
+ 25 May 2010; Peter Volkov <pva@gentoo.org> iptables-1.4.8-r1.ebuild,
+ +files/iptables-1.4.8-build.patch:
+ Fix build issue, bug #321271, thank Eray Aslan for report.
*iptables-1.4.8-r1 (24 May 2010)
diff --git a/net-firewall/iptables/files/iptables-1.4.8-build.patch b/net-firewall/iptables/files/iptables-1.4.8-build.patch
new file mode 100644
index 000000000000..92ea925f29d9
--- /dev/null
+++ b/net-firewall/iptables/files/iptables-1.4.8-build.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/show_bug.cgi?id=321271
+http://marc.info/?l=netfilter&m=127468045031428&w=2
+http://marc.info/?l=netfilter&m=127468044931416&w=2
+
+--- a/utils/Makefile.am
++++ b/utils/Makefile.am
+@@ -1,5 +1,7 @@
+ # -*- Makefile -*-
+
++AM_CFLAGS = ${regular_CFLAGS} -I${top_builddir}/include -I${top_srcdir}/include
++
+ sbin_PROGRAMS = nfnl_osf
+ pkgdata_DATA = pf.os
+
diff --git a/net-firewall/iptables/iptables-1.4.8-r1.ebuild b/net-firewall/iptables/iptables-1.4.8-r1.ebuild
index 50de482ec9d2..829acc27df06 100644
--- a/net-firewall/iptables/iptables-1.4.8-r1.ebuild
+++ b/net-firewall/iptables/iptables-1.4.8-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.8-r1.ebuild,v 1.1 2010/05/24 12:45:14 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.8-r1.ebuild,v 1.2 2010/05/25 13:20:57 pva Exp $
EAPI="2"
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs autotools
DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools"
HOMEPAGE="http://www.iptables.org/"
@@ -18,7 +18,9 @@ DEPEND="virtual/os-headers"
RDEPEND=""
src_prepare() {
+ epatch "${FILESDIR}/${P}-build.patch" #321271
epatch_user
+ eautoreconf
}
src_configure() {