diff --git a/0001-fix-build-failed-for-loongarch.patch b/0001-fix-build-failed-for-loongarch.patch new file mode 100644 index 0000000000000000000000000000000000000000..66efc939f4012c544582c5059754ee44926530f5 --- /dev/null +++ b/0001-fix-build-failed-for-loongarch.patch @@ -0,0 +1,27 @@ +From ed802f514202066929a3a7002144325cb4415551 Mon Sep 17 00:00:00 2001 +From: baiyanjie +Date: Mon, 6 Jan 2025 13:52:55 +0800 +Subject: [PATCH] fix build failed for loongarch + +--- + src/EDITME | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/EDITME b/src/EDITME +index dbf009fb9..72ca8052e 100644 +--- a/src/EDITME ++++ b/src/EDITME +@@ -424,8 +424,8 @@ LOOKUP_MYSQL=2 + LOOKUP_MYSQL_PC=libmariadb + LOOKUP_NIS=yes + # LOOKUP_NISPLUS=yes +-CFLAGS+=-I/usr/include/nsl -I/usr/include/tirpc +-LIBS+=-L/usr/$(_lib)/nsl ++CFLAGS+=-I/usr/include/nsl -I/usr/include/tirpc -I/usr/include/mysql ++LIBS+=-L/usr/$(_lib)/nsl -lmysqlclient + + # LOOKUP_ORACLE=yes + LOOKUP_PASSWD=yes +-- +2.47.0.windows.2 + diff --git a/exim.spec b/exim.spec index cbc3e732c50408601520415236f241c6e83d74c6..e1158b8e9c87dd2267aafdbad0d299a76b60e06d 100644 --- a/exim.spec +++ b/exim.spec @@ -4,7 +4,7 @@ Summary: The exim mail transfer agent Name: exim Version: 4.97.1 -Release: 3 +Release: 4 License: GPLv2+ Url: https://www.exim.org/ @@ -44,6 +44,7 @@ Patch4: CVE-2023-51766.patch Patch5: backport-bug3099-Fix-MIME-parsing-of-filenames-specified-using-multiple-parameters.patch Patch6: backport-bug3099-MIME-support-RFC-2331-for-name.patch +Patch7: 0001-fix-build-failed-for-loongarch.patch Requires: /etc/pki/tls/certs /etc/pki/tls/private Requires: setup @@ -484,6 +485,9 @@ fi %{_sysconfdir}/cron.daily/greylist-tidy.sh %changelog +* Tue Jan 21 2025 baiyanjie - 4.97.1-4 +- Fix build failed for loongarch64 + * Tue Jul 9 2024 zhangxianting - 4.97.1-3 - fix CVE-2024-39929