[Dctrl-tools-devel] [SCM] Debian control file query tools branch, maint-2.22, updated. 2.22.1-3-g8a55406

Antti-Juhani Kaijanaho ajk at debian.org
Sun Jun 3 18:01:58 UTC 2012


The following commit has been merged in the maint-2.22 branch:
commit 8a554068a2ee23a713a587b70dff3a5679d7d584
Author: Antti-Juhani Kaijanaho <ajk at debian.org>
Date:   Sun Jun 3 20:39:07 2012 +0300

    Fix #674836 (Builds with wrong CFLAGS)
    
     - Upgrade debhelper mode to 9.
     - Work around debhelper bug 674912 by defining the default CFLAGS
       using ?= in GNUmakefile.
     - As pointed out by Jonathan Nieder in private mail, -Werror is not
       a good idea in package builds (it may cause unnecessary FTBFS
       breakage in the future as the toolchain and libraries change).
    
    Signed-off-by: Antti-Juhani Kaijanaho <ajk at debian.org>

diff --git a/GNUmakefile b/GNUmakefile
index 3a25b8e..ea3fd1d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -14,8 +14,8 @@ man8dir = $(mandir)/man8
 localedir = $(datarootdir)/locale
 
 CC = gcc 
-CFLAGS = -g -Wall -Werror
-ALL_CFLAGS = $(CFLAGS) -std=gnu99 -Ilib \
+CFLAGS ?= -g -O2 -Wall -Werror
+ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS) -std=gnu99 -Ilib \
 	 -DENABLE_L_DEBUG -D_GNU_SOURCE -DSYSCONF=\"$(sysconfdir)\" \
          -DHAVE_GETTEXT -DPACKAGE=\"dctrl-tools\" -DLOCALEDIR=\"$(localedir)\" 
 
diff --git a/debian/changelog b/debian/changelog
index 7a860e8..69749a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 dctrl-tools (2.22.2) UNRELEASED; urgency=low
 
-  * 
-
- -- Antti-Juhani Kaijanaho <ajk at debian.org>  Mon, 28 May 2012 18:05:31 +0300
+  * Closes: #674836 (Builds with wrong CFLAGS), reported by me:
+     - Upgrade debhelper mode to 9.
+     - Work around debhelper bug 674912 by defining the default CFLAGS
+       using ?= in GNUmakefile.
+     - As pointed out by Jonathan Nieder in private mail, -Werror is not
+       a good idea in package builds (it may cause unnecessary FTBFS
+       breakage in the future as the toolchain and libraries change).
+
+ -- Antti-Juhani Kaijanaho <ajk at debian.org>  Mon, 28 May 2012 19:36:34 +0300
 
 dctrl-tools (2.22.1) unstable; urgency=low
 
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 16b2d41..be23847 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: dctrl-tools developers <dctrl-tools-devel at lists.alioth.debian.org>
 Uploaders: Antti-Juhani Kaijanaho <ajk at debian.org>
 Standards-Version: 3.9.3
-Build-Depends: gettext (>= 0.11-0), gcc (>= 3.0), debhelper (>= 8), po4a (>= 0.40)
+Build-Depends: gettext (>= 0.11-0), gcc (>= 3.0), debhelper (>= 9), po4a (>= 0.40)
 Vcs-Git: git://git.debian.org/git/collab-maint/dctrl-tools.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/dctrl-tools.git;a=summary
 

-- 
Debian control file query tools



More information about the Dctrl-tools-devel mailing list