Source: topline
Version: 0.3-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

topline fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so - using dh_auto_build - makes
topline cross buildable. Please consider applying the attached patch.

Helmut
diff --minimal -Nru topline-0.3/debian/changelog topline-0.3/debian/changelog
--- topline-0.3/debian/changelog        2020-02-04 05:18:32.000000000 +0100
+++ topline-0.3/debian/changelog        2021-03-22 23:06:22.000000000 +0100
@@ -1,3 +1,10 @@
+topline (0.3-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>  Mon, 22 Mar 2021 23:06:22 +0100
+
 topline (0.3-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru topline-0.3/debian/rules topline-0.3/debian/rules
--- topline-0.3/debian/rules    2020-02-04 05:09:29.000000000 +0100
+++ topline-0.3/debian/rules    2021-03-22 23:06:15.000000000 +0100
@@ -9,5 +9,5 @@
        dh $@
 
 override_dh_auto_build:
-       +$(MAKE) CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell 
dpkg-buildflags --get CPPFLAGS)" \
+        dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell 
dpkg-buildflags --get CPPFLAGS)" \
                LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)"

Reply via email to