diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2005-10-04 13:50:02 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2005-10-04 13:50:02 +0000 |
commit | b9805fae01a16ac5ba945825f67b68781f857f40 (patch) | |
tree | 52317cf0a36847c5bd198ff194675f4e134e8edf /lang/python24 | |
parent | 9ff22fa34d54adde1ceef17017f0720b2711e75f (diff) | |
download | ports-b9805fae01a16ac5ba945825f67b68781f857f40.tar.gz ports-b9805fae01a16ac5ba945825f67b68781f857f40.zip |
Notes
Diffstat (limited to 'lang/python24')
-rw-r--r-- | lang/python24/files/patch-Python::pystate.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/python24/files/patch-Python::pystate.c b/lang/python24/files/patch-Python::pystate.c new file mode 100644 index 000000000000..a64496471c8b --- /dev/null +++ b/lang/python24/files/patch-Python::pystate.c @@ -0,0 +1,27 @@ +=================================================================== +RCS file: /cvsroot/python/python/dist/src/Python/pystate.c,v +retrieving revision 2.38.2.3 +retrieving revision 2.38.2.4 +diff -u -r2.38.2.3 -r2.38.2.4 +--- Python/pystate.c 2005/09/23 08:14:40 2.38.2.3 ++++ Python/pystate.c 2005/09/30 08:17:40 2.38.2.4 +@@ -53,7 +53,9 @@ + PyThreadState *_PyThreadState_Current = NULL; + PyThreadFrameGetter _PyThreadState_GetFrame = NULL; + ++#ifdef WITH_THREAD + static void _PyGILState_NoteThreadState(PyThreadState* tstate); ++#endif + + + PyInterpreterState * +@@ -188,7 +190,9 @@ + tstate->c_profileobj = NULL; + tstate->c_traceobj = NULL; + ++#ifdef WITH_THREAD + _PyGILState_NoteThreadState(tstate); ++#endif + + HEAD_LOCK(); + tstate->next = interp->tstate_head; |