git: 2306a677bec7 - main - archivers/zim-tools: Support ICU 76.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jan 2025 15:50:14 UTC
The branch main has been updated by olce:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2306a677bec7b7034f5b0b1e750de020f69f7017
commit 2306a677bec7b7034f5b0b1e750de020f69f7017
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-01-27 15:32:55 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-01-27 15:41:24 +0000
archivers/zim-tools: Support ICU 76.1
This change is similar to what was done to devel/libzim.
It allows to build against ICU 76.1, without disturbing the build
against older versions (e.g., 74.2).
This is a maintainer update (olce.freebsd.ports@certner.fr).
PR: 278420
Sponsored by: The FreeBSD Foundation
---
archivers/zim-tools/files/patch-meson.build | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/archivers/zim-tools/files/patch-meson.build b/archivers/zim-tools/files/patch-meson.build
index b913095ecb3b..ab35295d50b2 100644
--- a/archivers/zim-tools/files/patch-meson.build
+++ b/archivers/zim-tools/files/patch-meson.build
@@ -1,6 +1,6 @@
--- meson.build.orig 2024-09-08 18:40:36 UTC
+++ meson.build
-@@ -17,10 +17,10 @@ endif
+@@ -17,15 +17,16 @@ endif
endif
endif
@@ -14,3 +14,10 @@
find_library_in_compiler = meson.version().version_compare('>=0.31.0')
rt_dep = dependency('rt', required:false)
+ docopt_dep = dependency('docopt', static:static_linkage)
+-icu_dep = dependency('icu-i18n', static:static_linkage)
++icu_dep = [dependency('icu-i18n', static:static_linkage), \
++ dependency('icu-uc', static:static_linkage)]
+
+ with_writer = host_machine.system() != 'windows'
+