From 540f1696d2c5d7a969ec0a294a8c04e8e0416fef Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 29 Mar 2019 13:58:23 +0000 Subject: - 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 - 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) --- editors/e93/files/patch-search.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 editors/e93/files/patch-search.h (limited to 'editors/e93/files/patch-search.h') 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); -- cgit v1.2.3