git: 0d2d645f7f5b - main - devel/libzim: Change LIB_DEPENDS from xapian-core to xapian-core14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Apr 2026 22:10:06 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d2d645f7f5b95374c424acbd5fb15f57500e93c
commit 0d2d645f7f5b95374c424acbd5fb15f57500e93c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-18 21:45:09 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-18 21:55:53 +0000
devel/libzim: Change LIB_DEPENDS from xapian-core to xapian-core14
- Bump PORTREVISION for dependency change
libzim fails to build with xapian-core 2.0.0.
The build error is as follows:
c++ -Isrc/libzim.so.9.2.3.p -Isrc -I../src -Iinclude -I../include -Istatic -I/usr/local/include -fdiagnostics-color=never -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -Wall -Winvalid-pch -Werror -std=c++17 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLIBZIM_EXPORT_PRIVATE_DLL -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MQ src/libzim.so.9.2.3.p/suggestion.cpp.o -MF src/libzim.so.9.2.3.p/suggestion.cpp.o.d -o src/libzim.so.9.2.3.p/suggestion.cpp.o -c ../src/suggestion.cpp
../src/suggestion.cpp:103:31: error: no member named 'empty' in 'Xapian::Internal::intrusive_ptr_nonnull<Xapian::Database::Internal>'
103 | return !m_database.internal.empty();
| ~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
---
devel/libzim/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/devel/libzim/Makefile b/devel/libzim/Makefile
index 7fb5eaf877f7..af9fc0075c7f 100644
--- a/devel/libzim/Makefile
+++ b/devel/libzim/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libzim
DISTVERSION= 9.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://download.openzim.org/release/libzim/
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
# must be present as soon as configure time.
BUILD_DEPENDS= googletest>0:devel/googletest
LIB_DEPENDS= libicui18n.so:devel/icu \
- libxapian.so:databases/xapian-core \
+ libxapian.so:databases/xapian-core14 \
libzstd.so:archivers/zstd
# Python is necessary for the build against Xapian and for Meson's 'test' target