Source: aylet Version: 0.5-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
aylet fails to cross build from source, because a debian patch hard codes the build architecture pkg-config. After making it substitutable, aylet cross builds successfully. Please consider applying the attached patch. Helmut
diff -u aylet-0.5/debian/changelog aylet-0.5/debian/changelog --- aylet-0.5/debian/changelog +++ aylet-0.5/debian/changelog @@ -1,3 +1,9 @@ +aylet (0.5-4) UNRELEASED; urgency=medium + + * Fix FTCBFS: Make pkg-config substitutable. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 22 Jun 2019 08:49:53 +0200 + aylet (0.5-3) unstable; urgency=low * QA upload (Closes: #636740). diff -u aylet-0.5/debian/patches/3_gtk2_Makefile.diff aylet-0.5/debian/patches/3_gtk2_Makefile.diff --- aylet-0.5/debian/patches/3_gtk2_Makefile.diff +++ aylet-0.5/debian/patches/3_gtk2_Makefile.diff @@ -1,6 +1,6 @@ --- aylet-0.5/Makefile 2005-12-18 04:05:08.000000000 +0100 +++ aylet-0.5-changes/Makefile 2006-03-20 10:37:26.000000000 +0100 -@@ -39,14 +39,29 @@ +@@ -39,14 +39,30 @@ all: aylet xaylet @@ -11,7 +11,8 @@ +gtk1: all + +# GTK+2 stuff: "make gtk2" -+gtk2: GTKCONFIG:=pkg-config gtk+-2.0 ++PKG_CONFIG?=pkg-config ++gtk2: GTKCONFIG:=$(PKG_CONFIG) gtk+-2.0 +gtk2: GTKFLAGS:=-DGTK2 $(shell \ + $(GTKCONFIG) --modversion | \ + awk 'BEGIN { FS="." } \