Source: p910nd
Version: 0.97-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

p910nd fails to cross build from source, because it does not pass cross
tools to make and thus builds for the build architecture. The easiest
way of fixing that - using dh_auto_build - makes p910nd cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru p910nd-0.97/debian/changelog p910nd-0.97/debian/changelog
--- p910nd-0.97/debian/changelog        2014-09-14 16:34:07.000000000 +0200
+++ p910nd-0.97/debian/changelog        2019-04-06 06:55:02.000000000 +0200
@@ -1,3 +1,10 @@
+p910nd (0.97-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 06 Apr 2019 06:55:02 +0200
+
 p910nd (0.97-1) unstable; urgency=low
 
   * New upstream version
diff --minimal -Nru p910nd-0.97/debian/rules p910nd-0.97/debian/rules
--- p910nd-0.97/debian/rules    2014-09-14 16:33:06.000000000 +0200
+++ p910nd-0.97/debian/rules    2019-04-06 06:55:00.000000000 +0200
@@ -8,7 +8,7 @@
        dh_auto_clean
 
 override_dh_auto_build:
-       $(MAKE) USE_WRAP=1 LOCKFILE_DIR=\"/var/lock/p910nd\"
+       dh_auto_build -- USE_WRAP=1 LOCKFILE_DIR=\"/var/lock/p910nd\"
        # upstream don't provide changelog file, generate from p910nd.c header
        head -107 p910nd.c | tail -89 | sed -e 's/ \*//g' > changelog
 

Reply via email to