Source: deskmenu Version: 1.4.5 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
deskmenu fails to cross build from source, because it does not pass --host to ./configure. The easiest way of fixing that is using dh_auto_configure. The attached patch implements that. After doing so, deskmenu continues to fail, because it contains a broken, outdated, embedded copy of AM_PATH_GTK_2_0. Please remove your copy in favour of the fixed upstream version. Alternatively, update it and register it with the security tracker. This part comes without a patch, because the bug is already fixed. You just happen to have copied the bug. Helmut
diff --minimal -Nru deskmenu-1.4.5/debian/changelog deskmenu-1.4.5+nmu1/debian/changelog --- deskmenu-1.4.5/debian/changelog 2010-02-16 08:36:43.000000000 +0100 +++ deskmenu-1.4.5+nmu1/debian/changelog 2019-09-27 14:24:23.000000000 +0200 @@ -1,3 +1,10 @@ +deskmenu (1.4.5+nmu1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Improve cross building: Let dh_auto_configure pass --host to ./configure. + + -- Helmut Grohne <hel...@subdivi.de> Fri, 27 Sep 2019 14:24:23 +0200 + deskmenu (1.4.5) unstable; urgency=low * Update version info in manpage. diff --minimal -Nru deskmenu-1.4.5/debian/rules deskmenu-1.4.5+nmu1/debian/rules --- deskmenu-1.4.5/debian/rules 2010-02-16 08:37:24.000000000 +0100 +++ deskmenu-1.4.5+nmu1/debian/rules 2019-09-27 14:24:19.000000000 +0200 @@ -9,7 +9,7 @@ # first check if the configure already exists, if not generate it. test -f $(CURDIR)/configure || autoreconf -i # then run it - ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-gtktest || ( cat config.log && false ) + dh_auto_configure -- --disable-gtktest touch configure-stamp build: configure-stamp build-stamp