Source: jpegqs
Version: 1.20210408-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru jpegqs-1.20210408/debian/changelog 
jpegqs-1.20210408/debian/changelog
--- jpegqs-1.20210408/debian/changelog  2021-06-30 17:59:52.000000000 +0200
+++ jpegqs-1.20210408/debian/changelog  2021-08-19 15:32:01.000000000 +0200
@@ -1,3 +1,10 @@
+jpegqs (1.20210408-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 19 Aug 2021 15:32:01 +0200
+
 jpegqs (1.20210408-1) unstable; urgency=medium
 
   * Initial release (Closes: #989697)
diff --minimal -Nru jpegqs-1.20210408/debian/rules 
jpegqs-1.20210408/debian/rules
--- jpegqs-1.20210408/debian/rules      2021-06-30 13:02:59.000000000 +0200
+++ jpegqs-1.20210408/debian/rules      2021-08-19 15:32:00.000000000 +0200
@@ -7,7 +7,7 @@
 
 build-arch:
        if dpkg-architecture --is any-amd64; then \
-               $(MAKE) SIMD=select $(dpkg-buildflags --export=cmdline); \
+               dh_auto_build -- SIMD=select $(dpkg-buildflags 
--export=cmdline); \
        else \
-               $(MAKE) SIMD=none $(dpkg-buildflags --export=cmdline); \
+               dh_auto_build -- SIMD=none $(dpkg-buildflags --export=cmdline); 
\
        fi

Reply via email to