Source: zdbsp
Version: 1.19+20181027+dfsg.1-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

zdbsp fails to cross build from source, because it confuses build vs
host. Refer to man dpkg-architecture for more information. The attached
patch makes zdbsp cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru zdbsp-1.19+20181027+dfsg.1/debian/changelog 
zdbsp-1.19+20181027+dfsg.1/debian/changelog
--- zdbsp-1.19+20181027+dfsg.1/debian/changelog 2018-11-18 20:03:48.000000000 
+0100
+++ zdbsp-1.19+20181027+dfsg.1/debian/changelog 2019-04-28 14:50:47.000000000 
+0200
@@ -1,3 +1,10 @@
+zdbsp (1.19+20181027+dfsg.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 28 Apr 2019 14:50:47 +0200
+
 zdbsp (1.19+20181027+dfsg.1-2) unstable; urgency=medium
 
   * Refinements and corrections to debian/copyright
diff --minimal -Nru zdbsp-1.19+20181027+dfsg.1/debian/rules 
zdbsp-1.19+20181027+dfsg.1/debian/rules
--- zdbsp-1.19+20181027+dfsg.1/debian/rules     2018-02-02 14:58:17.000000000 
+0100
+++ zdbsp-1.19+20181027+dfsg.1/debian/rules     2019-04-28 14:50:46.000000000 
+0200
@@ -18,5 +18,5 @@
        dh $@
 
 override_dh_auto_install:
-       install -D obj-$(DEB_BUILD_GNU_TYPE)/zdbsp debian/zdbsp/usr/bin/zdbsp
+       install -D obj-$(DEB_HOST_GNU_TYPE)/zdbsp debian/zdbsp/usr/bin/zdbsp
        dh_install

Reply via email to