From 11c7f1b5e0b8d75a24934df93c9be8539e531fa0 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Mon, 9 Dec 2024 00:21:10 +0000 Subject: [PATCH] hyperion: fix build with Python 3.13 --- ...erion-0001-fix-build-with-python-313.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/addons/service/hyperion/patches/hyperion-0001-fix-build-with-python-313.patch diff --git a/packages/addons/service/hyperion/patches/hyperion-0001-fix-build-with-python-313.patch b/packages/addons/service/hyperion/patches/hyperion-0001-fix-build-with-python-313.patch new file mode 100644 index 0000000000..a0810fb5d7 --- /dev/null +++ b/packages/addons/service/hyperion/patches/hyperion-0001-fix-build-with-python-313.patch @@ -0,0 +1,21 @@ +From 8647a93f99121084e8749982f6f8f56e254d815d Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Mon, 9 Dec 2024 11:18:31 +1100 +Subject: [PATCH] Remove PyEval_ReleaseLock(); + +--- + libsrc/effectengine/Effect.cpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/libsrc/effectengine/Effect.cpp b/libsrc/effectengine/Effect.cpp +index b89a36cb..a60c935a 100644 +--- a/libsrc/effectengine/Effect.cpp ++++ b/libsrc/effectengine/Effect.cpp +@@ -120,7 +120,6 @@ void Effect::run() + // Clean up the thread state + Py_EndInterpreter(_interpreterThreadState); + _interpreterThreadState = nullptr; +- PyEval_ReleaseLock(); + } + + int Effect::getPriority() const