Source: funnelweb
Version: 3.2-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

funnelweb fails to cross build from source, because debian/rules hard
codes the build architecture compiler. The easiest way of determining
the correct compiler - using dpkg's buildtools.mk - makes funnelweb
cross buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru funnelweb-3.2/debian/changelog 
funnelweb-3.2/debian/changelog
--- funnelweb-3.2/debian/changelog      2013-09-08 18:50:14.000000000 +0200
+++ funnelweb-3.2/debian/changelog      2019-05-28 16:05:02.000000000 +0200
@@ -1,3 +1,10 @@
+funnelweb (3.2-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Seed CC from dpkg's buildtools.mk. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 28 May 2019 16:05:02 +0200
+
 funnelweb (3.2-5) unstable; urgency=low
 
   * Acknowledge NMUs.
diff --minimal -Nru funnelweb-3.2/debian/rules funnelweb-3.2/debian/rules
--- funnelweb-3.2/debian/rules  2013-09-08 18:48:45.000000000 +0200
+++ funnelweb-3.2/debian/rules  2019-05-28 16:05:01.000000000 +0200
@@ -7,7 +7,7 @@
 tmpdir=$(debdir)/$(PACKAGE)
 docdir=$(tmpdir)/usr/share/doc/$(PACKAGE)
 
-CC       ?= gcc
+-include /usr/share/dpkg/buildtools.mk
 CPPFLAGS ?= $(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS   ?= $(shell dpkg-buildflags --get CFLAGS) -fno-strict-aliasing
 LDFLAGS  ?= $(shell dpkg-buildflags --get LDFLAGS)

Reply via email to