Source: linuxlogo
Version: 5.11-9
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

linuxlogo fails to corss build from source. The build system needs a
variable CROSS to be exported for cross compilation. Please consider
applying the attached patch to fix that.

Helmut
diff --minimal -Nru linuxlogo-5.11/debian/changelog 
linuxlogo-5.11/debian/changelog
--- linuxlogo-5.11/debian/changelog     2016-09-20 13:08:48.000000000 +0200
+++ linuxlogo-5.11/debian/changelog     2020-10-15 21:29:59.000000000 +0200
@@ -1,3 +1,10 @@
+linuxlogo (5.11-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export a suitable CROSS variable. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 15 Oct 2020 21:29:59 +0200
+
 linuxlogo (5.11-9) unstable; urgency=medium
 
   * Changed maintainer's email
diff --minimal -Nru linuxlogo-5.11/debian/rules linuxlogo-5.11/debian/rules
--- linuxlogo-5.11/debian/rules 2016-09-20 13:08:48.000000000 +0200
+++ linuxlogo-5.11/debian/rules 2020-10-15 21:29:32.000000000 +0200
@@ -1,8 +1,11 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+include /usr/share/dpkg/architecture.mk
+
 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
 export CFLAGS=$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags 
--get CPPFLAGS)
+export CROSS=$(DEB_HOST_GNU_TYPE)-
 
 %:
        find ./logos -type f | LC_ALL=C sort > logo_config 

Reply via email to