gensio: add patch with workaround for buildbots (refs #24047) 24081/head
authorMichael Heimpold <mhei@heimpold.de>
Sat, 4 May 2024 19:54:50 +0000 (21:54 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Sat, 4 May 2024 21:15:59 +0000 (23:15 +0200)
This should solve the issue found on the buildbots:

-snip-
...
checking consistency of all components of python development environment... yes
./configure: line 24172: test: =: unary operator expected
checking for pam_start in -lpam... (cached) no
...
-snap-

For still unknown reason, AX_PYTHON_DEVEL from the included
m4 file is not used which would set the variable the correct way.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
net/gensio/patches/0001-Ensure-that-ax_python_devel_found_is_defined.patch [new file with mode: 0644]

diff --git a/net/gensio/patches/0001-Ensure-that-ax_python_devel_found_is_defined.patch b/net/gensio/patches/0001-Ensure-that-ax_python_devel_found_is_defined.patch
new file mode 100644 (file)
index 0000000..adf60ce
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -2002,6 +2002,7 @@ if test "x$trypython" = "xyes"; then
+       PYTHON_CPPFLAGS="$pythoncflags"
+    fi
+    AX_PYTHON_DEVEL([], [true])
++   ax_python_devel_found=yes
+ else
+    ax_python_devel_found=no
+ fi