This commit is contained in:
wzx 2022-07-29 15:18:33 +08:00
parent 9f5e3edba1
commit 2be163fc33
2 changed files with 17 additions and 1 deletions

12
aspell-0.60.6.1-sw.patch Executable file
View File

@ -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";;

View File

@ -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<wuzx1226@qq.com> - 12:0.60.6.1-29
- add sw64 patch
* Wed Sep 29 2021 yaoxin<yaoxin30@huawei.com> - 12:0.60.6.1-28
- fix CVE-2019-20433