Source: ethereal-chess
Version: 11.25+ds1-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

ethereal-chess 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 ethereal-chess cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru ethereal-chess-11.25+ds1/debian/changelog 
ethereal-chess-11.25+ds1/debian/changelog
--- ethereal-chess-11.25+ds1/debian/changelog   2019-01-29 19:22:19.000000000 
+0100
+++ ethereal-chess-11.25+ds1/debian/changelog   2019-05-27 21:59:14.000000000 
+0200
@@ -1,3 +1,10 @@
+ethereal-chess (11.25+ds1-1.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, 27 May 2019 21:59:14 +0200
+
 ethereal-chess (11.25+ds1-1) unstable; urgency=medium
 
   * Initial release (Closes: #914598)
diff --minimal -Nru ethereal-chess-11.25+ds1/debian/rules 
ethereal-chess-11.25+ds1/debian/rules
--- ethereal-chess-11.25+ds1/debian/rules       2019-01-29 19:22:19.000000000 
+0100
+++ ethereal-chess-11.25+ds1/debian/rules       2019-05-27 21:59:13.000000000 
+0200
@@ -9,7 +9,7 @@
        dh $@
 
 override_dh_auto_build:
-       make -f src/makefile -- nopopcnt \
+       dh_auto_build --buildsystem=makefile -- -f src/makefile -- nopopcnt \
        SRC="src/*.c" LIBS="-lpthread -lm -lfathom" EXE="ethereal-chess" \
        CFLAGS="$(WFLAGS) -flto \
        $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

Reply via email to