git: a1a0a460ba88 - 2025Q3 - deskutils/recoll: fix largefile support in miniz.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Jul 2025 20:47:34 UTC
The branch 2025Q3 has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1a0a460ba88875f44e7931a8a51c2191adc5e55 commit a1a0a460ba88875f44e7931a8a51c2191adc5e55 Author: Matthias Andree <mandree@FreeBSD.org> AuthorDate: 2025-07-15 19:26:09 +0000 Commit: Matthias Andree <mandree@FreeBSD.org> CommitDate: 2025-07-15 19:32:00 +0000 deskutils/recoll: fix largefile support in miniz. recoll ships with a utils/miniz component that doesn't know we have large file support on FreeBSD. Use the apple code path for us, too, so it would use fseeko()/ftello() instead of printing this warning: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files. Bump PORTREVISION. loosely related to PR: 279960 Approved by: portmgr@ (just-fix-it blanket approval) MFH: 2025Q3 (cherry picked from commit 91f735e583b75db9061cc4b9bdba855c8bfd8b3a) --- deskutils/recoll/Makefile | 6 +++--- deskutils/recoll/files/patch-utils_miniz.cpp | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile index 2200bcd040e6..9345205bd8c6 100644 --- a/deskutils/recoll/Makefile +++ b/deskutils/recoll/Makefile @@ -1,6 +1,6 @@ PORTNAME= recoll PORTVERSION= 1.33.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= deskutils MASTER_SITES= ${WWW} @@ -19,8 +19,8 @@ RUN_DEPENDS= antiword:textproc/antiword \ unrtf:textproc/unrtf \ wpd2html:textproc/libwpd010 -USES= bison compiler:c++11-lang gmake gnome iconv libtool localbase \ - pkgconfig python shebangfix +USES= bison compiler:c++11-lang fam gmake gnome iconv libtool \ + localbase pkgconfig python shebangfix USE_GNOME= libxslt USE_LDCONFIG= yes USE_PYTHON= py3kplist diff --git a/deskutils/recoll/files/patch-utils_miniz.cpp b/deskutils/recoll/files/patch-utils_miniz.cpp new file mode 100644 index 000000000000..b3b352ac394b --- /dev/null +++ b/deskutils/recoll/files/patch-utils_miniz.cpp @@ -0,0 +1,15 @@ +Patch by Matthias Andree <mandree@freebsd.org> 2025-07-15 +to enable using 64-bit file I/O API such as ftello +that use off_t types. + +--- utils/miniz.cpp.orig 2022-01-14 09:19:07 UTC ++++ utils/miniz.cpp +@@ -3022,7 +3022,7 @@ static FILE *mz_freopen(const char *pPath, const char + #define MZ_FFLUSH fflush + #define MZ_FREOPEN(p, m, s) freopen64(p, m, s) + #define MZ_DELETE_FILE remove +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) || defined(__FreeBSD__) + #ifndef MINIZ_NO_TIME + #include <utime.h> + #endif