Bug#941325: libretro-bsnes-mercury FTCBFS: uses build architecture compiler via non-standard variable
Helmut Grohne
helmut at subdivi.de
Sat Sep 28 18:18:00 BST 2019
Source: libretro-bsnes-mercury
Version: 094+git20160126-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
libretro-bsnes-mercury fails to cross build from source, because it uses
the build architecture compiler. While debhelper passes it as CXX,
libretro-bsnes-mercury expects it in compiler. Renaming the variable is
enough to make it cross build. Please consider applying the attached
patch.
Helmut
-------------- next part --------------
diff --minimal -Nru libretro-bsnes-mercury-094+git20160126/debian/changelog libretro-bsnes-mercury-094+git20160126/debian/changelog
--- libretro-bsnes-mercury-094+git20160126/debian/changelog 2019-02-04 17:37:17.000000000 +0100
+++ libretro-bsnes-mercury-094+git20160126/debian/changelog 2019-09-28 19:14:28.000000000 +0200
@@ -1,3 +1,10 @@
+libretro-bsnes-mercury (094+git20160126-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Rename CXX to compiler. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Sat, 28 Sep 2019 19:14:28 +0200
+
libretro-bsnes-mercury (094+git20160126-2) unstable; urgency=medium
* Team upload.
diff --minimal -Nru libretro-bsnes-mercury-094+git20160126/debian/rules libretro-bsnes-mercury-094+git20160126/debian/rules
--- libretro-bsnes-mercury-094+git20160126/debian/rules 2019-02-04 17:35:00.000000000 +0100
+++ libretro-bsnes-mercury-094+git20160126/debian/rules 2019-09-28 19:14:18.000000000 +0200
@@ -15,9 +15,9 @@
dh $@
override_dh_auto_build:
- dh_auto_build -- profile=accuracy ui=target-libretro $(ARM)
- dh_auto_build -- profile=balanced ui=target-libretro $(ARM)
- dh_auto_build -- profile=performance ui=target-libretro $(ARM)
+ dh_auto_build -- profile=accuracy ui=target-libretro compiler='$$(CXX)' $(ARM)
+ dh_auto_build -- profile=balanced ui=target-libretro compiler='$$(CXX)' $(ARM)
+ dh_auto_build -- profile=performance ui=target-libretro compiler='$$(CXX)' $(ARM)
override_dh_auto_test:
More information about the Pkg-games-devel
mailing list