Source: xtrlock Version: 2.9 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
xtrlock fails to cross build from source, because debian/rules uses the build architecture compiler as a make default. This is a result of improperly applying #902648 (which moves xtrlock a lot further to cross building). Please consider applying the attached patch to make it cross buildable. Helmut
diff --minimal -Nru xtrlock-2.9/debian/changelog xtrlock-2.9+nmu1/debian/changelog --- xtrlock-2.9/debian/changelog 2019-08-06 17:08:41.000000000 +0200 +++ xtrlock-2.9+nmu1/debian/changelog 2019-08-11 12:43:10.000000000 +0200 @@ -1,3 +1,10 @@ +xtrlock (2.9+nmu1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Seed CC from dpkg's buildtools.mk. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 11 Aug 2019 12:43:10 +0200 + xtrlock (2.9) unstable; urgency=medium * Apply a patch from Helmut Grohne to move away from the (deprecated) xmkmf. diff --minimal -Nru xtrlock-2.9/debian/rules xtrlock-2.9+nmu1/debian/rules --- xtrlock-2.9/debian/rules 2019-08-06 17:08:41.000000000 +0200 +++ xtrlock-2.9+nmu1/debian/rules 2019-08-11 12:43:09.000000000 +0200 @@ -3,6 +3,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/default.mk +-include /usr/share/dpkg/buildtools.mk CFLAGS += -DSHADOW_PWD diff --minimal -Nru xtrlock-2.9/patchlevel.h xtrlock-2.9+nmu1/patchlevel.h --- xtrlock-2.9/patchlevel.h 2019-08-06 17:08:41.000000000 +0200 +++ xtrlock-2.9+nmu1/patchlevel.h 2019-08-11 12:43:10.000000000 +0200 @@ -1 +1 @@ -const char program_version[] = "2.9"; +const char program_version[] = "2.9+nmu1";