diff options
Diffstat (limited to 'editors/e93/files')
-rw-r--r-- | editors/e93/files/patch-Makefile | 24 | ||||
-rw-r--r-- | editors/e93/files/patch-search.h | 13 | ||||
-rw-r--r-- | editors/e93/files/patch-shell.c | 20 | ||||
-rw-r--r-- | editors/e93/files/patch-shellcmd.c | 11 |
4 files changed, 68 insertions, 0 deletions
diff --git a/editors/e93/files/patch-Makefile b/editors/e93/files/patch-Makefile new file mode 100644 index 000000000000..bdf0245702b4 --- /dev/null +++ b/editors/e93/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig 2009-07-21 15:04:13 UTC ++++ Makefile +@@ -49,17 +49,17 @@ OBJECTS = \ + abort.o \ + errors.o + +-all : libgui e93 ++all : e93 + + e93 : $(OBJECTS) xgui/libgui.a +- $(CC) -O $(OBJECTS) -Lxgui -lgui -lstdc++ \ ++ $(CC) $(CFLAGS:N-D*:N-I*) $(OBJECTS) -Lxgui -lgui \ + $(X_LIB) -lX11 -lXinerama \ + $(TCL_LIB) -ltcl$(TCL_VERSION) \ + $(EXTRALIBS) \ + -o e93 + +-libgui : +- cd xgui;make ++xgui/libgui.a : ++ $(MAKE) -C xgui + + clean : + cd xgui;make clean diff --git a/editors/e93/files/patch-search.h b/editors/e93/files/patch-search.h new file mode 100644 index 000000000000..a9e087c03134 --- /dev/null +++ b/editors/e93/files/patch-search.h @@ -0,0 +1,13 @@ +--- search.h.orig 2009-01-03 17:37:00 UTC ++++ search.h +@@ -14,8 +14,8 @@ + + bool LiteralMatch(CHUNK_HEADER *chunk,UINT32 offset,CHUNK_HEADER *forTextChunk,UINT32 forTextOffset,UINT32 numToSearch,CHUNK_HEADER **endChunk,UINT32 *endOffset); + bool LiteralMatchTT(CHUNK_HEADER *chunk,UINT32 offset,CHUNK_HEADER *forTextChunk,UINT32 forTextOffset,UINT32 numToSearch,const UINT8 *translateTable,CHUNK_HEADER **endChunk,UINT32 *endOffset); +-bool SearchForwardLiteral(CHUNK_HEADER *chunk,UINT32 offset,CHUNK_HEADER *forTextChunk,UINT32 forTextOffset,UINT32 forTextLength,UINT32 numToSearch,bool ignoreCase,UINT32 *matchOffset,CHUNK_HEADER **startChunk,UINT32 *startOffset,CHUNK_HEADER **endChunk,UINT32 *endOffset,ABORT_TEST_FUNCTION *abortFunction); +-bool SearchBackwardLiteral(CHUNK_HEADER *chunk,UINT32 offset,CHUNK_HEADER *forTextChunk,UINT32 forTextOffset,UINT32 forTextLength,UINT32 numToSearch,bool ignoreCase,UINT32 *matchOffset,CHUNK_HEADER **startChunk,UINT32 *startOffset,CHUNK_HEADER **endChunk,UINT32 *endOffset,ABORT_TEST_FUNCTION *abortFunction); ++bool SearchForwardLiteral(CHUNK_HEADER *chunk,UINT32 offset,CHUNK_HEADER *forTextChunk,UINT32 forTextOffset,UINT32 forTextLength,UINT32 numToSearch,bool ignoreCase,bool *foundMatch,UINT32 *matchOffset,UINT32 *numMatched,CHUNK_HEADER **startChunk,UINT32 *startOffset,CHUNK_HEADER **endChunk,UINT32 *endOffset,ABORT_TEST_FUNCTION *abortFunction); ++bool SearchBackwardLiteral(CHUNK_HEADER *chunk,UINT32 offset,CHUNK_HEADER *forTextChunk,UINT32 forTextOffset,UINT32 forTextLength,UINT32 numToSearch,bool ignoreCase,bool *foundMatch,UINT32 *matchOffset,UINT32 *numMatched,CHUNK_HEADER **startChunk,UINT32 *startOffset,CHUNK_HEADER **endChunk,UINT32 *endOffset,ABORT_TEST_FUNCTION *abortFunction); + bool EditorFind(EDITOR_BUFFER *buffer,SELECTION_UNIVERSE *selectionUniverse,TEXT_UNIVERSE *searchForText,bool backward,bool wrapAround,bool selectionExpr,bool ignoreCase,bool *foundMatch,SELECTION_UNIVERSE *resultSelectionUniverse,ABORT_TEST_FUNCTION *abortFunction); + bool EditorFindAll(EDITOR_BUFFER *buffer,SELECTION_UNIVERSE *selectionUniverse,TEXT_UNIVERSE *searchForText,bool backward,bool wrapAround,bool selectionExpr,bool ignoreCase,bool limitScope,bool *foundMatch,SELECTION_UNIVERSE *resultSelectionUniverse,ABORT_TEST_FUNCTION *abortFunction); + bool EditorReplace(EDITOR_BUFFER *buffer,SELECTION_UNIVERSE *selectionUniverse,TEXT_UNIVERSE *searchForText,TEXT_UNIVERSE *replaceWithText,bool backward,bool wrapAround,bool selectionExpr,bool ignoreCase,bool replaceProc,bool *foundMatch,SELECTION_UNIVERSE *resultSelectionUniverse,ABORT_TEST_FUNCTION *abortFunction); 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); + } 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)); |