diff -Nru xfce4-dev-tools-4.8.0/debian/changelog xfce4-dev-tools-4.8.0/debian/changelog --- xfce4-dev-tools-4.8.0/debian/changelog 2011-04-19 15:19:28.000000000 +0000 +++ xfce4-dev-tools-4.8.0/debian/changelog 2011-09-05 19:29:34.000000000 +0000 @@ -1,3 +1,11 @@ +xfce4-dev-tools (4.8.0-2) unstable; urgency=low + + * debian/patches: + - 0001-Use-pkg-config-macro-for-detection-bug-7787 cherry picked from + upstream, fix Makefile generation for multi-arch. closes: #632502 + + -- Yves-Alexis Perez Mon, 05 Sep 2011 21:29:33 +0200 + xfce4-dev-tools (4.8.0-1) unstable; urgency=low [ Lionel Le Folgoc ] diff -Nru xfce4-dev-tools-4.8.0/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch xfce4-dev-tools-4.8.0/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch --- xfce4-dev-tools-4.8.0/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch 1970-01-01 00:00:00.000000000 +0000 +++ xfce4-dev-tools-4.8.0/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch 2011-09-05 19:18:56.000000000 +0000 @@ -0,0 +1,74 @@ +From f2eb2c2e9ca7d042eb35fa56f392df4dbaf9924c Mon Sep 17 00:00:00 2001 +From: Nick Schermer +Date: Sun, 3 Jul 2011 19:42:38 +0200 +Subject: [PATCH] Use pkg-config macro for detection (bug #7787). + +Use the macro shipped with pkg-config for detection of +$PKG_CONFIG. This to fix cross-build compatibility. +--- + m4macros/xdt-depends.m4 | 40 +++++++++++++++++----------------------- + 1 files changed, 17 insertions(+), 23 deletions(-) + +diff --git a/m4macros/xdt-depends.m4 b/m4macros/xdt-depends.m4 +index ccf5a44..e5f6b8c 100644 +--- a/m4macros/xdt-depends.m4 ++++ b/m4macros/xdt-depends.m4 +@@ -43,11 +43,23 @@ AC_DEFUN([XDT_PROG_PKG_CONFIG], + # minimum supported version of pkg-config + xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 + +- # lookup pkg-config utility +- if test x"$PKG_CONFIG" = x""; then +- AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no]) +- +- if test x"$PKG_CONFIG" = x"no"; then ++ m4_ifdef([PKG_PROG_PKG_CONFIG], ++ [ ++ PKG_PROG_PKG_CONFIG([$xdt_cv_PKG_CONFIG_MIN_VERSION]) ++ ++ if test x"$PKG_CONFIG" = x""; then ++ echo ++ echo "*** Your version of pkg-config is too old. You need atleast" ++ echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" ++ echo "*** from the freedesktop.org software repository at" ++ echo "***" ++ echo "*** http://www.freedesktop.org/software/pkgconfig" ++ echo "***" ++ exit 1; ++ fi ++ ], ++ [ ++ echo + echo "*** The pkg-config utility could not be found on your system." + echo "*** Make sure it is in your path, or set the PKG_CONFIG" + echo "*** environment variable to the full path to pkg-config." +@@ -57,25 +69,7 @@ AC_DEFUN([XDT_PROG_PKG_CONFIG], + echo "*** http://www.freedesktop.org/software/pkgconfig" + echo "***" + exit 1 +- fi +- +- # check pkg-config version +- AC_MSG_CHECKING([for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION]) +- if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then +- xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version` +- AC_MSG_RESULT([$xdt_cv_PKG_CONFIG_VERSION]) +- else +- xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version` +- AC_MSG_RESULT([$xdt_cv_PKG_CONFIG_VERSION]) +- echo "*** Your version of pkg-config is too old. You need atleast" +- echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config " +- echo "*** from the freedesktop.org software repository at" +- echo "***" +- echo "*** http://www.freedesktop.org/software/pkgconfig" +- echo "***" +- exit 1 +- fi +- fi ++ ]) + ]) + + +-- +1.7.5.4 + diff -Nru xfce4-dev-tools-4.8.0/debian/patches/series xfce4-dev-tools-4.8.0/debian/patches/series --- xfce4-dev-tools-4.8.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ xfce4-dev-tools-4.8.0/debian/patches/series 2011-09-05 19:18:56.000000000 +0000 @@ -0,0 +1 @@ +0001-Use-pkg-config-macro-for-detection-bug-7787.patch