aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/gpgme/gpgme/0001-m4-ax_python_devel.m4-check-status-code-instead-of-s.patch29
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.8.0.bb1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/0001-m4-ax_python_devel.m4-check-status-code-instead-of-s.patch b/meta/recipes-support/gpgme/gpgme/0001-m4-ax_python_devel.m4-check-status-code-instead-of-s.patch
new file mode 100644
index 00000000000..c2673621479
--- /dev/null
+++ b/meta/recipes-support/gpgme/gpgme/0001-m4-ax_python_devel.m4-check-status-code-instead-of-s.patch
@@ -0,0 +1,29 @@
+From 6ffca85262a11856ad4def2ab4f273a2ce6b4db0 Mon Sep 17 00:00:00 2001
+From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
+Date: Mon, 3 Apr 2017 19:58:00 -0700
+Subject: [PATCH] m4/ax_python_devel.m4: check status code instead of script
+ output
+
+Upstream-Status: Pending
+
+Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
+---
+ m4/ax_python_devel.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
+index de992c8..45964b1 100644
+--- a/m4/ax_python_devel.m4
++++ b/m4/ax_python_devel.m4
+@@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference.
+ #
+ AC_MSG_CHECKING([for the distutils Python package])
+ ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
+- if test -z "$ac_distutils_result"; then
++ if test $? -eq 0; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+--
+2.10.2
+
diff --git a/meta/recipes-support/gpgme/gpgme_1.8.0.bb b/meta/recipes-support/gpgme/gpgme_1.8.0.bb
index 2756ef815d5..de440b0c381 100644
--- a/meta/recipes-support/gpgme/gpgme_1.8.0.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.8.0.bb
@@ -15,6 +15,7 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
file://python-lang-config.patch \
file://0001-Correctly-install-python-modules.patch \
file://0001-Avoid-host-contamination-from-gpg-config.patch \
+ file://0001-m4-ax_python_devel.m4-check-status-code-instead-of-s.patch \
"
SRC_URI[md5sum] = "722a4153904b9b5dc15485a22d29263b"