Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37532 closed defect (duplicate)

fix blt for tk 8.6

Reported by: howarth@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: markd@…
Port: blt

Description

The current blt packaging is broken since tk was updated to 8.6. The attached Portfile and additional patch-tk8.6 solves the build issues by...

1) Passing -DUSE_INTERP_RESULT on cflags as was done for building eggdrop in http://botlending.com/docs/eggdrop/compile/21 .
2) Patching src/tkButton.c to use Tcl_EvalObjEx() instead of the obsolete TkCopyAndGlobalEval() which is removed from tk 8.6.
This change was modelled on those in tk itself at http://rkeene.org/projects/tcl/tk.fossil/ci/bd1165a06d?sbs=0 .

Attachments (2)

Portfile.diff (779 bytes) - added by howarth@… 12 years ago.
Portfile diff to solve build issues against tk 8.6
patch-tk8.6 (781 bytes) - added by howarth@… 12 years ago.
patch to solve build issues against tk 8.6

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by howarth@…

Attachment: Portfile.diff added

Portfile diff to solve build issues against tk 8.6

Changed 12 years ago by howarth@…

Attachment: patch-tk8.6 added

patch to solve build issues against tk 8.6

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: markd@… added; markd removed
Note: See TracTickets for help on using tickets.