Source: beep Version: 1.4.3-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
beep regressed cross building. The build system now tries hard to not use the standard compiler variable CC that debhelper passes. For making the build system use cross compilers, we need to pass them as COMPILER_gcc and LINKER_gcc. Please consider applying the attached patch. Helmut
diff --minimal -Nru beep-1.4.3/debian/changelog beep-1.4.3/debian/changelog --- beep-1.4.3/debian/changelog 2019-02-21 11:26:35.000000000 +0100 +++ beep-1.4.3/debian/changelog 2019-03-06 20:16:24.000000000 +0100 @@ -1,3 +1,10 @@ +beep (1.4.3-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass non-standard compiler variables. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 06 Mar 2019 20:16:24 +0100 + beep (1.4.3-2) unstable; urgency=high * New patch to use -g instead of -gstabs, which makes it compile with dh_dwz diff --minimal -Nru beep-1.4.3/debian/rules beep-1.4.3/debian/rules --- beep-1.4.3/debian/rules 2019-02-21 11:22:19.000000000 +0100 +++ beep-1.4.3/debian/rules 2019-03-06 20:16:23.000000000 +0100 @@ -2,12 +2,13 @@ #DH_VERBOSE = 1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all +-include /usr/share/dpkg/buildtools.mk %: dh $@ override_dh_auto_build: - dh_auto_build -- FLAGS="$(shell dpkg-buildflags --get CFLAGS)" + dh_auto_build -- 'COMPILER_gcc=$(CC)' 'LINKER_gcc=$(CC)' FLAGS="$(shell dpkg-buildflags --get CFLAGS)" override_dh_install: dh_install