Source: asmail
Version: 2.1-4
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

asmail fails to cross build from source, because it configures for the
build architecture. Unfortunately, the ./configure is so ancient that
dh_auto_configure won't fix that. Exporting a suitable CC does the trick
though. Please consider applying the attached patch.

Helmut
diff -u asmail-2.1/debian/changelog asmail-2.1/debian/changelog
--- asmail-2.1/debian/changelog
+++ asmail-2.1/debian/changelog
@@ -1,3 +1,10 @@
+asmail (2.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export a suitable CC for ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 02 May 2019 06:16:16 +0200
+
 asmail (2.1-4) unstable; urgency=low
 
   * Fix crash if starting without HOME variable set (closes: #715652)
diff -u asmail-2.1/debian/rules asmail-2.1/debian/rules
--- asmail-2.1/debian/rules
+++ asmail-2.1/debian/rules
@@ -5,6 +5,8 @@
 
 DPKG_EXPORT_BUILDFLAGS=1
 include /usr/share/dpkg/buildflags.mk
+-include /usr/share/dpkg/buildtools.mk
+export CC
 
 build: build-arch build-indep
 build-arch: build-stamp

Reply via email to