Source: xxdiff
Version: 1:5.0~b1+git20200622+dfsg-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

xxdiff fails to cross build from source, because it uses the build
architecture qmake via src/Makefile.bootstrap. The relevant makefile
takes care to allow substitution, but nothing sets up the relevant QMAKE
variable. A simple solution is deferring this task to dpkg's
buildtools.mk. Please consider applying the attached patch to make
xxdiff cross buildable.

Helmut
--- xxdiff-5.0~b1+git20200622+dfsg/debian/changelog
+++ xxdiff-5.0~b1+git20200622+dfsg/debian/changelog
@@ -1,3 +1,11 @@
+xxdiff (1:5.0~b1+git20200622+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply a QMAKE to
+    src/Makefile.bootstrap. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 14 Dec 2020 16:51:20 +0100
+
 xxdiff (1:5.0~b1+git20200622+dfsg-2) unstable; urgency=medium
 
   * Run lintian-brush:
--- xxdiff-5.0~b1+git20200622+dfsg/debian/rules
+++ xxdiff-5.0~b1+git20200622+dfsg/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DPKG_EXPORT_BUILDTOOLS=1
+-include /usr/share/dpkg/buildtools.mk
 export QT_SELECT := 5
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 

Reply via email to