Source: espeak Version: 1.48.15+dfsg-2 Tags: patch User: [email protected] Usertags: ftcbfs
espeak 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 espeak cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru espeak-1.48.15+dfsg/debian/changelog espeak-1.48.15+dfsg/debian/changelog --- espeak-1.48.15+dfsg/debian/changelog 2021-01-01 16:48:21.000000000 +0100 +++ espeak-1.48.15+dfsg/debian/changelog 2021-08-27 13:52:11.000000000 +0200 @@ -1,3 +1,10 @@ +espeak (1.48.15+dfsg-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 27 Aug 2021 13:52:11 +0200 + espeak (1.48.15+dfsg-2) unstable; urgency=medium * patches/flags: Fix passing CPPFLAGS and LDFLAGS. diff --minimal -Nru espeak-1.48.15+dfsg/debian/rules espeak-1.48.15+dfsg/debian/rules --- espeak-1.48.15+dfsg/debian/rules 2020-12-30 19:00:17.000000000 +0100 +++ espeak-1.48.15+dfsg/debian/rules 2021-08-27 13:51:49.000000000 +0200 @@ -15,11 +15,11 @@ override_dh_auto_build: cp src/portaudio19.h src/portaudio.h - cd src && $(MAKE) DATADIR=$(ESPEAK_DATA)/espeak-data libespeak.a + dh_auto_build --sourcedirectory=src -- DATADIR=$(ESPEAK_DATA)/espeak-data libespeak.a # Remove object files so we can rebuild them with # AUDIO=runtime enabled rm -f src/*.o - cd src && $(MAKE) DATADIR=$(ESPEAK_DATA)/espeak-data espeak AUDIO=runtime + dh_auto_build --sourcedirectory=src -- DATADIR=$(ESPEAK_DATA)/espeak-data espeak AUDIO=runtime # Build static speak binary cd platforms/big_endian && CFLAGS="$(CFLAGS)" $(MAKE) CXX=$(CXX)

