diff options
author | pav <pav@FreeBSD.org> | 2005-07-01 02:57:11 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-01 02:57:11 +0800 |
commit | 3adc88cf205ebb35f7f18ceb42fdd3963478ed48 (patch) | |
tree | 75393da7155424c8b85e850c7c97c40482a2f6f1 | |
parent | 1882b17f4433ea0ed3b0413080eedd07bf4a9ba3 (diff) | |
download | freebsd-ports-graphics-3adc88cf205ebb35f7f18ceb42fdd3963478ed48.tar.gz freebsd-ports-graphics-3adc88cf205ebb35f7f18ceb42fdd3963478ed48.tar.zst freebsd-ports-graphics-3adc88cf205ebb35f7f18ceb42fdd3963478ed48.zip |
- Fix build in WITH_THREADS case
PR: ports/82826
Submitted by: Michael Edenfield <kutulu@kutulu.org>
Obtained from: tcl CVS
-rw-r--r-- | lang/tcl84/files/patch-tclUnixNotfy.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/tcl84/files/patch-tclUnixNotfy.c b/lang/tcl84/files/patch-tclUnixNotfy.c new file mode 100644 index 00000000000..e0160b7c1f4 --- /dev/null +++ b/lang/tcl84/files/patch-tclUnixNotfy.c @@ -0,0 +1,25 @@ +=================================================================== +RCS file: /cvsroot/tcl/tcl/unix/tclUnixNotfy.c,v +retrieving revision 1.11.2.11 +retrieving revision 1.11.2.12 +diff -u -r1.11.2.11 -r1.11.2.12 +--- tclUnixNotfy.c 2005/05/31 08:29:10 1.11.2.11 ++++ tclUnixNotfy.c 2005/06/07 10:26:58 1.11.2.12 +@@ -275,7 +275,7 @@ + */ + + if (notifierCount == 0) { +- int result; ++ int result, dummy; + if (triggerPipe < 0) { + panic("Tcl_FinalizeNotifier: notifier pipe not initialized"); + } +@@ -294,7 +294,7 @@ + close(triggerPipe); + + Tcl_ConditionWait(¬ifierCV, ¬ifierMutex, NULL); +- result = Tcl_JoinThread(notifierThread); ++ result = Tcl_JoinThread(notifierThread, &dummy); + if (result) { + Tcl_Panic("Tcl_FinalizeNotifier: unable to join notifier thread"); + } |