From c68c50cd8d5fff81803dc0174f610c772976c565 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Sat, 22 Nov 2025 03:39:00 +0000 Subject: misc/far2l: update the port to version 2.7.0 (step over) - Removed PCRE library dependency (was used by multiarc plugin) - New hex editor plugin (ported from Far3) + preliminary support for viewing and editing UTF-8 characters - Do not try to compile find_plt_entry_for_symbol() and commented out patch_plt() functions as it is currently 64-bit-only, Linux- specific code which parses hardcoded `/proc/self/maps' file - Provide separate icons for WX versions of far2l and far2ledit - Drop the list of working plugins in the port description which is becoming hard to keep accurate as the project develops Reported by: portscout --- misc/far2l/files/patch-arclite_src_Patch7zCP.cpp | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 misc/far2l/files/patch-arclite_src_Patch7zCP.cpp (limited to 'misc/far2l/files/patch-arclite_src_Patch7zCP.cpp') diff --git a/misc/far2l/files/patch-arclite_src_Patch7zCP.cpp b/misc/far2l/files/patch-arclite_src_Patch7zCP.cpp new file mode 100644 index 000000000000..c8a459db31fe --- /dev/null +++ b/misc/far2l/files/patch-arclite_src_Patch7zCP.cpp @@ -0,0 +1,27 @@ +--- arclite/src/Patch7zCP.cpp.orig 2025-10-26 08:39:52 UTC ++++ arclite/src/Patch7zCP.cpp +@@ -641,7 +641,7 @@ FAR_ALIGNED(16) void CItem::GetUnicodeString(UString & + //{ + // return NULL; + //} +-#else ++#elif 0 // unused, incomplete 64-bit-only linux-specific code + void **find_plt_entry_for_symbol(struct link_map *map, void *target_addr) + { + // ElfW(Dyn) *dynamic = map->l_ld; +@@ -776,6 +776,7 @@ bool get_faddrs(void *handle) + return true; + } + ++#if 0 // unused, incomplete 64-bit-only linux-specific code + static bool patch_plt(void *handle) + { + #if defined(__APPLE__) || defined(__UCLIBC__) +@@ -812,6 +813,7 @@ static bool patch_plt(void *handle) + return true; + #endif + } ++#endif + + static bool patch_addr(void *handle) + { -- cgit v1.2.3