Source: libspnav
Version: 0.2.3-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

libspnav fails to cross build from source, because it uses the build
architecture compiler. Unlike autotools based projects, its configure
ignores the --host switch. Forcing the makefile buildsystem causes
debhelper to pass cross compilers to make and thus makes the cross build
succeed. Please consider applying the attached patch.

Helmut
diff --minimal -Nru libspnav-0.2.3/debian/changelog 
libspnav-0.2.3/debian/changelog
--- libspnav-0.2.3/debian/changelog     2015-05-18 22:38:23.000000000 +0200
+++ libspnav-0.2.3/debian/changelog     2016-11-09 19:16:53.000000000 +0100
@@ -1,3 +1,10 @@
+libspnav (0.2.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let the makefile buildsystem pass cross compilers (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 09 Nov 2016 19:16:53 +0100
+
 libspnav (0.2.3-1) unstable; urgency=medium
 
   * Imported Upstream version 0.2.3
diff --minimal -Nru libspnav-0.2.3/debian/rules libspnav-0.2.3/debian/rules
--- libspnav-0.2.3/debian/rules 2015-05-18 22:38:23.000000000 +0200
+++ libspnav-0.2.3/debian/rules 2016-11-09 19:16:50.000000000 +0100
@@ -10,5 +10,8 @@
 override_dh_auto_configure:
        dh_auto_configure -- --disable-debug
 
+override_dh_auto_build:
+       dh_auto_build --buildsystem=makefile
+
 %:
        dh $@
\ No newline at end of file

Reply via email to