From e922a71a90c048397ede8c3932e0fba2a9416764 Mon Sep 17 00:00:00 2001 From: wzx <471319475@qq.com> Date: Fri, 29 Jul 2022 15:22:06 +0800 Subject: [PATCH] sw --- aspell-0.60.6.1-sw.patch | 12 ++++++++++++ aspell.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 aspell-0.60.6.1-sw.patch diff --git a/aspell-0.60.6.1-sw.patch b/aspell-0.60.6.1-sw.patch new file mode 100755 index 0000000..1e52819 --- /dev/null +++ b/aspell-0.60.6.1-sw.patch @@ -0,0 +1,12 @@ +diff -Naur aspell-0.60.6.1.org/m4/intdiv0.m4 aspell-0.60.6.1.sw/m4/intdiv0.m4 +--- aspell-0.60.6.1.org/m4/intdiv0.m4 2022-02-25 16:17:38.620000000 +0000 ++++ aspell-0.60.6.1.sw/m4/intdiv0.m4 2022-02-25 16:18:08.210000000 +0000 +@@ -54,7 +54,7 @@ + [ + # Guess based on the CPU. + case "$host_cpu" in +- alpha* | i[34567]86 | m68k | s390*) ++ sw_64* | alpha* | i[34567]86 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; diff --git a/aspell.spec b/aspell.spec index 3d84393..85c7853 100644 --- a/aspell.spec +++ b/aspell.spec @@ -1,6 +1,6 @@ Name: aspell Version: 0.60.6.1 -Release: 29 +Release: 30 Summary: Spell checker Epoch: 12 License: LGPLv2+ and LGPLv2 and GPLv2+ and BSD @@ -20,6 +20,7 @@ Patch0009: CVE-2019-17544.patch Patch0010: CVE-2019-25051.patch Patch0011: CVE-2019-20433-1.patch Patch0012: CVE-2019-20433-2.patch +Patch0013: aspell-0.60.6.1-sw.patch BuildRequires: chrpath gettext ncurses-devel pkgconfig perl-interpreter gcc-c++ @@ -114,6 +115,9 @@ rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man1/aspell-import.1 %{_mandir}/man1/pspell-config.1* %changelog +* Thu Jul 28 2022 wuzx - 12:0.60.6.1-30 +- add sw64 patch + * Tue Sep 28 2021 yaoxin - 12:0.60.6.1-29 - fix CVE-2019-20433 -- Gitee