From 3e85016ae518b66a2f5a8647e6e696bd507293b0 Mon Sep 17 00:00:00 2001 From: blekot Date: Mon, 7 May 2012 17:55:06 +0000 Subject: [PATCH] - up to 5.1.0 Changed files: libiptc.patch -> 1.3 --- libiptc.patch | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/libiptc.patch b/libiptc.patch index e2dd69c..80cc2aa 100644 --- a/libiptc.patch +++ b/libiptc.patch @@ -1,22 +1,11 @@ ---- ./configure.in.org 2011-10-22 21:33:31.473232680 +0200 -+++ ./configure.in 2011-10-22 21:35:52.456386679 +0200 -@@ -1835,7 +1835,7 @@ fi - # Check for the iptc_init symbol in the library. - if test "x$with_libiptc" = "xyes" && test "x$with_own_libiptc" = "xno" - then -- AC_CHECK_LIB(iptc, iptc_init, -+ AC_CHECK_LIB(ip4tc, iptc_init, - [ - AC_DEFINE(HAVE_LIBIPTC, 1, [Define to 1 if you have the iptc library (-liptc).]) - ], ---- ./src/Makefile.am.org 2011-10-22 21:38:17.816408886 +0200 -+++ ./src/Makefile.am 2011-10-22 21:41:01.187261584 +0200 -@@ -445,7 +445,7 @@ if BUILD_WITH_OWN_LIBIPTC - iptables_la_LIBADD = owniptc/libiptc.la - iptables_la_DEPENDENCIES = owniptc/libiptc.la - else +--- src/Makefile.am.orig 2012-05-07 18:58:56.000000000 +0200 ++++ src/Makefile.am 2012-05-07 19:05:57.000000000 +0200 +@@ -447,7 +447,7 @@ + iptables_la_SOURCES = iptables.c + iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS) + iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS) -iptables_la_LIBADD = -liptc +iptables_la_LIBADD = -lip4tc -lip6tc - endif collectd_LDADD += "-dlopen" iptables.la collectd_DEPENDENCIES += iptables.la + endif -- 2.44.0