Source: qtimageformats-opensource-src
Version: 5.9.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

qtimageformats-opensource-src fails to cross build from source, because
it does not pass cross tools to qmake. Deferring that task to
dh_auto_configure makes the configure step (but not the build step)
succeed. Please consider applying the attached patch.

Helmut
diff --minimal -Nru qtimageformats-opensource-src-5.9.2/debian/changelog 
qtimageformats-opensource-src-5.9.2/debian/changelog
--- qtimageformats-opensource-src-5.9.2/debian/changelog        2017-10-27 
20:21:14.000000000 +0200
+++ qtimageformats-opensource-src-5.9.2/debian/changelog        2017-11-14 
06:11:22.000000000 +0100
@@ -1,3 +1,10 @@
+qtimageformats-opensource-src (5.9.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_auto_configure pass cross tools to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 14 Nov 2017 06:11:22 +0100
+
 qtimageformats-opensource-src (5.9.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru qtimageformats-opensource-src-5.9.2/debian/rules 
qtimageformats-opensource-src-5.9.2/debian/rules
--- qtimageformats-opensource-src-5.9.2/debian/rules    2017-10-27 
20:21:14.000000000 +0200
+++ qtimageformats-opensource-src-5.9.2/debian/rules    2017-11-14 
06:11:17.000000000 +0100
@@ -12,7 +12,7 @@
        dh $@
 
 override_dh_auto_configure:
-       qmake QT_BUILD_PARTS+=tests
+       dh_auto_configure -- QT_BUILD_PARTS+=tests
 
 override_dh_auto_install:
        dh_auto_install

Reply via email to