Source: pgpgpg
Version: 0.13-9.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

pgpgpg fails to cross build from source, because it uses the build
architecture compiler. Exporting a suitably prefixed CC fixes that.
Please consider applying the attached patch.

Helmut
diff -u pgpgpg-0.13/debian/changelog pgpgpg-0.13/debian/changelog
--- pgpgpg-0.13/debian/changelog
+++ pgpgpg-0.13/debian/changelog
@@ -1,3 +1,10 @@
+pgpgpg (0.13-9.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export triplet-prefixed CC (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 08 Aug 2017 08:02:39 +0200
+
 pgpgpg (0.13-9.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u pgpgpg-0.13/debian/rules pgpgpg-0.13/debian/rules
--- pgpgpg-0.13/debian/rules
+++ pgpgpg-0.13/debian/rules
@@ -4,6 +4,12 @@
 # untested command fails.
 SHELL+= -e
 
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+export CC
+
 #export DH_VERBOSE=1
 
 build:

Reply via email to