Modfiy loongarch64 and sw_64 support use all arch

This commit is contained in:
lingsheng 2024-08-29 03:06:49 +00:00
parent 2920468e13
commit edcae5c6f6
5 changed files with 16 additions and 34 deletions

View File

@ -14,19 +14,14 @@
Name: webkit2gtk3
Version: 2.38.2
Release: 9
Release: 10
Summary: GTK web content engine library
License: LGPLv2
URL: https://www.webkitgtk.org/
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
%ifarch loongarch64
Patch0001: 0001-webkitgtk-add-loongarch.patch
%endif
%ifarch sw_64
Patch0002: webkitgtk-2.32.1-sw.patch
%endif
Patch1000: webkitgtk-add-loongarch-and-sw.patch
Patch6000: backport-CVE-2023-28204.patch
Patch6001: backport-CVE-2023-32373.patch
@ -294,6 +289,9 @@ popd
%endif
%changelog
* Thu Aug 29 2024 lingsheng <lingsheng1@h-partners.com> - 2.38.2-10
- Modfiy loongarch64 and sw_64 support use all arch
* Mon Aug 26 2024 lingsheng <lingsheng1@h-partners.com> - 2.38.2-9
- fix CVE-2024-4558 CVE-2024-40779 CVE-2024-40780

View File

@ -14,19 +14,14 @@
Name: webkit2gtk4.1
Version: 2.38.2
Release: 9
Release: 10
Summary: GTK web content engine library
License: LGPLv2
URL: https://www.webkitgtk.org/
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
%ifarch loongarch64
Patch0001: 0001-webkitgtk-add-loongarch.patch
%endif
%ifarch sw_64
Patch0002: webkitgtk-2.32.1-sw.patch
%endif
Patch1000: webkitgtk-add-loongarch-and-sw.patch
Patch6000: backport-CVE-2023-28204.patch
Patch6001: backport-CVE-2023-32373.patch
@ -263,6 +258,9 @@ popd
%endif
%changelog
* Thu Aug 29 2024 lingsheng <lingsheng1@h-partners.com> - 2.38.2-10
- Modfiy loongarch64 and sw_64 support use all arch
* Mon Aug 26 2024 lingsheng <lingsheng1@h-partners.com> - 2.38.2-9
- fix CVE-2024-4558 CVE-2024-40779 CVE-2024-40780

View File

@ -14,19 +14,14 @@
Name: webkit2gtk5.0
Version: 2.38.2
Release: 9
Release: 10
Summary: GTK web content engine library
License: LGPLv2
URL: https://www.webkitgtk.org/
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
%ifarch loongarch64
Patch0001: 0001-webkitgtk-add-loongarch.patch
%endif
%ifarch sw_64
Patch0002: webkitgtk-2.32.1-sw.patch
%endif
Patch1000: webkitgtk-add-loongarch-and-sw.patch
Patch6000: backport-CVE-2023-28204.patch
Patch6001: backport-CVE-2023-32373.patch
@ -263,6 +258,9 @@ popd
%endif
%changelog
* Thu Aug 29 2024 lingsheng <lingsheng1@h-partners.com> - 2.38.2-10
- Modfiy loongarch64 and sw_64 support use all arch
* Mon Aug 26 2024 lingsheng <lingsheng1@h-partners.com> - 2.38.2-9
- fix CVE-2024-4558 CVE-2024-40779 CVE-2024-40780

View File

@ -1,12 +0,0 @@
diff -Naur webkitgtk-2.32.1.org/Source/WTF/wtf/dtoa/utils.h webkitgtk-2.32.1.sw/Source/WTF/wtf/dtoa/utils.h
--- webkitgtk-2.32.1.org/Source/WTF/wtf/dtoa/utils.h 2022-06-06 15:32:28.840000000 +0000
+++ webkitgtk-2.32.1.sw/Source/WTF/wtf/dtoa/utils.h 2022-06-06 15:33:01.600000000 +0000
@@ -86,7 +86,7 @@
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
- defined(__SH4__) || defined(__alpha__) || \
+ defined(__SH4__) || defined(__alpha__) || defined(__sw_64__) || \
defined(_MIPS_ARCH_MIPS32R2) || \
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__riscv) || \

View File

@ -5,7 +5,7 @@
defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
- defined(__SH4__) || defined(__alpha__) || \
+ defined(__SH4__) || defined(__alpha__) || defined(__loongarch64) || \
+ defined(__SH4__) || defined(__alpha__) || defined(__loongarch64) || defined(__sw_64__) || \
defined(_MIPS_ARCH_MIPS32R2) || \
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__riscv) || \