1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/lang/tclX/files/patch-tkxshell
Mikhail Teterin 79fb1155cb I dreamed it would happen. I asked about. I finally did it
myself (for the lack of  children, whom I could've prohibited to
do it). Sorry.

Upgrade this port to:
	. build against TCL-8.3 by default (controllable by TCL_VER)
	. build with or without TK (controllable by NO_X)
	. take over maintainership -- regretfully, Justin was
	  rather idle recently
	. build the helpfiles once -- during the build stage --
	  not during the install stage

On a side  note, I more and  more resent the fact,  that our TCL
8.3 is built with the  -stubs. It just introduces more variables
without  noticeable benefit.  On FreeBSD  shared libraries  work
well...

I  tested this  with TCL-8.3  (with  and without  TK), and  with
TCL-8.2 (without TK only). Please, test this more.
2001-03-16 20:11:53 +00:00

17 lines
449 B
Plaintext

--- ../tk/generic/tkXshell.c Sun Feb 6 19:54:00 2000
+++ ../tk/generic/tkXshell.c Fri Mar 16 14:02:59 2001
@@ -87,2 +87,4 @@
+#if TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 3
extern void TkpDisplayWarning _ANSI_ARGS_((char *msg,
char *title));
+#endif
@@ -407,7 +407,7 @@
Tk_MainLoop();
- Tcl_DeleteInterp(interp);
#ifdef TKX_SHELL
TclX_ShellExit(interp, 0);
#else
+ Tcl_DeleteInterp(interp);
Tcl_Exit(0);
#endif