Source: hyphen-show Version: 20000425-4 Tags: patch User: [email protected] Usertags: ftcbfs
hyphen-show fails to cross build from source, because debian/rules hard codes the build architecture compiler as CC = gcc. The easiest way to obtain the correct toolchain in all cases is including dpkg's buildtools.mk. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru hyphen-show-20000425/debian/changelog hyphen-show-20000425/debian/changelog --- hyphen-show-20000425/debian/changelog 2021-01-08 00:27:38.000000000 +0100 +++ hyphen-show-20000425/debian/changelog 2024-10-31 14:25:36.000000000 +0100 @@ -1,3 +1,10 @@ +hyphen-show (20000425-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply CC. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 31 Oct 2024 14:25:36 +0100 + hyphen-show (20000425-4) unstable; urgency=medium * Switched to debhelper compatibility level 13. Closes: #965587 diff --minimal -Nru hyphen-show-20000425/debian/rules hyphen-show-20000425/debian/rules --- hyphen-show-20000425/debian/rules 2014-09-16 01:23:08.000000000 +0200 +++ hyphen-show-20000425/debian/rules 2024-10-31 14:25:31.000000000 +0100 @@ -2,10 +2,9 @@ DEB_CFLAGS_MAINT_APPEND = -Wall +include /usr/share/dpkg/buildtools.mk include /usr/share/dpkg/buildflags.mk -CC = gcc - .PHONY: build build: build-arch build-indep

