summaryrefslogtreecommitdiff
path: root/dev-tcltk/tclpython
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-06 13:44:15 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-06 13:44:15 +0000
commitf001d73742671206e73085be095e851b1eb7d019 (patch)
tree5717dd7d4093e487c0d3ddb2c0e1e07a5d66d492 /dev-tcltk/tclpython
parente0126a15b33f25dd633819df7dec0b1f3154bcff (diff)
downloadbaldeagleos-repo-f001d73742671206e73085be095e851b1eb7d019.tar.gz
baldeagleos-repo-f001d73742671206e73085be095e851b1eb7d019.tar.xz
baldeagleos-repo-f001d73742671206e73085be095e851b1eb7d019.zip
Adding metadata
Diffstat (limited to 'dev-tcltk/tclpython')
-rw-r--r--dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch20
-rw-r--r--dev-tcltk/tclpython/tclpython-5.0-r1.ebuild2
2 files changed, 21 insertions, 1 deletions
diff --git a/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch b/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch
index c77339982fd6..39bdf20c095c 100644
--- a/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch
+++ b/dev-tcltk/tclpython/files/tclpython-5.0-gentoo.patch
@@ -24,3 +24,23 @@
ifneq ($(MAKECMDGOALS), clean)
-include $(DEPEND)
+--- a/src/py.c 2022-02-06 10:20:03.352580186 +0100
++++ b/src/py.c 2022-02-06 11:16:49.504796684 +0100
+@@ -24,7 +24,6 @@
+ // First time initializing Python
+ Py_NoSiteFlag = 1;
+ Py_Initialize();
+- PyEval_InitThreads();
+ GlobalThread = PyEval_SaveThread();
+ }
+
+@@ -60,7 +59,8 @@
+ #ifdef WITH_THREAD
+ PyEval_RestoreThread(interp->thread_state);
+ Py_EndInterpreter(interp->thread_state);
+- PyEval_ReleaseLock();
++ PyThreadState_Swap(GlobalThread);
++ PyEval_SaveThread();
+ #endif
+
+ free(interp);
diff --git a/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild b/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
index 15a8a161bcd0..afee7c1ec03d 100644
--- a/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
+++ b/dev-tcltk/tclpython/tclpython-5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7