Source: untex
Version: 1:1.2-6
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

untex fails to cross build from source, because it uses the build
architecture compiler as a makefile default $(CC). Including dpkg's
buildtools.mk fixes that. Please consider applying the attached patch to
make untex cross buildable.

Helmut
diff --minimal -Nru untex-1.2/debian/changelog untex-1.2/debian/changelog
--- untex-1.2/debian/changelog  2016-10-20 16:01:26.000000000 +0200
+++ untex-1.2/debian/changelog  2018-05-24 20:43:57.000000000 +0200
@@ -1,3 +1,10 @@
+untex (1:1.2-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Get $(CC) from buildtools.mk. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 24 May 2018 20:43:57 +0200
+
 untex (1:1.2-6) unstable; urgency=medium
 
   * debian/control
diff --minimal -Nru untex-1.2/debian/rules untex-1.2/debian/rules
--- untex-1.2/debian/rules      2016-10-20 16:01:26.000000000 +0200
+++ untex-1.2/debian/rules      2018-05-24 20:43:56.000000000 +0200
@@ -6,6 +6,8 @@
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+-include /usr/share/dpkg/buildtools.mk
+
 override_dh_auto_install:
        # Skip. See debian/install
 

Reply via email to