summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d194656)
raw | patch | inline | side by side (parent: d194656)
author | Marc Fournier <marc@bl.uem.li> | |
Fri, 23 Feb 2018 08:28:37 +0000 (09:28 +0100) | ||
committer | Marc Fournier <marc@bl.uem.li> | |
Fri, 23 Feb 2018 08:28:37 +0000 (09:28 +0100) |
debian/changelog | patch | blob | history | |
debian/patches/liblvm2app_depreciation_warning.patch | [new file with mode: 0644] | patch | blob |
debian/patches/series | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 82e25a067804fd3753d20b52be61a03561f6ce85..7c9a0efbc241f432b860ddc13fd4293ecda792ec 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* debian/patches:
- Added i2c_detection.patch; needed to build against libi2c-4.0. Thanks to
Christian Ehrhardt fo reporting this problem and Andreas Hasenack for
- providing a patch.
- (Closes: #886920)
+ providing a patch. (Closes: #886920)
+ - Added liblvm2app_depreciation_warning.patch; allows the the plugin to
+ build despite liblvm2app depreciation. Thanks to Christian Ehrhardt for
+ suggesting this workaround. (Closes: #881641)
- Added rd_kafka_last_error.patch; needed to build against
librdkafka-0.11.0. Thanks to Pavel Rochnyack for providing a patch.
- Removed dpdk-pkg-config.patch; included upstream.
diff --git a/debian/patches/liblvm2app_depreciation_warning.patch b/debian/patches/liblvm2app_depreciation_warning.patch
--- /dev/null
@@ -0,0 +1,17 @@
+Description: mute liblvm2app depreciation warning
+Forwarded: https://github.com/collectd/collectd/issues/2647
+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881641
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1042,7 +1042,7 @@ endif
+ if BUILD_PLUGIN_LVM
+ pkglib_LTLIBRARIES += lvm.la
+ lvm_la_SOURCES = src/lvm.c
+-lvm_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBLVM2APP_CPPFLAGS)
++lvm_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBLVM2APP_CPPFLAGS) -Wno-cpp
+ lvm_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBLVM2APP_LDFLAGS)
+ lvm_la_LIBADD = $(BUILD_WITH_LIBLVM2APP_LIBS)
+ endif
+
diff --git a/debian/patches/series b/debian/patches/series
index 8041789e28d092aba792ed5b790ca6a230b15a4f..5e007636e85ea58f42ca51d8e788269debf95b6b 100644 (file)
--- a/debian/patches/series
+++ b/debian/patches/series
nagios-debian-paths.patch
rd_kafka_last_error.patch
i2c_detection.patch
+liblvm2app_depreciation_warning.patch