Source: xplot
Version: 1.19-9.2
Tags: patch
User:
debian-cross@lists.debian.org
Usertags: ftcbfs
xplot fails to cross build from source. Initially, debian/rules manually
runs make to invoke the upstream build system without passing any cross
tools. Wrapping it inside dh_auto_build is an easy way to pass cross
tools. Unfortunately, the libfli library is built with a separate script
cbuild that happens to not honour the passed flags. We may write a
cbuild.def file to pass them there as well. I'm attaching a patch for
your convenience.
Helmut
diff --minimal -Nru xplot-1.19/debian/changelog xplot-1.19/debian/changelog
--- xplot-1.19/debian/changelog 2024-12-15 14:01:48.000000000 +0100
+++ xplot-1.19/debian/changelog 2025-05-08 07:36:18.000000000 +0200
@@ -1,3 +1,12 @@
+xplot (1.19-9.3) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ * Let dh_auto_build pass cross tools to make.
+ * Pass cross tools and flags to libfli via cbuild.def.
+
+ -- Helmut Grohne <
helmut@subdivi.de> Thu, 08 May 2025 07:36:18 +0200
+
xplot (1.19-9.2) unstable; urgency=medium
* Non-maintainer upload.
diff --minimal -Nru xplot-1.19/debian/clean xplot-1.19/debian/clean
--- xplot-1.19/debian/clean 1970-01-01 01:00:00.000000000 +0100
+++ xplot-1.19/debian/clean 2025-05-08 07:36:18.000000000 +0200
@@ -0,0 +1 @@
+libfli/lib/cbuild.def
diff --minimal -Nru xplot-1.19/debian/rules xplot-1.19/debian/rules
--- xplot-1.19/debian/rules 2024-12-15 14:01:48.000000000 +0100
+++ xplot-1.19/debian/rules 2025-05-08 07:36:18.000000000 +0200
@@ -2,11 +2,17 @@
# Uncomment this to turn on verbos