Source: ttyload
Version: 0.5+20131024+gitf949537-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

ttyload fails to cross build from source, because debian/rules uses the
build architecture compiler as a make default. An easy way to fix that
is letting dpkg's buildtools.mk supply the CC variable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru ttyload-0.5+20131024+gitf949537/debian/changelog 
ttyload-0.5+20131024+gitf949537/debian/changelog
--- ttyload-0.5+20131024+gitf949537/debian/changelog    2019-01-23 
20:28:42.000000000 +0100
+++ ttyload-0.5+20131024+gitf949537/debian/changelog    2020-04-15 
09:45:07.000000000 +0200
@@ -1,3 +1,10 @@
+ttyload (0.5+20131024+gitf949537-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 15 Apr 2020 09:45:07 +0200
+
 ttyload (0.5+20131024+gitf949537-2) unstable; urgency=medium
 
   * Update patch headers
diff --minimal -Nru ttyload-0.5+20131024+gitf949537/debian/rules 
ttyload-0.5+20131024+gitf949537/debian/rules
--- ttyload-0.5+20131024+gitf949537/debian/rules        2019-01-23 
20:28:42.000000000 +0100
+++ ttyload-0.5+20131024+gitf949537/debian/rules        2020-04-15 
09:45:06.000000000 +0200
@@ -2,6 +2,8 @@
 
 PACKAGE = ttyload
 
+-include /usr/share/dpkg/buildtools.mk
+
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

Reply via email to