Source: jzip
Version: 210r20001005d-4
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

jzip fails to cross build from source, because it uses the build
architecture compiler as a make default. dpkg's buildtools.mk properly
sets up the CC variable and the attached patch implements that. Please
consider applying it.

Helmut
diff --minimal -Nru jzip-210r20001005d/debian/changelog 
jzip-210r20001005d/debian/changelog
--- jzip-210r20001005d/debian/changelog 2016-01-19 06:31:49.000000000 +0100
+++ jzip-210r20001005d/debian/changelog 2019-05-05 11:35:52.000000000 +0200
@@ -1,3 +1,10 @@
+jzip (210r20001005d-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply CC. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 05 May 2019 11:35:52 +0200
+
 jzip (210r20001005d-4) unstable; urgency=low
 
   * Update Description to list other Z-Code interpreters.
diff --minimal -Nru jzip-210r20001005d/debian/rules 
jzip-210r20001005d/debian/rules
--- jzip-210r20001005d/debian/rules     2016-01-19 06:31:49.000000000 +0100
+++ jzip-210r20001005d/debian/rules     2019-05-05 11:35:52.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-CC ?= gcc
+-include /usr/share/dpkg/buildtools.mk
 
 %:
        dh $@

Reply via email to