Source: ripperx Version: 2.8.0-1 Tags: patch upstream User: [email protected] Usertags: rebootstrap
ripperx fails to cross build from source, because configure.ac forces the build architecture pkg-config by ignoring $ac_tool_prefix. For detecting the presence of pkg-config, PKG_PROG_PKG_CONFIG should be used. Once doing so, ripperx cross builds just fine. Please consider applying the attached patch after stretch is released. Helmut
diff --minimal -Nru ripperx-2.8.0/debian/changelog ripperx-2.8.0/debian/changelog --- ripperx-2.8.0/debian/changelog 2014-05-20 08:37:35.000000000 +0200 +++ ripperx-2.8.0/debian/changelog 2017-01-30 16:23:15.000000000 +0100 @@ -1,3 +1,10 @@ +ripperx (2.8.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Add cross.patch (Closes: #-1) + + -- Helmut Grohne <[email protected]> Mon, 30 Jan 2017 16:23:15 +0100 + ripperx (2.8.0-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru ripperx-2.8.0/debian/patches/cross.patch ripperx-2.8.0/debian/patches/cross.patch --- ripperx-2.8.0/debian/patches/cross.patch 1970-01-01 01:00:00.000000000 +0100 +++ ripperx-2.8.0/debian/patches/cross.patch 2017-01-30 16:23:12.000000000 +0100 @@ -0,0 +1,18 @@ +Subject: consider $ac_tool_prefix when looking for pkg-config +From: Helmut Grohne <[email protected]> + +Index: ripperx-2.8.0/configure.ac +=================================================================== +--- ripperx-2.8.0.orig/configure.ac ++++ ripperx-2.8.0/configure.ac +@@ -12,8 +12,8 @@ + AC_PROG_CC([g++]) + AC_PROG_CXX + +-AC_PATH_PROG(PKG_CONFIG, [pkg-config], [no]) +-m4_if(PKG_CONFIG, [no], ++PKG_PROG_PKG_CONFIG ++m4_if(PKG_CONFIG, [], + AC_MSG_ERROR([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/])) + + # Checks for header files. diff --minimal -Nru ripperx-2.8.0/debian/patches/series ripperx-2.8.0/debian/patches/series --- ripperx-2.8.0/debian/patches/series 2014-05-20 08:37:35.000000000 +0200 +++ ripperx-2.8.0/debian/patches/series 2017-01-30 16:21:32.000000000 +0100 @@ -1 +1,2 @@ link_libm.patch +cross.patch

