Source: evdi
Version: 1.6.0+dfsg-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru evdi-1.6.0+dfsg/debian/changelog 
evdi-1.6.0+dfsg/debian/changelog
--- evdi-1.6.0+dfsg/debian/changelog    2019-02-25 10:53:00.000000000 +0100
+++ evdi-1.6.0+dfsg/debian/changelog    2019-05-12 12:38:30.000000000 +0200
@@ -1,3 +1,10 @@
+evdi (1.6.0+dfsg-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]>  Sun, 12 May 2019 12:38:30 +0200
+
 evdi (1.6.0+dfsg-1) unstable; urgency=medium
 
   * New upstream release (1.6.0)
diff --minimal -Nru evdi-1.6.0+dfsg/debian/rules evdi-1.6.0+dfsg/debian/rules
--- evdi-1.6.0+dfsg/debian/rules        2019-02-25 10:53:00.000000000 +0100
+++ evdi-1.6.0+dfsg/debian/rules        2019-05-12 12:38:29.000000000 +0200
@@ -16,7 +16,7 @@
        dh_dkms -p evdi-dkms -V $(DEB_VERSION_UPSTREAM)
 
 override_dh_auto_build:
-       CFLAGS="-I../module $(CFLAGS)" $(MAKE) -C library $(MFLAGS)
+       CFLAGS="-I../module $(CFLAGS)" dh_auto_build --sourcedirectory=library 
-- $(MFLAGS)
 
 override_dh_auto_clean:
        $(MAKE) clean -C library $(MFLAGS)

Reply via email to