summaryrefslogtreecommitdiff
path: root/editors/e93/files/patch-shellcmd.c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2019-03-29 13:58:23 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2019-03-29 13:58:23 +0000
commit540f1696d2c5d7a969ec0a294a8c04e8e0416fef (patch)
tree6cd791bd3dee5072fc34215320fbca70c3462606 /editors/e93/files/patch-shellcmd.c
parentUpdate 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-shellcmd.c')
-rw-r--r--editors/e93/files/patch-shellcmd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/e93/files/patch-shellcmd.c b/editors/e93/files/patch-shellcmd.c
new file mode 100644
index 000000000000..9e2967dec9dc
--- /dev/null
+++ b/editors/e93/files/patch-shellcmd.c
@@ -0,0 +1,11 @@
+--- shellcmd.c.orig 2013-05-22 09:45:47.000000000 +0200
++++ shellcmd.c 2013-05-22 09:46:25.000000000 +0200
+@@ -6354,7 +6354,7 @@
+ {
+ if(tclResult!=TCL_OK)
+ {
+- sprintf(tempString,"Error in line %d: ",localInterpreter->errorLine);
++ sprintf(tempString,"Error in line %d: ",Tcl_GetErrorLine(localInterpreter));
+ EditorAuxInsert(buffer,(UINT8 *)tempString,(UINT32)strlen(tempString));
+ }
+ EditorAuxInsert(buffer,(UINT8 *)stringResult,(UINT32)strlen(stringResult));