From d555f03ddef03308b95402cb942f80e87adde503 Mon Sep 17 00:00:00 2001 From: psykose Date: Thu, 24 Nov 2022 07:06:16 +0000 Subject: [PATCH] testing/libsigrokdecode: fix build --- testing/libsigrokdecode/APKBUILD | 4 ++-- .../libsigrokdecode/{python-3.10.patch => python-3.11.patch} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename testing/libsigrokdecode/{python-3.10.patch => python-3.11.patch} (94%) diff --git a/testing/libsigrokdecode/APKBUILD b/testing/libsigrokdecode/APKBUILD index c4fad19e305..5f289f5bf18 100644 --- a/testing/libsigrokdecode/APKBUILD +++ b/testing/libsigrokdecode/APKBUILD @@ -12,7 +12,7 @@ arch="all" license="GPL-3.0-only" source="http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-$pkgver.tar.gz version.patch - python-3.10.patch + python-3.11.patch " subpackages="$pkgname-dev" @@ -37,5 +37,5 @@ package() { sha512sums=" 23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e libsigrokdecode-0.5.3.tar.gz 6d8fa69a891b4333fe77213cf75df218090e58b51d6c92197351d95a977634f2228a63c9c0c75fcb1d816c59ee9eaf410d5e79827ac7c79b0784262ea0f9c3fd version.patch -6c9533cf9afa51167cee5eb0522e69a5854a77b9018babbf8999c7a64fffcbbb71dd6c636e69167745d8ebad41076e3f98fb2f710e7684517dd5431eadb6b0f3 python-3.10.patch +d5fb0e723570ec994c562713e2d7aa60f891d4270d02e921cbe5d07bf2bccb51ef0f2989f6587276d51acf79d55dd17e3a161e7a5b31837f7fcf9fb673f3330e python-3.11.patch " diff --git a/testing/libsigrokdecode/python-3.10.patch b/testing/libsigrokdecode/python-3.11.patch similarity index 94% rename from testing/libsigrokdecode/python-3.10.patch rename to testing/libsigrokdecode/python-3.11.patch index beec673c4c9..d380e12cfb9 100644 --- a/testing/libsigrokdecode/python-3.10.patch +++ b/testing/libsigrokdecode/python-3.11.patch @@ -16,7 +16,7 @@ index f9958b3..2917cb3 100644 # https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build SR_PKG_CHECK([python3], [SRD_PKGLIBS], - [python-3.8-embed], [python-3.8 >= 3.8], [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 >= 3.2]) -+ [python-3.10-embed], [python-3.8-embed], [python-3.8 >= 3.8], [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 >= 3.2]) ++ [python-3.11-embed], [python-3.8-embed], [python-3.8 >= 3.8], [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 >= 3.2]) AS_IF([test "x$sr_have_python3" = xno], [AC_MSG_ERROR([Cannot find Python 3 development headers.])])