Source: pdlzip Version: 1.10-4 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
pdlzip fails to cross build from source, because it configures for the build architecture. With this hand-written configure, one is supposed to pass CC= as a command line argument. The attached patch implements that. Please consider applying it. Helmut
diff --minimal -Nru pdlzip-1.10/debian/changelog pdlzip-1.10/debian/changelog --- pdlzip-1.10/debian/changelog 2019-07-16 18:34:31.000000000 +0200 +++ pdlzip-1.10/debian/changelog 2019-07-24 21:55:58.000000000 +0200 @@ -1,3 +1,10 @@ +pdlzip (1.10-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass CC to ./configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 24 Jul 2019 21:55:58 +0200 + pdlzip (1.10-4) unstable; urgency=medium * Uploading to sid. diff --minimal -Nru pdlzip-1.10/debian/rules pdlzip-1.10/debian/rules --- pdlzip-1.10/debian/rules 2019-07-06 21:20:09.000000000 +0200 +++ pdlzip-1.10/debian/rules 2019-07-24 21:55:57.000000000 +0200 @@ -1,8 +1,13 @@ #!/usr/bin/make -f +-include /usr/share/dpkg/buildtools.mk + %: dh ${@} +override_dh_auto_configure: + dh_auto_configure -- 'CC=$(CC)' + override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/pdlzip