MINGW-packages/mingw-w64-gpgme/0010-m4-check-python-exit-code.patch
Biswapriyo Nath 3ad6af7f70 gpgme: update to 1.20.0
* Remove hunks which replace gpgme-config with shell, fixed in
https://dev.gnupg.org/rMae9258fbf3b9d434495ef11fc184a91fe7c4ca57
* Check exit code for python disutils due to deprecation message.
* Disable python test due to this [Makefile:645: pubring-stamp] Error 2
2023-05-28 12:30:38 +05:30

12 lines
314 B
Diff

--- a/m4/ax_python_devel.m4
+++ b/m4/ax_python_devel.m4
@@ -137,7 +137,7 @@
#
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])