Source: sxiv Version: 1.3.2-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
sxiv fails to cross build from source, because it uses the build architecture toolchain. Just indirecting the make invocation through dh_auto_build fixes the cross build, because debhelper knows how to pass cross compilers to make. Please consider applying the attached patch. Helmut
diff --minimal -Nru sxiv-1.3.2/debian/changelog sxiv-1.3.2/debian/changelog --- sxiv-1.3.2/debian/changelog 2015-12-27 18:45:57.000000000 +0100 +++ sxiv-1.3.2/debian/changelog 2017-08-07 18:28:44.000000000 +0200 @@ -1,3 +1,10 @@ +sxiv (1.3.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 07 Aug 2017 18:28:44 +0200 + sxiv (1.3.2-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru sxiv-1.3.2/debian/rules sxiv-1.3.2/debian/rules --- sxiv-1.3.2/debian/rules 2015-12-27 16:54:47.000000000 +0100 +++ sxiv-1.3.2/debian/rules 2017-08-07 18:28:42.000000000 +0200 @@ -7,7 +7,7 @@ dh $@ override_dh_auto_build: - CFLAGS="$(CFLAGS) $(shell getconf LFS_CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) PREFIX=/usr + CFLAGS="$(CFLAGS) $(shell getconf LFS_CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_build -- PREFIX=/usr override_dh_auto_install: