diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-03-29 13:58:23 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-03-29 13:58:23 +0000 |
commit | 540f1696d2c5d7a969ec0a294a8c04e8e0416fef (patch) | |
tree | 6cd791bd3dee5072fc34215320fbca70c3462606 /editors/e93/files/patch-shell.c | |
parent | Update to version 1.9.6. (diff) |
- Resurrect `editors/e93' and fix distfile fetching (unfortunately,
new distfile name does not contain version number, but its checksum
is the same as the previous one)
- Provide more descriptive and elaborate COMMENT text
- Register dependency between the program and its internal GUI library
which allows to remove MAKE_JOBS_UNSAFE (hopefully)
- Stop bogusly requesting C++ compiler (apparently, it was wanted
because of its `bool' type), instead simply #include <stdbool.h>
- Localize build configuration in one place (port-patch): having
MAKE_ARGS blurred the picture and it was not quite accurate anyway
(e.g., passed down those bogus C++ bits)
- Drop `gmake' from USES, no longer needed WRKSRC, define LICENSE_FILE
- Make docfiles installation optional and install them to appropriate
location using standard helper target
- Reformat port description (shorten the lines, kill EOL whitespace,
separate sentences with double spaces)
Diffstat (limited to 'editors/e93/files/patch-shell.c')
-rw-r--r-- | editors/e93/files/patch-shell.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/e93/files/patch-shell.c b/editors/e93/files/patch-shell.c new file mode 100644 index 000000000000..2e68e44ee923 --- /dev/null +++ b/editors/e93/files/patch-shell.c @@ -0,0 +1,20 @@ +--- shell.c.orig 2013-05-22 09:35:54.000000000 +0200 ++++ shell.c 2013-05-22 09:44:04.000000000 +0200 +@@ -992,7 +992,7 @@ + Tcl_SetVar(interpreter,"SCRIPTPATH",scriptPath,TCL_LEAVE_ERR_MSG); + if(Tcl_EvalFile(interpreter,scriptPath)!=TCL_OK) + { +- SetError("%s:%d:%s",scriptPath,interpreter->errorLine,Tcl_GetStringResult(interpreter)); ++ SetError("%s:%d:%s",scriptPath,Tcl_GetErrorLine(interpreter),Tcl_GetStringResult(interpreter)); + fail=true; + } + } +@@ -1066,7 +1066,7 @@ + } + else + { +- SetError("Failed to Tcl_Init(): %s",tclInterpreter->result); ++ SetError("Failed to Tcl_Init(): %s",Tcl_GetStringResult(tclInterpreter)); + } + UnInitChannels(tclInterpreter); + } |