Source: fontforge-extras
Version: 0.3-4
Tags: patch
User: [email protected]
Usertags: rebootstrap

fontforge-extras fails to cross build from source, because it uses the
make default of CC as compiler. Letting dpkg's buildtools.mk initializes
CC with a cross compiler fixes that and makes fontforge-extras cross
buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru fontforge-extras-0.3/debian/changelog 
fontforge-extras-0.3/debian/changelog
--- fontforge-extras-0.3/debian/changelog       2013-09-30 00:13:47.000000000 
+0200
+++ fontforge-extras-0.3/debian/changelog       2018-06-09 21:13:34.000000000 
+0200
@@ -1,3 +1,10 @@
+fontforge-extras (0.3-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk set up CC. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 09 Jun 2018 21:13:34 +0200
+
 fontforge-extras (0.3-4) unstable; urgency=low
 
   * Team upload.
diff --minimal -Nru fontforge-extras-0.3/debian/rules 
fontforge-extras-0.3/debian/rules
--- fontforge-extras-0.3/debian/rules   2013-09-30 00:13:47.000000000 +0200
+++ fontforge-extras-0.3/debian/rules   2018-06-09 21:13:32.000000000 +0200
@@ -2,6 +2,7 @@
 #export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+-include /usr/share/dpkg/buildtools.mk
 
 %:
        dh $@

Reply via email to