summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ff8a9c2)
raw | patch | inline | side by side (parent: ff8a9c2)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 27 Sep 2014 19:55:04 +0000 (19:55 +0000) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 27 Sep 2014 19:56:42 +0000 (19:56 +0000) |
This is to work around an error resulting from a redefined macro in
PostgreSQL's pg_config_manual.h.
Thanks to Ivo De Decker for reporting this.
Closes: #760719
PostgreSQL's pg_config_manual.h.
Thanks to Ivo De Decker for reporting this.
Closes: #760719
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index fb49335c94ae007afc90b0727c634032445564df..5d18ccff3eecf2340b3f3c06374c105983d0b556 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+collectd (5.4.1-4) UNRELEASED; urgency=medium
+
+ * debian/rules:
+ - Disable preprocessor warnings on kfreebsd to work around an error
+ resulting from a redefined macro in PostgreSQL's pg_config_manual.h;
+ thanks to Ivo De Decker for reporting this (Closes: #760719).
+
+ -- Sebastian Harl <tokkee@debian.org> Sat, 27 Sep 2014 19:51:49 +0000
+
collectd (5.4.1-3) unstable; urgency=medium
* debian/control:
diff --git a/debian/rules b/debian/rules
index 11ef4ccdd3c3a90e013afef2717b268acb4ba6f4..168bb186b6fd9a14c35ce78417a8fa19e2108e99 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CPPFLAGS += -UCONFIGFILE
CPPFLAGS += -DCONFIGFILE='\"/etc/collectd/collectd.conf\"'
+# A PostgreSQL header redefines CACHE_LINE_SIZE on FreeBSD.
+# Cf. https://bugs.debian.org/760719 and https://bugs.debian.org/763098
+ifeq (,$(filter kfreebsd-i386 kfreebsd-amd64, $(DEB_BUILD_ARCH)))
+ CPPFLAGS += -Wp,-w
+endif
+
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
# The archdir map has been copied from openjdk-6's debian/rules.