diff options
Diffstat (limited to 'meta/recipes-support/gpgme/gpgme/python-import.patch')
-rw-r--r-- | meta/recipes-support/gpgme/gpgme/python-import.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/python-import.patch b/meta/recipes-support/gpgme/gpgme/python-import.patch new file mode 100644 index 0000000000..61b77a1f75 --- /dev/null +++ b/meta/recipes-support/gpgme/gpgme/python-import.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Don't check for output on stderr to know if an import worked, host inputrc and | ||
2 | sysroot readline can cause warnings on stderr. | ||
3 | |||
4 | Upstream-Status: Backport (from autoconf-archive 883a2abd) | ||
5 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
6 | |||
7 | diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 | ||
8 | index b990d5b..318b089 100644 | ||
9 | --- a/m4/ax_python_devel.m4 | ||
10 | +++ b/m4/ax_python_devel.m4 | ||
11 | @@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference. | ||
12 | # | ||
13 | AC_MSG_CHECKING([for the distutils Python package]) | ||
14 | ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` | ||
15 | - if test -z "$ac_distutils_result"; then | ||
16 | + if test $? -eq 0; then | ||
17 | AC_MSG_RESULT([yes]) | ||
18 | else | ||
19 | AC_MSG_RESULT([no]) | ||