[erlang-patches] Update gs to use newly available Tcl/Tk v8.5

Vance Shipley vances@REDACTED
Mon Dec 24 05:37:09 CET 2007


The latest version of Tcl/Tk improves the way gs works on
some environments (notably OS X).  The standard installed
program name is now "wish8.5".  The following patch adds 
this name to the search so that the newer version will be 
used if installed.

I tried adding support for an environment variable but I
found out how deep that rabbit hole goes ...

	-Vance


--- lib/gs/src/gstk_port_handler.erl    2007-12-23 23:30:08.000000000 -0500
+++ lib/gs/src/gstk_port_handler.erl    2007-11-26 14:03:00.000000000 -0500
@@ -39,7 +39,7 @@
 % FIXME There has to be a better solution....
 % FIXME Add option in app file or environmen  variable.
 
--define(WISHNAMES, ["wish8.5", "wish84","wish8.4",
+-define(WISHNAMES, ["wish84","wish8.4",
                    "wish83","wish8.3",
                    "wish82","wish8.2",
                    "wish"]).




More information about the erlang-patches mailing list