summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-04-25 14:14:01 +0000
committerJeroen Roovers <jer@gentoo.org>2013-04-25 14:14:01 +0000
commiteadc9e274be23ce990a70cd5e7863dc40f8ec891 (patch)
tree3f16ad05821f57db867581f4fe7d586f25786be6 /net-firewall/conntrack-tools
parentDrop old versions (diff)
downloadgentoo-2-eadc9e274be23ce990a70cd5e7863dc40f8ec891.tar.gz
gentoo-2-eadc9e274be23ce990a70cd5e7863dc40f8ec891.tar.bz2
gentoo-2-eadc9e274be23ce990a70cd5e7863dc40f8ec891.zip
Include stdio.h for bug #451316.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-firewall/conntrack-tools')
-rw-r--r--net-firewall/conntrack-tools/ChangeLog7
-rw-r--r--net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild10
-rw-r--r--net-firewall/conntrack-tools/files/conntrack-tools-0.9.14-include.patch10
3 files changed, 22 insertions, 5 deletions
diff --git a/net-firewall/conntrack-tools/ChangeLog b/net-firewall/conntrack-tools/ChangeLog
index 1e5edbc47178..c4d6fd009c28 100644
--- a/net-firewall/conntrack-tools/ChangeLog
+++ b/net-firewall/conntrack-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/conntrack-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/ChangeLog,v 1.55 2013/04/25 13:31:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/ChangeLog,v 1.56 2013/04/25 14:14:01 jer Exp $
+
+ 25 Apr 2013; Jeroen Roovers <jer@gentoo.org>
+ +files/conntrack-tools-0.9.14-include.patch, conntrack-tools-0.9.14.ebuild:
+ Include stdio.h for bug #451316.
25 Apr 2013; Jeroen Roovers <jer@gentoo.org> conntrack-tools-1.4.1.ebuild,
+files/conntrack-tools-1.4.1-version.patch:
@@ -263,4 +267,3 @@
29 Jul 2007; Cédric Krier <cedk@gentoo.org> +files/conntrackd.confd,
+files/conntrackd.initd, +metadata.xml, +conntrack-tools-0.9.5.ebuild:
New ebuild, thanks to Olivier Huber, Natanael Copa
-
diff --git a/net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild b/net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild
index cc19d3c424bf..e41b1b58a995 100644
--- a/net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild
+++ b/net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild,v 1.8 2012/09/11 16:20:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/conntrack-tools-0.9.14.ebuild,v 1.9 2013/04/25 14:14:01 jer Exp $
EAPI="2"
-inherit linux-info eutils
+inherit eutils linux-info
DESCRIPTION="Connection tracking userspace tools"
HOMEPAGE="http://conntrack-tools.netfilter.org"
@@ -48,6 +48,10 @@ pkg_setup() {
"are not set when one at least should be."
}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-include.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
diff --git a/net-firewall/conntrack-tools/files/conntrack-tools-0.9.14-include.patch b/net-firewall/conntrack-tools/files/conntrack-tools-0.9.14-include.patch
new file mode 100644
index 000000000000..78a1db9d5c67
--- /dev/null
+++ b/net-firewall/conntrack-tools/files/conntrack-tools-0.9.14-include.patch
@@ -0,0 +1,10 @@
+--- a/src/parse.c
++++ b/src/parse.c
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <stdio.h> /* NULL */
+ #include "network.h"
+
+ #include <libnetfilter_conntrack/libnetfilter_conntrack.h>