Source: fritzing
Version: 0.9.3b+dfsg-4.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

fritzing fails to cross build from source, because it does not pass the
required cross flags (e.g. -specs) to qmake. The easiest way of doing so
is letting dh_auto_configure do it and that even works with cdbs. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru fritzing-0.9.3b+dfsg/debian/changelog 
fritzing-0.9.3b+dfsg/debian/changelog
--- fritzing-0.9.3b+dfsg/debian/changelog       2017-10-19 16:43:00.000000000 
+0200
+++ fritzing-0.9.3b+dfsg/debian/changelog       2018-01-08 19:56:36.000000000 
+0100
@@ -1,3 +1,10 @@
+fritzing (0.9.3b+dfsg-4.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass -specs to qmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 08 Jan 2018 19:56:36 +0100
+
 fritzing (0.9.3b+dfsg-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru fritzing-0.9.3b+dfsg/debian/rules 
fritzing-0.9.3b+dfsg/debian/rules
--- fritzing-0.9.3b+dfsg/debian/rules   2017-01-23 17:27:29.000000000 +0100
+++ fritzing-0.9.3b+dfsg/debian/rules   2018-01-08 19:56:34.000000000 +0100
@@ -16,6 +16,9 @@
 
 # Add here any variable or target overrides you need.
 
+$(DEB_BUILDDIR)/Makefile:
+       dh_auto_configure --builddirectory=$(DEB_BUILDDIR)
+
 binary-install/fritzing::
        convert $(DEBDIR)/fritzing/usr/share/pixmaps/fritzing_icon.png -resize 
32x32 \
                $(DEBDIR)/fritzing/usr/share/pixmaps/fritzing_icon.xpm

Reply via email to