Package: collectd
Version: 5.7.1-1.1
Followup-For: Bug #871062
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch

Dear maintainers,

The attached one-liner patch corrects this build failure by simply ignoring
the (IMHO uninteresting) new gcc-7 warning.  I think this is a reasonable
way to handle this until it gets fixed upstream.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru collectd-5.7.1/debian/rules collectd-5.7.1/debian/rules
--- collectd-5.7.1/debian/rules 2017-01-23 00:12:27.000000000 -0800
+++ collectd-5.7.1/debian/rules 2017-08-14 21:06:24.000000000 -0700
@@ -17,7 +17,7 @@
 CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
 CPPFLAGS += -I$(CURDIR)/debian/include
 CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
-CFLAGS += -Wall -Wno-error=deprecated-declarations
+CFLAGS += -Wall -Wno-error=deprecated-declarations -Wno-error=format-truncation
 
 # Upstream defaults to ${sysconfdir}/collectd.conf. Setting ${sysconfdir} to
 # /etc/collectd would be wrong though.

Reply via email to