CONFIG: source of Tk 8.5's breakage
Brought to you by:
ghowlett
FYI,
Not that BLT is broken by Tk 8.5+ due to the deprecation of TK_CONFIG_OPTION_SPECIFIED.
The following hack can be used for static builds:
change 8.5's tkOldConfig.c replacing DoConfig()
with that from 8.5
The longer term fix requires changing to Tk_SetOptions(), or using a private copy of tclOldConfig.c and defining a Blt_ConfigureInfo()
Attached is an alternative solution that should allow
building as a shared library.
It just includes a modified version of tkOldConfig.c
(renamed to bltOldConfig.c) and defines
Blt_ConfigureWidget() etc.
Also, with a small change to Blt_ConfigModified()
thread safe should be no problem.
File Added: blt2.pat
This patch should be thread safe.
Also includes fix for running BLT with
alpha/beta versions.
File Added: blt2.4z.pat
8.5 patch + Threads + Vector fix
The last patch missed some files. This one also includes a fix for vectors in namespaces, and fixes to demos, all of which now seem to work.
File Added: blt2.4z.pat