Source: mimetex Version: 1.76-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
mimetex fails to cross build from source, because it uses the build architecture compiler as a make default in debian/rules. Letting dpkg's buildtools.mk initialize the variable is the simplest solution. Please consider applying the attached patch. Helmut
diff --minimal -Nru mimetex-1.76/debian/changelog mimetex-1.76/debian/changelog --- mimetex-1.76/debian/changelog 2021-02-04 21:08:13.000000000 +0100 +++ mimetex-1.76/debian/changelog 2021-02-09 13:53:18.000000000 +0100 @@ -1,3 +1,10 @@ +mimetex (1.76-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk initialize $(CC). (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 09 Feb 2021 13:53:18 +0100 + mimetex (1.76-2) unstable; urgency=medium * Add Vcs-* and Homepage field. diff --minimal -Nru mimetex-1.76/debian/rules mimetex-1.76/debian/rules --- mimetex-1.76/debian/rules 2021-02-04 19:29:19.000000000 +0100 +++ mimetex-1.76/debian/rules 2021-02-09 13:52:57.000000000 +0100 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk + %: dh $@