Control: tag -1 + patch pending

Hi,

On Thu, 12 Feb 2015, Matthias Klose wrote:
> The package fails to build in a test rebuild on at least amd64 with
> gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The

It's easy to get the package to build again by passing -std=gnu89
and I commited such a fix in the git repository (see patch further down).

Obviously it's also possible to fix the codebase to be C11 compatible
(from experience on another package it's mainly a matter of adding the
required forward declaration of functions) but since you already informed
upstream about this, I believe this short term solution is more than enough
to get the package back in testing.

François, can you review and upload the fixed package or do you want me to
upload it?

Committed patch:

--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
 spectools (201108r1-5) UNRELEASED; urgency=medium
 
+  [ Francois Marier ]
   * Run wrap-and-sort
 
+  [ Raphaël Hertzog ]
+  * Pass "-std=gnu89" to gcc to avoid build failures due to gcc now defaulting
+    to C11. Closes: #778128
+
  -- Francois Marier <franc...@debian.org>  Tue, 26 May 2015 16:23:07 +1200
 
 spectools (201108r1-4) unstable; urgency=medium
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+# Until codebase is compatible with ISO C11 (see #778128)
+export DEB_CFLAGS_MAINT_PREPEND=-std=gnu89
+
 %:
        dh $@
 
Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to