Source: giftrans
Version: 1.12.2-19
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

giftrans fails to cross build from source, because debian/rules uses the
build architecture compiler as a make default. The easiest way of fixing
that - seeding $(CC) from dpkg's buildtools.mk - makes giftrans cross
buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru giftrans-1.12.2/debian/changelog 
giftrans-1.12.2/debian/changelog
--- giftrans-1.12.2/debian/changelog    2015-08-05 19:18:47.000000000 +0200
+++ giftrans-1.12.2/debian/changelog    2019-05-12 20:12:47.000000000 +0200
@@ -1,3 +1,9 @@
+giftrans (1.12.2-20) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 12 May 2019 20:12:47 +0200
+
 giftrans (1.12.2-19) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru giftrans-1.12.2/debian/rules giftrans-1.12.2/debian/rules
--- giftrans-1.12.2/debian/rules        2015-08-04 23:06:04.000000000 +0200
+++ giftrans-1.12.2/debian/rules        2019-05-12 20:12:46.000000000 +0200
@@ -2,6 +2,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+-include /usr/share/dpkg/buildtools.mk
+
 %:
        dh $@
 

Reply via email to