Source: apng2gif
Version: 1.8-3
Tags: patch
User: [email protected]
Usertags: ftcbfs

apng2gif fails to cross build from source, because it uses the build
architecture compiler as a make default value in debian/rules. The
easiest way of fixing that is letting dpkg's buildtools.mk initialize
it. 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       2021-08-24 16:00:11.000000000 +0200
+++ apng2gif-1.8/debian/changelog       2022-01-08 10:43:57.000000000 +0100
@@ -1,3 +1,10 @@
+apng2gif (1.8-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 08 Jan 2022 10:43:57 +0100
+
 apng2gif (1.8-3) unstable; urgency=medium
 
   [ xiao sheng wen(肖盛文) ]
diff --minimal -Nru apng2gif-1.8/debian/rules apng2gif-1.8/debian/rules
--- apng2gif-1.8/debian/rules   2021-08-24 15:55:12.000000000 +0200
+++ apng2gif-1.8/debian/rules   2022-01-08 10:43:55.000000000 +0100
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+
 PACKAGE = apng2gif
 BIN    = $(PACKAGE)
 

Reply via email to