From dcfc7866c222f0b027d9e077ded7e0f9cfbf69a1 Mon Sep 17 00:00:00 2001 From: Rhonda D'Vine Date: Tue, 30 Jun 2015 19:48:54 +0200 Subject: [PATCH] Add -std=gnu89 to CFLAGS to fix FTBFS with gcc-5 --- debian/changelog | 7 +++++++ debian/control | 2 +- debian/rules | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0f9aae3..434bcd9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +abook (0.6.0~pre2-4) unstable; urgency=low + + * Add -std=gnu89 to CFLAGS as suggested by Martin Michlmayr to fix FTBFS + with gcc-5, thanks (closes: #777764) + + -- + abook (0.6.0~pre2-3) unstable; urgency=low * Overlooked NMU done by Tim Retout while merging from experimental to diff --git a/debian/control b/debian/control index 825691b..87aa7a8 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: abook Section: mail Priority: optional -Maintainer: Gerfried Fuchs +Maintainer: Rhonda D'Vine Standards-Version: 3.9.3 Build-Depends: libncursesw5-dev, libreadline6-dev | libreadline-dev, po-debconf, quilt (>= 0.40), autotools-dev diff --git a/debian/rules b/debian/rules index 987ee26..4404460 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ TMP = $(CURDIR)/debian/$(PKG) QUILT_STAMPFN = patch-stamp include /usr/share/quilt/quilt.make -CFLAGS = -g -Wall +CFLAGS = -g -Wall -std=gnu89 INSTALL = install INSTALL_FILE = $(INSTALL) -p -oroot -groot -m644 INSTALL_PROGRAM = $(INSTALL) -p -oroot -groot -m755 -- 2.39.2