Source: apng2gif Version: 1.8-0.1 Tags: patch User: [email protected] Usertags: rebootstrap
apng2gif fails to cross build from source, because debian/rules hard codes the build architecture compiler gcc. The easiest way of fixing this - using dpkg's buildtools.mk - makes apng2gif cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru apng2gif-1.8/debian/changelog apng2gif-1.8/debian/changelog --- apng2gif-1.8/debian/changelog 2018-10-27 14:15:49.000000000 +0200 +++ apng2gif-1.8/debian/changelog 2019-05-22 22:24:11.000000000 +0200 @@ -1,3 +1,10 @@ +apng2gif (1.8-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Seed CC from dpkg's buildtools.mk. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 22 May 2019 22:24:11 +0200 + apng2gif (1.8-0.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru apng2gif-1.8/debian/rules apng2gif-1.8/debian/rules --- apng2gif-1.8/debian/rules 2018-10-27 14:15:49.000000000 +0200 +++ apng2gif-1.8/debian/rules 2019-05-22 22:24:10.000000000 +0200 @@ -2,7 +2,7 @@ PACKAGE = apng2gif BIN = $(PACKAGE) -CC := gcc +-include /usr/share/dpkg/buildtools.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all CFLAGS += -Wall -pedantic

