aboutsummaryrefslogtreecommitdiffstats
path: root/main/collectd/collectd-4.10.3-iptc-check.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-17 11:32:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-17 11:33:22 +0000
commitb4bc4bb052ae4b730f3435c125e28b6101dfc494 (patch)
tree7b07f49f4d3e6060b4099ae1937d14db3080bebf /main/collectd/collectd-4.10.3-iptc-check.patch
parentba887a1eb683ddfff2e28e9cbb7633241b53c6a5 (diff)
downloadaports-b4bc4bb052ae4b730f3435c125e28b6101dfc494.tar.bz2
aports-b4bc4bb052ae4b730f3435c125e28b6101dfc494.tar.xz
main/collectd: use system libip4tc
Diffstat (limited to 'main/collectd/collectd-4.10.3-iptc-check.patch')
-rw-r--r--main/collectd/collectd-4.10.3-iptc-check.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/collectd/collectd-4.10.3-iptc-check.patch b/main/collectd/collectd-4.10.3-iptc-check.patch
new file mode 100644
index 0000000000..4358e7f094
--- /dev/null
+++ b/main/collectd/collectd-4.10.3-iptc-check.patch
@@ -0,0 +1,20 @@
+--- ./configure.orig 2011-03-26 17:09:34.000000000 +0100
++++ ./configure 2011-03-29 14:23:54.647074988 +0200
+@@ -36343,13 +36343,13 @@
+ # Check for the iptc_init symbol in the library.
+ if test "x$with_libiptc" = "xyes" && test "x$with_own_libiptc" = "xno"
+ then
+- { echo "$as_me:$LINENO: checking for iptc_init in -liptc" >&5
+-echo $ECHO_N "checking for iptc_init in -liptc... $ECHO_C" >&6; }
+-if test "${ac_cv_lib_iptc_iptc_init+set}" = set; then
++ { echo "$as_me:$LINENO: checking for iptc_init in -lip4tc" >&5
++echo $ECHO_N "checking for iptc_init in -lip4tc... $ECHO_C" >&6; }
++if test "${ac_cv_lib_ip4tc_iptc_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-liptc $LIBS"
++LIBS="-liptc -lip6tc -lip4tc $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF