Source: pnscan
Version: 1.12+git20180612-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

pnscan fails to cross build from source, because it does not pass cross
tools to make. The usual fix - using dh_auto_build - is not sufficient
here, because pnscan uses a non-standard compiler variable LNX_CC.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru pnscan-1.12+git20180612/debian/changelog 
pnscan-1.12+git20180612/debian/changelog
--- pnscan-1.12+git20180612/debian/changelog    2018-08-27 08:25:08.000000000 
+0200
+++ pnscan-1.12+git20180612/debian/changelog    2019-10-12 11:20:28.000000000 
+0200
@@ -1,3 +1,11 @@
+pnscan (1.12+git20180612-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make and pass
+    CC via LNX_CC. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 12 Oct 2019 11:20:28 +0200
+
 pnscan (1.12+git20180612-1) unstable; urgency=medium
 
   [ Raphaƫl Hertzog ]
diff --minimal -Nru pnscan-1.12+git20180612/debian/rules 
pnscan-1.12+git20180612/debian/rules
--- pnscan-1.12+git20180612/debian/rules        2018-08-27 08:03:16.000000000 
+0200
+++ pnscan-1.12+git20180612/debian/rules        2019-10-12 11:20:28.000000000 
+0200
@@ -6,6 +6,6 @@
        dh $@
 
 override_dh_auto_build:
-       make linux
+       dh_auto_build -- linux LNX_CC='$$(CC) -Wall -g -O'
 
 override_dh_auto_install:

Reply via email to