f04f19d468
- Update net/zebra-server to 2.0.55 and fix build with new net/yaz [1] - Bump other affected ports PR: ports/183355 [1] Submitted by: myself Approved by: maintainer
16 lines
557 B
C
16 lines
557 B
C
--- index/mod_grs_regx.c.orig 2013-01-08 10:26:06.000000000 +0100
|
|
+++ index/mod_grs_regx.c 2013-10-27 11:54:01.655086748 +0100
|
|
@@ -1301,8 +1301,12 @@
|
|
{
|
|
const char *err = Tcl_GetVar(spec->tcl_interp, "errorInfo", 0);
|
|
yaz_log(YLOG_FATAL, "Tcl error, line=%d, \"%s\"\n%s",
|
|
+#if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 5
|
|
spec->tcl_interp->errorLine,
|
|
- spec->tcl_interp->result,
|
|
+#else
|
|
+ Tcl_GetErrorLine(spec->tcl_interp),
|
|
+#endif
|
|
+ Tcl_GetStringResult(spec->tcl_interp),
|
|
err ? err : "[NO ERRORINFO]");
|
|
}
|
|
}
|