Source: hfsprogs Version: 332.25-11 Tags: patch User: [email protected] Usertags: rebootstrap
hfsprogs fails to cross build from source, because it uses the build architecture toolchain. Fixing the issue is as simple as wrapping make in dh_auto_build, because debhelper passes the right flags. And then cross building hfsprogs works. Please consider applying the attached patch. Helmut
diff --minimal -Nru hfsprogs-332.25/debian/changelog hfsprogs-332.25/debian/changelog --- hfsprogs-332.25/debian/changelog 2013-10-24 08:42:58.000000000 +0200 +++ hfsprogs-332.25/debian/changelog 2017-09-20 10:44:18.000000000 +0200 @@ -1,3 +1,10 @@ +hfsprogs (332.25-11.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 20 Sep 2017 10:44:18 +0200 + hfsprogs (332.25-11) unstable; urgency=low * debian/control: Remove DMUA flag. diff --minimal -Nru hfsprogs-332.25/debian/rules hfsprogs-332.25/debian/rules --- hfsprogs-332.25/debian/rules 2013-10-24 08:42:58.000000000 +0200 +++ hfsprogs-332.25/debian/rules 2017-09-20 10:44:16.000000000 +0200 @@ -15,7 +15,7 @@ dh $@ override_dh_auto_build: - $(MAKE) -f Makefile.lnx CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" + dh_auto_build --buildsystem=makefile -- -f Makefile.lnx CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" override_dh_auto_install: dh_testdir

