Source: oneko Version: 1.2.sakura.6-12 Tags: patch User: helm...@debian.org Usertags: rebootstrap
oneko fails to cross build from source, because it uses the build architecture compiler (as a make default). Using the triplet-prefixed compiler fixes the build. Please consider applying the attached patch. Helmut
diff --minimal -Nru oneko-1.2.sakura.6/debian/changelog oneko-1.2.sakura.6/debian/changelog --- oneko-1.2.sakura.6/debian/changelog 2016-11-05 12:31:54.000000000 +0100 +++ oneko-1.2.sakura.6/debian/changelog 2017-08-14 10:24:45.000000000 +0200 @@ -1,3 +1,10 @@ +oneko (1.2.sakura.6-12.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use a triplet-prefixed CC (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 14 Aug 2017 10:24:45 +0200 + oneko (1.2.sakura.6-12) unstable; urgency=medium * debian/menu, debian/install, debian/icons/*.xpm diff --minimal -Nru oneko-1.2.sakura.6/debian/rules oneko-1.2.sakura.6/debian/rules --- oneko-1.2.sakura.6/debian/rules 2016-11-05 12:31:54.000000000 +0100 +++ oneko-1.2.sakura.6/debian/rules 2017-08-14 10:24:45.000000000 +0200 @@ -2,6 +2,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/architecture.mk +ifeq ($(origin CC),default) +CC = $(DEB_HOST_GNU_TYPE)-gcc +endif CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)