diff --git a/aspell-0.60.6.1-sw.patch b/aspell-0.60.6.1-sw.patch new file mode 100755 index 0000000000000000000000000000000000000000..1e528191a7cf42044fb4faf9dedacad7f5642b9c --- /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 3d8439388d670dc1e9a79e1fc512abcc0da456eb..85c78537bec45def1ab472e5f15e178a94748093 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