diff -Nru gvidm-0.8/debian/changelog gvidm-0.8/debian/changelog --- gvidm-0.8/debian/changelog 2021-01-08 11:12:56.000000000 +0000 +++ gvidm-0.8/debian/changelog 2021-01-09 18:19:47.000000000 +0000 @@ -1,3 +1,10 @@ +gvidm (0.8-15) unstable; urgency=medium + + * Added cross.patch (Closes: #928246) + Patch from Helmut Grohne. + + -- Matteo Cypriani Sat, 09 Jan 2021 19:19:47 +0100 + gvidm (0.8-14) unstable; urgency=medium * Set debhelper-compat version in Build-Depends. diff -Nru gvidm-0.8/debian/patches/cross.patch gvidm-0.8/debian/patches/cross.patch --- gvidm-0.8/debian/patches/cross.patch 1970-01-01 00:00:00.000000000 +0000 +++ gvidm-0.8/debian/patches/cross.patch 2021-01-09 18:19:47.000000000 +0000 @@ -0,0 +1,27 @@ +Description: FTCBFS: configure.in hard codes the build architecture pkg-config +Author: Helmut Grohne +Bug-Debian: https://bugs.debian.org/928246 +Last-Update: 2021-01-09 +--- a/configure.in ++++ b/configure.in +@@ -34,17 +34,9 @@ + with_gtk1="$withval", + with_gtk1=no + ) +-if test "$with_gtk1" = "no" ; then +- AC_MSG_CHECKING([for GTK 2.0]) +- GTK_LIBS=`pkg-config --libs gtk+-2.0` +- if test $? = 0 ; then +- GTK_CFLAGS=`pkg-config --cflags gtk+-2.0` +- AC_MSG_RESULT(yes) +- else +- AC_MSG_RESULT(no) +- with_gtk1=yes +- fi +-fi ++AS_IF([test "$with_gtk1" = "no"],[ ++ PKG_CHECK_MODULES([GTK],[gtk+-2.0],,[with_gtk1=yes]) ++]) + if test "$with_gtk1" = "yes" ; then + AC_MSG_CHECKING([for GTK 1.x]) + GTK_LIBS=`gtk-config --libs` diff -Nru gvidm-0.8/debian/patches/series gvidm-0.8/debian/patches/series --- gvidm-0.8/debian/patches/series 2021-01-08 11:12:56.000000000 +0000 +++ gvidm-0.8/debian/patches/series 2021-01-09 18:19:47.000000000 +0000 @@ -1,3 +1,4 @@ nostrip.patch manpage_typo.patch binary_typo.patch +cross.patch