Source: athena-jot
Version: 9.0-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

athena-jot fails to cross build from source, because it configures for
the build architecture. Usually, this is fixed by using
dh_auto_configure, but athena-jot already does so. As it happens, its
configure is too old to understand the --host flag and needs to be told
about the cross compiler via the environment. The attached patch makes
athena-jot cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru athena-jot-9.0/debian/changelog 
athena-jot-9.0/debian/changelog
--- athena-jot-9.0/debian/changelog     2017-11-06 20:17:30.000000000 +0100
+++ athena-jot-9.0/debian/changelog     2019-05-11 07:06:44.000000000 +0200
@@ -1,3 +1,11 @@
+athena-jot (9.0-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk provide a CC to ./configure.
+    (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 11 May 2019 07:06:44 +0200
+
 athena-jot (9.0-7) unstable; urgency=medium
 
   * Removed autotools-dev use, now obsolete.
diff --minimal -Nru athena-jot-9.0/debian/rules athena-jot-9.0/debian/rules
--- athena-jot-9.0/debian/rules 2017-11-06 20:17:30.000000000 +0100
+++ athena-jot-9.0/debian/rules 2019-05-11 07:06:43.000000000 +0200
@@ -6,6 +6,9 @@
 # see FEATURE AREAS in dpkg-buildflags(1)
 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 %:
        dh $@
 

Reply via email to