Source: logtop Version: 0.4.3-1 Tags: patch User: [email protected] Usertags: rebootstrap
logtop fails to cross build from source, because it does not pass cross tools to make. The easiest way of fixing that - using dh_auto_build - makes logtop cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru logtop-0.4.3/debian/changelog logtop-0.4.3/debian/changelog --- logtop-0.4.3/debian/changelog 2012-06-05 22:39:38.000000000 +0200 +++ logtop-0.4.3/debian/changelog 2019-03-28 19:22:57.000000000 +0100 @@ -1,3 +1,10 @@ +logtop (0.4.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 28 Mar 2019 19:22:57 +0100 + logtop (0.4.3-1) unstable; urgency=low * New Support LDFLAGS in Makefile diff --minimal -Nru logtop-0.4.3/debian/rules logtop-0.4.3/debian/rules --- logtop-0.4.3/debian/rules 2012-05-28 13:26:36.000000000 +0200 +++ logtop-0.4.3/debian/rules 2019-03-28 19:22:56.000000000 +0100 @@ -5,7 +5,7 @@ include /usr/share/dpkg/buildflags.mk override_dh_auto_build: - $(MAKE) CFLAGS="$(CFLAGS) -D_FORTIFY_SOURCE=2" LDFLAGS="$(LDFLAGS)" + dh_auto_build -- CFLAGS="$(CFLAGS) -D_FORTIFY_SOURCE=2" LDFLAGS="$(LDFLAGS)" %: dh $@

