[packages/dovecot] fix linking with icu 76
atler
atler at pld-linux.org
Tue Jan 21 18:32:34 CET 2025
commit 4409a17c8e57fe2c5de1f38c51bd79ec96caff73
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jan 21 18:07:40 2025 +0100
fix linking with icu 76
dovecot.spec | 12 +++++++-----
icu76.patch | 11 +++++++++++
2 files changed, 18 insertions(+), 5 deletions(-)
---
diff --git a/dovecot.spec b/dovecot.spec
index d6af65a..8611519 100644
--- a/dovecot.spec
+++ b/dovecot.spec
@@ -28,6 +28,7 @@ Patch1: %{name}-rpath.patch
Patch2: %{name}-shebang.patch
Patch3: proc-status.patch
Patch4: openssl3.patch
+Patch5: icu76.patch
URL: http://dovecot.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -165,11 +166,12 @@ Pakiet programistyczny do tworzenia wtyczek dla Dovecota.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
%{__sed} -i 's,/usr/lib/dovecot,%{_libdir}/dovecot,g' doc/example-config/*.conf doc/example-config/conf.d/*.conf
diff --git a/icu76.patch b/icu76.patch
new file mode 100644
index 0000000..b078b17
--- /dev/null
+++ b/icu76.patch
@@ -0,0 +1,11 @@
+--- dovecot-2.3.21.1/m4/want_icu.m4.orig 2024-08-13 12:37:50.000000000 +0200
++++ dovecot-2.3.21.1/m4/want_icu.m4 2025-01-21 17:49:01.402262183 +0100
+@@ -1,7 +1,7 @@
+ AC_DEFUN([DOVECOT_WANT_ICU], [
+ if test "$want_icu" != "no"; then
+ if test "$PKG_CONFIG" != "" && $PKG_CONFIG --exists icu-i18n 2>/dev/null; then
+- PKG_CHECK_MODULES(LIBICU, icu-i18n)
++ PKG_CHECK_MODULES(LIBICU, [icu-i18n icu-uc])
+ have_icu=yes
+ AC_DEFINE(HAVE_LIBICU,, [Define if you want ICU normalization support for FTS])
+ elif test "$want_icu" = "yes"; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dovecot.git/commitdiff/4409a17c8e57fe2c5de1f38c51bd79ec96caff73
More information about the pld-cvs-commit
mailing list