Source: desproxy Version: 0.1.0~pre3-10 Tags: patch User: helm...@debian.org Usertags: rebootstrap
desproxy fails to cross build from source, because the packaging overrides the correctly detected cross compiler with the build architecture compiler to transfer build flags. Seeding $(CC) from dpkg's buildtools.mk fixes that and makes desproxy cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru desproxy-0.1.0~pre3/debian/changelog desproxy-0.1.0~pre3/debian/changelog --- desproxy-0.1.0~pre3/debian/changelog 2016-10-30 07:57:00.000000000 +0100 +++ desproxy-0.1.0~pre3/debian/changelog 2019-04-28 14:46:22.000000000 +0200 @@ -1,3 +1,10 @@ +desproxy (0.1.0~pre3-10.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk seed $(CC). (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 28 Apr 2019 14:46:22 +0200 + desproxy (0.1.0~pre3-10) unstable; urgency=medium * debian/watch diff --minimal -Nru desproxy-0.1.0~pre3/debian/rules desproxy-0.1.0~pre3/debian/rules --- desproxy-0.1.0~pre3/debian/rules 2016-10-30 07:57:00.000000000 +0100 +++ desproxy-0.1.0~pre3/debian/rules 2019-04-28 14:46:21.000000000 +0200 @@ -2,6 +2,7 @@ PACKAGE = desproxy +-include /usr/share/dpkg/buildtools.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed