From 171f6d33883ce50b656dc6b63ae6dec806b36c32 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 4 Nov 2019 11:52:33 +0000 Subject: testing/libsigrokdecode: rebuild against python 3.8 and fix the .pc version --- testing/libsigrokdecode/python3-embed.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testing/libsigrokdecode/python3-embed.patch (limited to 'testing/libsigrokdecode/python3-embed.patch') 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.])]) + -- cgit v1.2.3