aboutsummaryrefslogtreecommitdiff
path: root/net/gensio/patches
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2023-11-18 21:53:56 +0100
committerMichael Heimpold <mhei@heimpold.de>2023-11-19 11:14:18 +0100
commit0b9c8c0a6f71356e65c4f22bf4902dbcebcc1ba3 (patch)
tree6bb1aa7d5e856f5a42cd0602e230dfacc1b0d101 /net/gensio/patches
parent24b751bcf0842381688f80d3303ca736c479912c (diff)
gensio: add patch to fix python detection
Upstream PR: https://github.com/cminyard/gensio/pull/69 Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'net/gensio/patches')
-rw-r--r--net/gensio/patches/0001-Ensure-that-ax_python_devel_found-is-defined.patch29
1 files changed, 29 insertions, 0 deletions
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
index 000000000..b3654ce02
--- /dev/null
+++ b/net/gensio/patches/0001-Ensure-that-ax_python_devel_found-is-defined.patch
@@ -0,0 +1,29 @@
+From 6bbc3056c4b9192010d888672d97810609ee23f9 Mon Sep 17 00:00:00 2001
+From: Michael Heimpold <mhei@heimpold.de>
+Date: Sat, 18 Nov 2023 21:46:15 +0100
+Subject: [PATCH] Ensure that $ax_python_devel_found is defined
+
+Otherwise in case of --without-python, it triggers an error like:
+-snip-
+...
+checking consistency of all components of python development environment... yes
+./configure: line 23729: test: =: unary operator expected
+...
+-snap-
+
+Signed-off-by: Michael Heimpold <mhei@heimpold.de>
+---
+ configure.ac | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1997,6 +1997,8 @@ if test "x$trypython" = "xyes"; then
+ PYTHON_CPPFLAGS="$pythoncflags"
+ fi
+ AX_PYTHON_DEVEL([], [true])
++else
++ ax_python_devel_found=no
+ fi
+ if test $ax_python_devel_found = yes; then
+ AX_PROG_PYTHON_VERSION([3.0.0],