Source: wipe Version: 0.24-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
wipe fails to cross build from source, because the upstream build system tries quite hard to be in charge of the compiler choice and chooses wrongly. The attached patch is a way to inject our cross compiler and makes wipe cross build successfully. Please consider applying it. Helmut
diff --minimal -Nru wipe-0.24/debian/changelog wipe-0.24/debian/changelog --- wipe-0.24/debian/changelog 2016-11-17 22:55:39.000000000 +0100 +++ wipe-0.24/debian/changelog 2018-06-09 21:27:13.000000000 +0200 @@ -1,3 +1,10 @@ +wipe (0.24-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Tell build system to use our CC. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 09 Jun 2018 21:27:13 +0200 + wipe (0.24-2) unstable; urgency=medium * debian/copyright: removed an outdated upstream email address. diff --minimal -Nru wipe-0.24/debian/rules wipe-0.24/debian/rules --- wipe-0.24/debian/rules 2016-09-06 18:19:22.000000000 +0200 +++ wipe-0.24/debian/rules 2018-06-09 21:27:10.000000000 +0200 @@ -6,11 +6,11 @@ # Define the OS ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu) - target = linux + target = linux CC_LINUX='$$(CC)' else ifeq ($(DEB_HOST_GNU_SYSTEM), kfreebsd-gnu) - target = freebsd + target = freebsd CC_FREEBSD='$$(CC)' else - target = generic + target = generic CC_GENERIC='$$(CC)' endif %: