[142647] trunk/dports/textproc/tDOM

ryandesign at macports.org ryandesign at macports.org
Sat Dec 12 06:38:34 PST 2015


Revision: 142647
          https://trac.macports.org/changeset/142647
Author:   ryandesign at macports.org
Date:     2015-11-18 08:51:38 -0800 (Wed, 18 Nov 2015)
Log Message:
-----------
tDOM: fix build failure with Tcl 8.6 (#49359; maintainer)

Modified Paths:
--------------
    trunk/dports/textproc/tDOM/Portfile

Added Paths:
-----------
    trunk/dports/textproc/tDOM/files/tdom-tcl86.patch

Modified: trunk/dports/textproc/tDOM/Portfile
===================================================================
--- trunk/dports/textproc/tDOM/Portfile	2015-11-18 15:01:12 UTC (rev 142646)
+++ trunk/dports/textproc/tDOM/Portfile	2015-11-18 16:51:38 UTC (rev 142647)
@@ -4,6 +4,7 @@
 
 name            tDOM
 version         0.8.3
+revision        1
 categories      textproc devel
 maintainers     wu.ac.at:neumann
 description     high performance XML data processing with easy and powerful Tcl scripting functionality
@@ -31,7 +32,7 @@
 depends_lib     port:tcl
 
 patch.dir       ${worksrcpath}
-patchfiles      Makefile.in.patch
+patchfiles      Makefile.in.patch tdom-tcl86.patch
 
 worksrcdir      ${distname}/unix
 

Added: trunk/dports/textproc/tDOM/files/tdom-tcl86.patch
===================================================================
--- trunk/dports/textproc/tDOM/files/tdom-tcl86.patch	                        (rev 0)
+++ trunk/dports/textproc/tDOM/files/tdom-tcl86.patch	2015-11-18 16:51:38 UTC (rev 142647)
@@ -0,0 +1,11 @@
+--- generic/tcldom.c-orig	2015-08-02 14:42:29.000000000 +0200
++++ generic/tcldom.c	2015-08-02 14:43:17.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);
+     }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/c9e90434/attachment.html>


More information about the macports-changes mailing list