From 9377e87a1053a64d4c44df7cd9337849f62e1415 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Dec 2010 17:37:59 +0000 Subject: [PATCH] [packages] collectd: fix bogus -ltdl dependency SVN-Revision: 24517 --- .../patches/002-fix-ltdl-linking.patch | 22 +++++++++++++++++++ .../100-rrdtool-add-rrasingle-option.patch | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 utils/collectd/patches/002-fix-ltdl-linking.patch diff --git a/utils/collectd/patches/002-fix-ltdl-linking.patch b/utils/collectd/patches/002-fix-ltdl-linking.patch new file mode 100644 index 0000000000..359ed910aa --- /dev/null +++ b/utils/collectd/patches/002-fix-ltdl-linking.patch @@ -0,0 +1,22 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -85,7 +85,7 @@ endif + + if BUILD_WITH_OWN_LIBOCONFIG + collectd_LDADD += $(LIBLTDL) liboconfig/liboconfig.la +-collectd_DEPENDENCIES += $(LIBLTDL) liboconfig/liboconfig.la ++collectd_DEPENDENCIES += liboconfig/liboconfig.la + else + collectd_LDADD += -loconfig + endif +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -57,7 +57,7 @@ bin_PROGRAMS = collectd-nagios$(EXEEXT) + @BUILD_WITH_LIBSTATGRAB_TRUE@am__append_13 = $(BUILD_WITH_LIBSTATGRAB_CFLAGS) + @BUILD_WITH_LIBSTATGRAB_TRUE@am__append_14 = $(BUILD_WITH_LIBSTATGRAB_LDFLAGS) + @BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_15 = $(LIBLTDL) liboconfig/liboconfig.la +-@BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_16 = $(LIBLTDL) liboconfig/liboconfig.la ++@BUILD_WITH_OWN_LIBOCONFIG_TRUE@am__append_16 = liboconfig/liboconfig.la + @BUILD_WITH_OWN_LIBOCONFIG_FALSE@am__append_17 = -loconfig + @BUILD_WITH_LIBSOCKET_TRUE@am__append_18 = -lsocket + @BUILD_AIX_TRUE@am__append_19 = -lm diff --git a/utils/collectd/patches/100-rrdtool-add-rrasingle-option.patch b/utils/collectd/patches/100-rrdtool-add-rrasingle-option.patch index ce1daa473f..fae96d011d 100644 --- a/utils/collectd/patches/100-rrdtool-add-rrasingle-option.patch +++ b/utils/collectd/patches/100-rrdtool-add-rrasingle-option.patch @@ -17,7 +17,7 @@ /* consolidation_functions = */ NULL, /* consolidation_functions_num = */ 0 }; -@@ -1027,6 +1030,14 @@ static int rrd_config (const char *key, +@@ -1027,6 +1030,14 @@ static int rrd_config (const char *key, free (value_copy); } -- 2.30.2