Source: garmin-plugin Version: 0.3.23-5 Tags: patch User: [email protected] Usertags: ftcbfs
garmin-plugin fails to cross build from source, because it does not pass --host to ./configure. The easiest way of fixing that - using dh_auto_configure - makes garmin-plugin cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru garmin-plugin-0.3.23/debian/changelog garmin-plugin-0.3.23/debian/changelog --- garmin-plugin-0.3.23/debian/changelog 2017-06-05 07:14:38.000000000 +0200 +++ garmin-plugin-0.3.23/debian/changelog 2019-10-02 06:21:18.000000000 +0200 @@ -1,3 +1,10 @@ +garmin-plugin (0.3.23-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 02 Oct 2019 06:21:18 +0200 + garmin-plugin (0.3.23-5) unstable; urgency=medium * Build-depend on libgcrypt20-dev instead of libgcrypt11-dev which diff --minimal -Nru garmin-plugin-0.3.23/debian/rules garmin-plugin-0.3.23/debian/rules --- garmin-plugin-0.3.23/debian/rules 2016-02-15 18:29:17.000000000 +0100 +++ garmin-plugin-0.3.23/debian/rules 2019-10-02 06:21:16.000000000 +0200 @@ -12,8 +12,8 @@ override_dh_auto_configure: dh_autoreconf --sourcedirectory=src && \ - cd src && \ - ./configure --with-tinyxml-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) + dh_auto_configure --sourcedirectory=src -- \ + --with-tinyxml-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_auto_build: cd src && $(MAKE)

