Source: netris
Version: 0.52-10
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

netris fails to cross build from source, because its ./Configure fails
to locate ncurses thus causing a linker failure. After passing the right
compiler to ./Configure, netris cross builds successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru netris-0.52/debian/changelog netris-0.52/debian/changelog
--- netris-0.52/debian/changelog        2016-01-02 17:05:11.000000000 +0100
+++ netris-0.52/debian/changelog        2017-12-08 21:18:05.000000000 +0100
@@ -1,3 +1,10 @@
+netris (0.52-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass a cross compiler to ./Configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 08 Dec 2017 21:18:05 +0100
+
 netris (0.52-10) unstable; urgency=medium
 
   * Fix bug number in former changelog entry for documentation purposes.
diff --minimal -Nru netris-0.52/debian/rules netris-0.52/debian/rules
--- netris-0.52/debian/rules    2016-01-02 16:51:36.000000000 +0100
+++ netris-0.52/debian/rules    2017-12-08 21:18:02.000000000 +0100
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 #DH_VERBOSE = 1
 
+-include /usr/share/dpkg/buildtools.mk
+
 %:
        dh $@
 
@@ -11,7 +13,7 @@
        -rm -f Makefile
 
 override_dh_auto_configure:
-       ./Configure -g
+       ./Configure -g --cc $(CC)
 
 override_dh_installdirs:
        dh_installdirs

Reply via email to