Menu

#144 CONFIG: source of Tk 8.5's breakage

open
nobody
None
5
2008-09-25
2008-09-25
No

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()

Discussion

  • Peter MacDonald

    Peter MacDonald - 2008-09-25

    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

     
  • Peter MacDonald

    Peter MacDonald - 2008-09-26

    This patch should be thread safe.
    Also includes fix for running BLT with
    alpha/beta versions.

    File Added: blt2.4z.pat

     
  • Peter MacDonald

    Peter MacDonald - 2008-09-26

    8.5 patch + Threads + Vector fix

     
  • Peter MacDonald

    Peter MacDonald - 2008-09-26

    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

     

Log in to post a comment.