summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-15 14:21:40 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-15 14:21:40 +0000
commitf3071530b1feff26db9749185a9e561526ba912d (patch)
tree3fad2177c29dbf135b754aadf7dfd5b988aeee5b /dev-tcltk/tdom/files
parentRemove old (diff)
downloadgentoo-2-f3071530b1feff26db9749185a9e561526ba912d.tar.gz
gentoo-2-f3071530b1feff26db9749185a9e561526ba912d.tar.bz2
gentoo-2-f3071530b1feff26db9749185a9e561526ba912d.zip
dev-tcltk/tdom: Add support for tcl8.6, #451548
(Portage version: 2.2.0_alpha152/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'dev-tcltk/tdom/files')
-rw-r--r--dev-tcltk/tdom/files/tdom-0.8.3-tcl8.6.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-tcltk/tdom/files/tdom-0.8.3-tcl8.6.patch b/dev-tcltk/tdom/files/tdom-0.8.3-tcl8.6.patch
new file mode 100644
index 000000000000..94bfa22d06e2
--- /dev/null
+++ b/dev-tcltk/tdom/files/tdom-0.8.3-tcl8.6.patch
@@ -0,0 +1,16 @@
+ generic/tcldom.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/generic/tcldom.c b/generic/tcldom.c
+index 91d98c9..ae6d413 100644
+--- a/generic/tcldom.c
++++ b/generic/tcldom.c
+@@ -5934,7 +5934,7 @@ int tcldom_EvalLocked (
+ 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);
+ }
+