Source: gif2apng Version: 1.9+srconly-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
gif2apng fails to cross build from source, because debian/rules uses the build architecture compiler as a make default. Supplying the value from dpkg's buildtools.mk is an easy way to fix that. Please consider applying the attached patch. Helmut
diff --minimal -Nru gif2apng-1.9+srconly/debian/changelog gif2apng-1.9+srconly/debian/changelog --- gif2apng-1.9+srconly/debian/changelog 2019-07-19 21:33:19.000000000 +0200 +++ gif2apng-1.9+srconly/debian/changelog 2019-07-24 22:16:47.000000000 +0200 @@ -1,3 +1,9 @@ +gif2apng (1.9+srconly-4) UNRELEASED; urgency=medium + + * Fix FTCBFS: Let dpkg's buildtools.mk supply CC. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 24 Jul 2019 22:16:47 +0200 + gif2apng (1.9+srconly-3) unstable; urgency=medium * QA upload. diff --minimal -Nru gif2apng-1.9+srconly/debian/rules gif2apng-1.9+srconly/debian/rules --- gif2apng-1.9+srconly/debian/rules 2016-11-11 06:49:20.000000000 +0100 +++ gif2apng-1.9+srconly/debian/rules 2019-07-24 22:16:45.000000000 +0200 @@ -8,6 +8,7 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +-include /usr/share/dpkg/buildtools.mk CFLAGS = $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)