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 df1be16..8962d8f 100644 --- a/aspell.spec +++ b/aspell.spec @@ -1,6 +1,6 @@ Name: aspell Version: 0.60.6.1 -Release: 28 +Release: 29 Summary: Spell checker Epoch: 12 License: LGPLv2+ and LGPLv2 and GPLv2+ and BSD @@ -19,6 +19,7 @@ Patch0008: aspell-0.60.6.1-fix-back-on-empty-vector.patch Patch0009: CVE-2019-17544.patch Patch0010: CVE-2019-20433-1.patch Patch0011: CVE-2019-20433-2.patch +Patch0012: aspell-0.60.6.1-sw.patch BuildRequires: chrpath gettext ncurses-devel pkgconfig perl-interpreter gcc-c++ @@ -113,6 +114,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-29 +- add sw64 patch + * Wed Sep 29 2021 yaoxin - 12:0.60.6.1-28 - fix CVE-2019-20433