summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2002-05-20 12:30:14 (GMT)
committerdas <das>2002-05-20 12:30:14 (GMT)
commit452f22a126b71f05b997a5530fc837b9348bfdba (patch)
treee4abdf09dda19723c370c8ba08a2cc2f859aec7c
parent03abed61db8e3c28c3ddf6dfa6e45b6a16bade15 (diff)
downloadtk-452f22a126b71f05b997a5530fc837b9348bfdba.zip
tk-452f22a126b71f05b997a5530fc837b9348bfdba.tar.gz
tk-452f22a126b71f05b997a5530fc837b9348bfdba.tar.bz2
* mac/tkMacInit.c:
* mac/tkMacTclCode.r: include msgcat package in resources as bgerror depends on it. Restores ability of mac static build to run standalone (except for encoding file issues).
-rw-r--r--ChangeLog5
-rw-r--r--mac/tkMacInit.c3
-rw-r--r--mac/tkMacTclCode.r2
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1734e06..c1a6130 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2002-05-20 Daniel Steffen <das@users.sourceforge.net>
* mac/tkMacInit.c:
+ * mac/tkMacTclCode.r: include msgcat package in resources
+ as bgerror depends on it. Restores ability of mac static
+ build to run standalone (except for encoding file issues).
+
+ * mac/tkMacInit.c:
* library/console.tcl:
* library/tk.tcl: fix tk.tcl not sourcing library files
that define bindings at startup on mac. (independent of
diff --git a/mac/tkMacInit.c b/mac/tkMacInit.c
index 7ca7667..e40a55a 100644
--- a/mac/tkMacInit.c
+++ b/mac/tkMacInit.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacInit.c,v 1.9 2002/05/20 10:21:31 das Exp $
+ * RCS: @(#) $Id: tkMacInit.c,v 1.10 2002/05/20 12:30:16 das Exp $
*/
#include <Resources.h>
@@ -80,6 +80,7 @@ sourcePath focus\n\
sourcePath optMenu\n\
sourcePath palette\n\
sourcePath tearoff\n\
+if {[catch {package require msgcat}]} {sourcePath msgcat}\n\
sourcePath bgerror\n\
sourcePath msgbox\n\
sourcePath comdlg\n\
diff --git a/mac/tkMacTclCode.r b/mac/tkMacTclCode.r
index 52d9e86..adbd0f6 100644
--- a/mac/tkMacTclCode.r
+++ b/mac/tkMacTclCode.r
@@ -67,3 +67,5 @@ read 'TEXT' (TK_LIBRARY_RESOURCES+18, "spinbox", purgeable)
"::library:spinbox.tcl";
read 'TEXT' (TK_LIBRARY_RESOURCES+19, "panedwindow", purgeable)
"::library:panedwindow.tcl";
+read 'TEXT' (TK_LIBRARY_RESOURCES+20, "msgcat", purgeable)
+ ":::tcl:library:msgcat:msgcat.tcl";