[MacPorts] #50400: git @2.7.0_1: gitk fails to run due to unknown color "lime"

MacPorts noreply at macports.org
Thu Jan 21 09:36:45 PST 2016


#50400: git @2.7.0_1: gitk fails to run due to unknown color "lime"
----------------------+-------------------------
 Reporter:  raimue@…  |      Owner:  ciserlohn@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.4
 Keywords:  haspatch  |       Port:  git
----------------------+-------------------------
 gitk fails to run with Tcl/Tk provided by OS X:
 {{{
 $ /usr/bin/wish /opt/local/bin/gitk
 Error in startup script: unknown color name "lime"
     (processing "-fore" option)
     invoked from within
 "$ctext tag conf m2 -fore [lindex $mergecolors 2]"
     (procedure "makewindow" line 347)
     invoked from within
 "makewindow"
     (file "/opt/local/bin/gitk" line 12434)
 }}}

 The color name was introduced before for X11 and Win32, but apparently not
 for OS X. Although gitk also works with tk @8.6 installed from MacPorts.

 Adding a hard dependency on tcl and tk just for this simple change does
 not sound reasonable. I am attaching a patch as an immediate fix, but the
 issue should probably also be taken upstream.

-- 
Ticket URL: <https://trac.macports.org/ticket/50400>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list