Bug#930402: kball FTCBFS: uses the build architecture compiler
Helmut Grohne
helmut at subdivi.de
Wed Jun 12 05:22:57 BST 2019
Source: kball
Version: 0.0.20041216-10
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
kball fails to cross build from source, because it uses the build
architecture compiler. It uses a non-standard variable GCC for the
compiler while debhelper passes it as CXX. After renaming the variable,
kball cross builds successfully. Please consider applying the attached
patch.
Helmut
-------------- next part --------------
diff --minimal -Nru kball-0.0.20041216/debian/changelog kball-0.0.20041216/debian/changelog
--- kball-0.0.20041216/debian/changelog 2016-06-03 09:51:11.000000000 +0200
+++ kball-0.0.20041216/debian/changelog 2019-06-12 06:18:27.000000000 +0200
@@ -1,3 +1,10 @@
+kball (0.0.20041216-11) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Pass C++ compiler as GCC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 12 Jun 2019 06:18:27 +0200
+
kball (0.0.20041216-10) unstable; urgency=medium
* Team upload.
diff --minimal -Nru kball-0.0.20041216/debian/rules kball-0.0.20041216/debian/rules
--- kball-0.0.20041216/debian/rules 2016-06-03 09:51:11.000000000 +0200
+++ kball-0.0.20041216/debian/rules 2019-06-12 06:18:24.000000000 +0200
@@ -14,6 +14,9 @@
$(RM) test_linux.bin
$(RM) test.run
+override_dh_auto_build:
+ dh_auto_build -- 'GCC=$$(CXX)'
+
override_dh_install-indep:
dh_install bin/*.dat usr/share/games/kball
dh_install bin/levels/*.map usr/share/games/kball/levels
More information about the Pkg-games-devel
mailing list