openbsd-ports/devel/vtcl/patches/patch-lib_propmgr_tcl
stu 1b2c447dc3 Make Vtcl work with Tcl/Tk 8.5.
Take maintinership.

Ok landry@
2012-08-10 04:03:25 +00:00

14 lines
515 B
Plaintext

$OpenBSD: patch-lib_propmgr_tcl,v 1.1 2012/08/10 04:03:25 stu Exp $
--- lib/propmgr.tcl.orig Wed Apr 25 17:52:28 2012
+++ lib/propmgr.tcl Wed Apr 25 18:00:47 2012
@@ -484,7 +484,8 @@ proc vTcl:prop:color_update {w val} {
}
proc vTcl:prop:new_attr {top option variable config_cmd config_args prefix {isGeomOpt ""}} {
- global vTcl $variable options specialOpts propmgrLabels
+ global vTcl options specialOpts propmgrLabels
+ global [regsub {(.+)\(.+\)} $variable {\1}]
set base $top.t${option}