Source: xcolmix
Version: 1.07-10
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

xcolmix fails to cross build from source, because it does not pass cross
tools to make. The easiest way of fixing that - using dh_auto_build -
makes xcolmix cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru xcolmix-1.07/debian/changelog xcolmix-1.07/debian/changelog
--- xcolmix-1.07/debian/changelog       2010-05-28 02:47:37.000000000 +0200
+++ xcolmix-1.07/debian/changelog       2021-05-03 21:09:28.000000000 +0200
@@ -1,3 +1,10 @@
+xcolmix (1.07-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 03 May 2021 21:09:28 +0200
+
 xcolmix (1.07-10) unstable; urgency=low
 
   * Rebuild against libforms2.
diff --minimal -Nru xcolmix-1.07/debian/rules xcolmix-1.07/debian/rules
--- xcolmix-1.07/debian/rules   2010-05-28 02:45:10.000000000 +0200
+++ xcolmix-1.07/debian/rules   2021-05-03 21:09:24.000000000 +0200
@@ -10,7 +10,7 @@
 build:
        $(checkdir)
 
-       (cd src; make final STDLFLAGS="-L /usr/X11R6/lib" STDCFLAGS="-c -O2 
-Wall $(XFINCDIR) -g")
+       dh_auto_build --sourcedirectory=src -- final STDLFLAGS="-L 
/usr/X11R6/lib" STDCFLAGS="-c -O2 -Wall $(XFINCDIR) -g"
        touch build
 
 clean:

Reply via email to