Source: fuzz
Version: 0.6-15
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

fuzz fails to cross build from source, because its ./configure is too
old to understand the --host flag passed by dh_auto_configure. It needs
to be run with a suitable CC environment variable. The attached patch
implements that and makes fuzz cross buildable. Please consider applying
it.

Helmut
diff --minimal -Nru fuzz-0.6/debian/changelog fuzz-0.6/debian/changelog
--- fuzz-0.6/debian/changelog   2016-10-19 08:16:45.000000000 +0200
+++ fuzz-0.6/debian/changelog   2019-05-19 20:02:40.000000000 +0200
@@ -1,3 +1,10 @@
+fuzz (0.6-15.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply CC to ./configure. (Closes: 
#-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 19 May 2019 20:02:40 +0200
+
 fuzz (0.6-15) unstable; urgency=medium
 
   * debian/control
diff --minimal -Nru fuzz-0.6/debian/rules fuzz-0.6/debian/rules
--- fuzz-0.6/debian/rules       2016-10-19 08:16:45.000000000 +0200
+++ fuzz-0.6/debian/rules       2019-05-19 20:02:39.000000000 +0200
@@ -4,6 +4,9 @@
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 %:
        dh $@
 

Reply via email to