Source: xwatch
Version: 2.11-15
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru xwatch-2.11/debian/changelog xwatch-2.11/debian/changelog
--- xwatch-2.11/debian/changelog        2010-05-29 00:10:00.000000000 +0200
+++ xwatch-2.11/debian/changelog        2019-09-18 21:04:02.000000000 +0200
@@ -1,3 +1,10 @@
+xwatch (2.11-15.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>  Wed, 18 Sep 2019 21:04:02 +0200
+
 xwatch (2.11-15) unstable; urgency=low
 
   * Rebuild for libforms2.
diff --minimal -Nru xwatch-2.11/debian/rules xwatch-2.11/debian/rules
--- xwatch-2.11/debian/rules    2010-05-28 23:41:55.000000000 +0200
+++ xwatch-2.11/debian/rules    2019-09-18 21:03:58.000000000 +0200
@@ -12,7 +12,7 @@
 
 build:
        $(checkdir) 
-       cd src; make final "STDLFLAGS=-L/usr/lib" "RGB_FILEFLAG = 
-DRGB_FILE=\\\"/usr/share/xwatch/rgb.txt\\\""
+       dh_auto_build --sourcedirectory=src -- final "STDLFLAGS=-L/usr/lib" 
"RGB_FILEFLAG = -DRGB_FILE=\\\"/usr/share/xwatch/rgb.txt\\\""
        cd src; touch build
 
 clean:

Reply via email to