Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/iptables/files: iptables-1.4.17-libip6tc.patch
Date: Sun, 30 Dec 2012 23:11:19
Message-Id: 20121230231107.B498720081@flycatcher.gentoo.org
1 vapier 12/12/30 23:11:07
2
3 Added: iptables-1.4.17-libip6tc.patch
4 Log:
5 Link against local libip6tc #449262 by Mike Gilbert.
6
7 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
8
9 Revision Changes Path
10 1.1 net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/files/iptables-1.4.17-libip6tc.patch?rev=1.1&content-type=text/plain
14
15 Index: iptables-1.4.17-libip6tc.patch
16 ===================================================================
17 From d42bc7c100de69396a527e90736198f8e4e3000b Mon Sep 17 00:00:00 2001
18 From: Mike Frysinger <vapier@g.o>
19 Date: Sun, 30 Dec 2012 18:06:15 -0500
20 Subject: [PATCH] extensions: fix linking against -lip6tc
21
22 The current build forgets to specify a path to find libip6tc which means
23 it either fails (if there is no libip6tc in the system), or links against
24 an old version (if there is one in the system).
25
26 References: https://bugs.gentoo.org/449262
27 Reported-by: Mike Gilbert <floppym@g.o>
28 Signed-off-by: Mike Frysinger <vapier@g.o>
29 ---
30 extensions/GNUmakefile.in | 2 +-
31 1 file changed, 1 insertion(+), 1 deletion(-)
32
33 diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
34 index e71e3ff..a605474 100644
35 --- a/extensions/GNUmakefile.in
36 +++ b/extensions/GNUmakefile.in
37 @@ -101,7 +101,7 @@ libxt_state.so: libxt_conntrack.so
38 ln -fs $< $@
39
40 # Need the LIBADDs in iptables/Makefile.am too for libxtables_la_LIBADD
41 -ip6t_NETMAP_LIBADD = -lip6tc
42 +ip6t_NETMAP_LIBADD = -L../libiptc/.libs -lip6tc
43 xt_RATEEST_LIBADD = -lm
44 xt_statistic_LIBADD = -lm
45
46 --
47 1.8.0