Author: tushar
Date: 2005-06-11 13:21:30 -0600 (Sat, 11 Jun 2005)
New Revision: 969

Added:
   trunk/tcl/
   trunk/tcl/tcl-8.4.10-threads-compile.patch
Log:
Added patch: tcl-8.4.10-threads-compile

Added: trunk/tcl/tcl-8.4.10-threads-compile.patch
===================================================================
--- trunk/tcl/tcl-8.4.10-threads-compile.patch  2005-06-10 22:40:36 UTC (rev 
968)
+++ trunk/tcl/tcl-8.4.10-threads-compile.patch  2005-06-11 19:21:30 UTC (rev 
969)
@@ -0,0 +1,29 @@
+Submitted By: Tushar Teredesai <[EMAIL PROTECTED]>
+Date: 2005-06-11
+Initial Package Version: 8.4.10
+Origin: TCL CVS
+Upstream Status: In CVS
+Description: Fix compilation when --enable-threads option is specified.
+See <http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/2619395>.
+
+diff -Naur tcl8.4.10.orig/unix/tclUnixNotfy.c tcl8.4.10/unix/tclUnixNotfy.c
+--- tcl8.4.10.orig/unix/tclUnixNotfy.c 2005-06-01 18:12:21.000000000 +0000
++++ tcl8.4.10/unix/tclUnixNotfy.c      2005-06-11 17:00:31.470883728 +0000
+@@ -275,7 +275,7 @@
+      */
+ 
+     if (notifierCount == 0) {
+-      int result;
++      int result, ignored;
+       if (triggerPipe < 0) {
+           panic("Tcl_FinalizeNotifier: notifier pipe not initialized");
+       }
+@@ -294,7 +294,7 @@
+       close(triggerPipe);
+ 
+       Tcl_ConditionWait(&notifierCV, &notifierMutex, NULL);
+-      result = Tcl_JoinThread(notifierThread);
++      result = Tcl_JoinThread(notifierThread, &ignored);
+       if (result) {
+           Tcl_Panic("Tcl_FinalizeNotifier: unable to join notifier thread");
+       }

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to