diff options
author | gahr <gahr@FreeBSD.org> | 2013-05-22 15:05:34 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-05-22 15:05:34 +0800 |
commit | 7d280d4b534f64e9f282b9cf5de1cbda57626bf5 (patch) | |
tree | 6c5511e6a445028f20230749adabf404937422d6 /www/tdom | |
parent | 895a79b18f9f80c007977e4b0420068080fce353 (diff) | |
download | freebsd-ports-gnome-7d280d4b534f64e9f282b9cf5de1cbda57626bf5.tar.gz freebsd-ports-gnome-7d280d4b534f64e9f282b9cf5de1cbda57626bf5.tar.zst freebsd-ports-gnome-7d280d4b534f64e9f282b9cf5de1cbda57626bf5.zip |
- Fix build with Tcl < 8.6
Reported by: bdrewery
Diffstat (limited to 'www/tdom')
-rw-r--r-- | www/tdom/files/patch-generic-tcldom.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/www/tdom/files/patch-generic-tcldom.c b/www/tdom/files/patch-generic-tcldom.c index a65948df8274..5b9b640b94c8 100644 --- a/www/tdom/files/patch-generic-tcldom.c +++ b/www/tdom/files/patch-generic-tcldom.c @@ -1,6 +1,16 @@ ---- ../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 @@ +--- ../generic/tcldom.c.orig 2007-12-26 00:19:02.000000000 +0100 ++++ ../generic/tcldom.c 2013-05-22 09:01:30.000000000 +0200 +@@ -5915,6 +5915,9 @@ + | tcldom_EvalLocked + | + \---------------------------------------------------------------------------*/ ++#if !defined(Tcl_GetErrorLine) ++#define Tcl_GetErrorLine(interp) (interp->errorLine) ++#endif + + static + int tcldom_EvalLocked ( +@@ -5934,7 +5937,7 @@ if (ret == TCL_ERROR) { char msg[64 + TCL_INTEGER_SPACE]; sprintf(msg, "\n (\"%s %s\" body line %d)", Tcl_GetString(objv[0]), |