Bug#778176: add patch
Control: tags -1 + patch
diff -Nru x11-xserver-utils-7.7+2ubuntu1/debian/changelog
x11-xserver-utils-7.7+2ubuntu2/debian/changelog
--- x11-xserver-utils-7.7+2ubuntu1/debian/changelog 2014-02-14
10:06:10.000000000 +0000
+++ x11-xserver-utils-7.7+2ubuntu2/debian/changelog 2015-03-06
16:51:48.000000000 +0000
@@ -1,3 +1,9 @@
+x11-xserver-utils (7.7+2ubuntu2) vivid; urgency=medium
+
+ * Fix build with GCC 5.
+
+ -- Matthias Klose <doko@ubuntu.com> Fri, 06 Mar 2015 17:51:25 +0100
+
x11-xserver-utils (7.7+2ubuntu1) trusty; urgency=low
* Add breaks/replaces on the lts packages. (LP: #1280155)
diff -Nru x11-xserver-utils-7.7+2ubuntu1/debian/rules
x11-xserver-utils-7.7+2ubuntu2/debian/rules
--- x11-xserver-utils-7.7+2ubuntu1/debian/rules 2014-02-14 09:42:44.000000000 +0000
+++ x11-xserver-utils-7.7+2ubuntu2/debian/rules 2015-03-06 16:57:36.000000000 +0000
@@ -24,6 +24,8 @@
LDFLAGS = `dpkg-buildflags --get LDFLAGS`
CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+export CPP := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)-gcc -E -P
+
%:
dh $@ --with autoreconf,quilt --parallel
Reply to: