Source: cksfv Version: 1.3.14-2 Tags: patch User: [email protected] Usertags: rebootstrap
cksfv fails to cross build from source, because it uses the build architecture compiler. This custom build system is pleased if one exports a suitable CC. After doing so, cksfv cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru cksfv-1.3.14/debian/changelog cksfv-1.3.14/debian/changelog --- cksfv-1.3.14/debian/changelog 2011-08-04 09:35:55.000000000 +0200 +++ cksfv-1.3.14/debian/changelog 2018-06-06 16:27:14.000000000 +0200 @@ -1,3 +1,10 @@ +cksfv (1.3.14-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Export a cross compiler as CC. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 06 Jun 2018 16:27:14 +0200 + cksfv (1.3.14-2) unstable; urgency=low * src/readsfv.c : check if the filename provided by the user diff --minimal -Nru cksfv-1.3.14/debian/rules cksfv-1.3.14/debian/rules --- cksfv-1.3.14/debian/rules 2011-08-04 09:35:19.000000000 +0200 +++ cksfv-1.3.14/debian/rules 2018-06-06 16:27:12.000000000 +0200 @@ -1,7 +1,9 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/buildcore.mk +export CC common-configure-arch:: Makefile common-build-arch:: src/cksfv

