Source: xmount Version: 0.7.3-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
xmount fails to cross build from source, because it does not pass cross flags to cmake. After deferring that task to dh_auto_configure, xmount cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru xmount-0.7.3/debian/changelog xmount-0.7.3/debian/changelog --- xmount-0.7.3/debian/changelog 2015-07-03 01:50:16.000000000 +0200 +++ xmount-0.7.3/debian/changelog 2017-12-18 20:41:47.000000000 +0100 @@ -1,3 +1,10 @@ +xmount (0.7.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 18 Dec 2017 20:41:47 +0100 + xmount (0.7.3-1) unstable; urgency=medium * [adaf426] Imported new upstream release 0.7.3 diff --minimal -Nru xmount-0.7.3/debian/rules xmount-0.7.3/debian/rules --- xmount-0.7.3/debian/rules 2015-07-03 01:49:24.000000000 +0200 +++ xmount-0.7.3/debian/rules 2017-12-18 20:41:45.000000000 +0100 @@ -15,4 +15,4 @@ dh $@ override_dh_auto_configure: - cmake -DCMAKE_C_FLAGS="$(CMAKE_C_FLAGS)" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + dh_auto_configure -- -DCMAKE_C_FLAGS="$(CMAKE_C_FLAGS)" -DCMAKE_BUILD_TYPE=Release