From 144d778b1074fd0f1a680b0d64a547a699c8f067 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 28 Jan 2014 22:27:30 +0100 Subject: [PATCH] rules: Use -Wno-error=deprecated-declarations for now. This is to suppress libdbi deprecation warnings. They would else cause build failures due to -Werror. --- debian/changelog | 3 +++ debian/rules | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 507e41d..9b83212 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,9 @@ collectd (5.4.1-1) unstable; urgency=medium - Removed amqp_0_4.dpatch; merged upstream. * debian/control: - Updated standards-version to 3.9.5; no changes. + * debian/rules: + - Use -Wno-error=deprecated-declarations to suppress libdbi deprecation + warnings for now; they would else cause build failures due to -Werror. -- Sebastian Harl Tue, 28 Jan 2014 21:47:00 +0100 diff --git a/debian/rules b/debian/rules index 0d69699..6b8b6d2 100755 --- a/debian/rules +++ b/debian/rules @@ -17,7 +17,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) CPPFLAGS += -I$(CURDIR)/debian/include CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -CFLAGS += -Wall +CFLAGS += -Wall -Wno-error=deprecated-declarations # There is no way to tell lt_dlopen() to use the RTLD_GLOBAL flag which is # however required by the perl plugin (which would otherwise be unable to find -- 2.30.2