Source: espeakedit
Version: 1.48.03-7
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru espeakedit-1.48.03/debian/changelog 
espeakedit-1.48.03/debian/changelog
--- espeakedit-1.48.03/debian/changelog 2019-12-14 17:48:18.000000000 +0100
+++ espeakedit-1.48.03/debian/changelog 2020-04-20 21:36:57.000000000 +0200
@@ -1,3 +1,10 @@
+espeakedit (1.48.03-7.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, 20 Apr 2020 21:36:57 +0200
+
 espeakedit (1.48.03-7) unstable; urgency=medium
 
   [ Samuel Thibault ]
diff --minimal -Nru espeakedit-1.48.03/debian/rules 
espeakedit-1.48.03/debian/rules
--- espeakedit-1.48.03/debian/rules     2015-12-22 22:11:06.000000000 +0100
+++ espeakedit-1.48.03/debian/rules     2020-04-20 21:36:55.000000000 +0200
@@ -5,7 +5,7 @@
 
 override_dh_auto_build:
        cp -f src/portaudio19.h src/portaudio.h
-       $(MAKE) -C src
+       dh_auto_build --sourcedirectory=src
 
 override_dh_installdocs:
        dh_installdocs

Reply via email to