diff --git a/dovecot-2.3.21.1-link-icu-uc.patch b/dovecot-2.3.21.1-link-icu-uc.patch new file mode 100644 index 0000000000000000000000000000000000000000..c7d9a27ca201ea08a6e1d47d3290fe7a52eec463 --- /dev/null +++ b/dovecot-2.3.21.1-link-icu-uc.patch @@ -0,0 +1,11 @@ +--- dovecot-2.3.21.1/m4/want_icu.m4.orig 2024-10-27 21:48:06.430987100 +0800 ++++ dovecot-2.3.21.1/m4/want_icu.m4 2024-10-27 21:48:28.717847700 +0800 +@@ -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 diff --git a/dovecot.spec b/dovecot.spec index 6531bc20aaedc121b9d3f5b58a8c50e870f2ea1b..35e05bdf271f502bbd6988a6d9a392006227558a 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -6,7 +6,7 @@ Name: dovecot Version: 2.3.21.1 -Release: 2 +Release: 3 Summary: Dovecot Secure imap server License: MIT AND LGPL-2.1-only URL: https://www.dovecot.org/ @@ -39,6 +39,7 @@ Patch9: dovecot-2.3.15-valbasherr.patch Patch11: CVE-2022-30550_1.patch Patch12: CVE-2022-30550_2.patch Patch13: dovecot-2.3.15-opensslv3.patch +Patch14: dovecot-2.3.21.1-link-icu-uc.patch BuildRequires: gcc-c++ openssl-devel pam-devel zlib-devel bzip2-devel libcap-devel BuildRequires: libtool autoconf automake pkgconfig sqlite-devel libpq-devel @@ -309,6 +310,9 @@ make check %changelog +* Sun Oct 27 2024 Funda Wang - 1:2.3.21.1-3 +- link with icu-uc for icu >= 76 + * Wed Oct 02 2024 Funda Wang - 1:2.3.21.1-2 - update pigeonhole to 0.5.21.1