[xml-security-c] 01/02: New patch Only-add-found-packages-to-the-pkg-config-dependenci.patch
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Thu Jul 21 17:38:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to branch master
in repository xml-security-c.
commit dee8abd1b7b5ef153773d21240df8360471c20ac
Author: Ferenc Wágner <wferi at niif.hu>
Date: Thu Jul 21 19:24:32 2016 +0200
New patch Only-add-found-packages-to-the-pkg-config-dependenci.patch
Only add found packages to the pkg-config dependencies
---
...und-packages-to-the-pkg-config-dependenci.patch | 27 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 28 insertions(+)
diff --git a/debian/patches/Only-add-found-packages-to-the-pkg-config-dependenci.patch b/debian/patches/Only-add-found-packages-to-the-pkg-config-dependenci.patch
new file mode 100644
index 0000000..f6caae9
--- /dev/null
+++ b/debian/patches/Only-add-found-packages-to-the-pkg-config-dependenci.patch
@@ -0,0 +1,27 @@
+From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi at niif.hu>
+Date: Thu, 21 Jul 2016 19:24:02 +0200
+Subject: Only add found packages to the pkg-config dependencies
+
+---
+ m4/ax_pkg_check_modules.m4 | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/m4/ax_pkg_check_modules.m4 b/m4/ax_pkg_check_modules.m4
+index f3af0f6..ab8adf9 100644
+--- a/m4/ax_pkg_check_modules.m4
++++ b/m4/ax_pkg_check_modules.m4
+@@ -58,10 +58,10 @@ AC_DEFUN([AX_PKG_CHECK_MODULES],[
+ m4_define([ax_package_requires_private],
+ [m4_default_quoted([$7],[AX_PACKAGE_REQUIRES_PRIVATE])])
+
+- ax_package_requires="$[]ax_package_requires $2"
+- ax_package_requires_private="$[]ax_package_requires_private $3"
+-
+- PKG_CHECK_MODULES([$1],[$2 $3],[$4],[$5])
++ PKG_CHECK_MODULES([$1],[$2 $3],[
++ ax_package_requires="$[]ax_package_requires $2"
++ ax_package_requires_private="$[]ax_package_requires_private $3"
++ $4],[$5])
+
+ # Substitute output.
+ AC_SUBST(ax_package_requires)
diff --git a/debian/patches/series b/debian/patches/series
index f9b5a29..d9c2e14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -20,3 +20,4 @@ Avoid-GCC-warning-suggesting-parentheses.patch
Fix-typo-occured-occurred.patch
Use-pkg-config-for-Xerces-OpenSSL-and-NSS-and-provid.patch
We-do-not-use-pthreads-threadtest.cpp-is-Windows-onl.patch
+Only-add-found-packages-to-the-pkg-config-dependenci.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git
More information about the Pkg-shibboleth-devel
mailing list