Source: tetrinetx Version: 1.13.16-14 Tags: patch User: [email protected] Usertags: rebootstrap
tetrinetx fails to cross build from source, because debian/rules uses the build architecture compiler as a make default. Including dpkg's buildtools.mk properly initializes the relevant variables and makes tetrinetx cross build successfully. Please consider applying the attached patch. Helmut
diff -u tetrinetx-1.13.16/debian/rules tetrinetx-1.13.16/debian/rules --- tetrinetx-1.13.16/debian/rules +++ tetrinetx-1.13.16/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk + CFLAGS=-O2 -DUSE_IPV6 -fno-strength-reduce -Wall -fsigned-char -I/usr/include -L/usr/lib DESTDIR=$(CURDIR)/debian/tetrinetx/ OWNDIRS= $(DESTDIR)var/games/tetrinetx \ diff -u tetrinetx-1.13.16/debian/changelog tetrinetx-1.13.16/debian/changelog --- tetrinetx-1.13.16/debian/changelog +++ tetrinetx-1.13.16/debian/changelog @@ -1,3 +1,10 @@ +tetrinetx (1.13.16-14.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk initialize CC. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 28 Nov 2018 08:08:17 +0100 + tetrinetx (1.13.16-14) unstable; urgency=low * Do not ship /var/run directory (Closes: #689904)

