[Pkg-cli-apps-commits] [smuxi] 04/05: fix autotools-pkg-config-macro-not-cross-compilation-safe

Victor Seva vseva at moszumanska.debian.org
Fri Mar 9 13:13:48 UTC 2018


This is an automated email from the git hooks/post-receive script.

vseva pushed a commit to branch master
in repository smuxi.

commit 36e4a091f2a21f432bce6941f2a32f1eecbc0f90
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Tue Feb 6 12:44:28 2018 +0100

    fix autotools-pkg-config-macro-not-cross-compilation-safe
---
 debian/patches/series                              |  1 +
 ...AC_PATH_TOOLS-to-help-cross-build-process.patch | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index c46fdca..56cef67 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ build_Twitterizer2_with_default_compiler.patch
 build_db4o_with_default_compiler.patch
 build_agsxmpp_with_default_compiler.patch
 debian_default_settings.patch
+use-AC_PATH_TOOLS-to-help-cross-build-process.patch
diff --git a/debian/patches/use-AC_PATH_TOOLS-to-help-cross-build-process.patch b/debian/patches/use-AC_PATH_TOOLS-to-help-cross-build-process.patch
new file mode 100644
index 0000000..285d3be
--- /dev/null
+++ b/debian/patches/use-AC_PATH_TOOLS-to-help-cross-build-process.patch
@@ -0,0 +1,22 @@
+From: Victor Seva <linuxmaniac at torreviejawireless.org>
+Date: Tue, 6 Feb 2018 12:37:47 +0100
+Subject: use AC_PATH_TOOLS to help cross-build process
+
+See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884798
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index fe4cbde..c908935 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,7 +5,7 @@ AC_CONFIG_MACRO_DIR([.])
+ AM_INIT_AUTOMAKE([foreign tar-ustar])
+ AM_MAINTAINER_MODE
+ 
+-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
++AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)
+ if test "x$PKG_CONFIG" = "xno"; then
+ 	AC_MSG_ERROR([You need to install pkg-config])
+ fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/smuxi.git



More information about the Pkg-cli-apps-commits mailing list