aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libsigrokdecode/python3-embed.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-04 11:52:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-05 15:35:34 +0000
commit171f6d33883ce50b656dc6b63ae6dec806b36c32 (patch)
tree68d42142b50c32b3660d673ce7aa8c1b7f279d62 /testing/libsigrokdecode/python3-embed.patch
parentb5840473cc5177fef1bfd5c5ad5046c68545f41d (diff)
downloadaports-171f6d33883ce50b656dc6b63ae6dec806b36c32.tar.bz2
aports-171f6d33883ce50b656dc6b63ae6dec806b36c32.tar.xz
testing/libsigrokdecode: rebuild against python 3.8
and fix the .pc version
Diffstat (limited to 'testing/libsigrokdecode/python3-embed.patch')
-rw-r--r--testing/libsigrokdecode/python3-embed.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libsigrokdecode/python3-embed.patch b/testing/libsigrokdecode/python3-embed.patch
new file mode 100644
index 0000000000..eb856cd2a9
--- /dev/null
+++ b/testing/libsigrokdecode/python3-embed.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 56f01a2..c661c63 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -90,7 +90,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary])
+
+ # Python 3 is always needed.
+ SR_PKG_CHECK([python3], [SRD_PKGLIBS],
+- [python3 >= 3.2], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2])
++ [python3-embed], [python3 >= 3.2], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2])
+ AS_IF([test "x$sr_have_python3" = xno],
+ [AC_MSG_ERROR([Cannot find Python 3 development headers.])])
+