diff options
author | gahr <gahr@FreeBSD.org> | 2013-05-21 16:29:04 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-05-21 16:29:04 +0800 |
commit | 3763f9093c0272c81c4f9eb9ce491c695eb5ca41 (patch) | |
tree | db12b5d6ee38e27454033c2ecfc2fd57e22ace14 /www/tdom | |
parent | 2ab7982243a8a798b883b5509a5ccf97bacd0c5e (diff) | |
download | freebsd-ports-gnome-3763f9093c0272c81c4f9eb9ce491c695eb5ca41.tar.gz freebsd-ports-gnome-3763f9093c0272c81c4f9eb9ce491c695eb5ca41.tar.zst freebsd-ports-gnome-3763f9093c0272c81c4f9eb9ce491c695eb5ca41.zip |
- Fix build with Tcl 8.6
Reported by: miwi (Tcl/Tk 86 exp-run)
Approved by: portmgr
Diffstat (limited to 'www/tdom')
-rw-r--r-- | www/tdom/files/patch-generic-tcldom.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/tdom/files/patch-generic-tcldom.c b/www/tdom/files/patch-generic-tcldom.c new file mode 100644 index 000000000000..a65948df8274 --- /dev/null +++ b/www/tdom/files/patch-generic-tcldom.c @@ -0,0 +1,11 @@ +--- ../generic/tcldom.c.orig 2013-05-13 11:36:27.000000000 +0200 ++++ ../generic/tcldom.c 2013-05-13 11:39:00.000000000 +0200 +@@ -5934,7 +5934,7 @@ + if (ret == TCL_ERROR) { + char msg[64 + TCL_INTEGER_SPACE]; + sprintf(msg, "\n (\"%s %s\" body line %d)", Tcl_GetString(objv[0]), +- Tcl_GetString(objv[1]), interp->errorLine); ++ Tcl_GetString(objv[1]), Tcl_GetErrorLine(interp)); + Tcl_AddErrorInfo(interp, msg); + } + |