Code

rules: Use -Wno-error=deprecated-declarations for now. collectd-5.4.1-1
authorSebastian Harl <sh@tokkee.org>
Tue, 28 Jan 2014 21:27:30 +0000 (22:27 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 28 Jan 2014 21:27:30 +0000 (22:27 +0100)
This is to suppress libdbi deprecation warnings. They would else cause build
failures due to -Werror.

debian/changelog
debian/rules

index 507e41dcd8a37e0e20c4c59edfa419b4bbae0942..9b832122f2b5aaea3c952ebe9b7f647ed029da2f 100644 (file)
@@ -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 <tokkee@debian.org>  Tue, 28 Jan 2014 21:47:00 +0100
 
index 0d6969907d9d362ec0493a58e2de86d22cec3ea1..6b8b6d2e77e1fef3bbc241caef80087bfb773181 100755 (executable)
@@ -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