- fix building iptables plugin
[packages/collectd.git] / libiptc.patch
1 --- collectd-5.0.0/src/Makefile.am.wiget        2011-08-15 21:03:20.991041776 +0200
2 +++ collectd-5.0.0/src/Makefile.am      2011-08-15 21:03:47.589811740 +0200
3 @@ -438,7 +438,7 @@ pkglib_LTLIBRARIES += iptables.la
4  iptables_la_SOURCES = iptables.c
5  iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS)
6  iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS)
7 -iptables_la_LIBADD = -liptc
8 +iptables_la_LIBADD = -lip4tc -lip6tc
9  collectd_LDADD += "-dlopen" iptables.la
10  collectd_DEPENDENCIES += iptables.la
11  endif
12 --- collectd-5.0.0/configure.in.wiget   2011-08-15 20:04:29.574726374 +0200
13 +++ collectd-5.0.0/configure.in 2011-08-15 20:07:58.895465067 +0200
14 @@ -1814,7 +1814,7 @@ fi
15  # Check for the iptc_init symbol in the library.
16  if test "x$with_libiptc" = "xyes"
17  then
18 -       AC_CHECK_LIB(iptc, iptc_init,
19 +       AC_CHECK_LIB(ip4tc, iptc_init,
20                      [with_libiptc="yes"],
21                      [with_libiptc="no (symbol 'iptc_init' not found)"])
22  fi
This page took 0.029542 seconds and 3 git commands to generate.