diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index bc78f143b7cf99fe12d6ff943fe9ca72fb2f619e..b9eae9e27b8d32ab37889de02cb0095f9eb0d0e3 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -9,7 +9,7 @@ #Basic Information Name: webkit2gtk3 Version: 2.36.3 -Release: 1 +Release: 2 Summary: GTK+ Web content engine library License: LGPLv2 URL: https://www.webkitgtk.org/ @@ -20,6 +20,9 @@ Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc #Patch6000: backport-CVE-2021-42762.patch #Patch6001: backport-CVE-2022-30293-CVE-2022-30294.patch +%ifarch sw_64 +Patch1: webkitgtk-2.32.1-sw.patch +%endif #Dependency BuildRequires: at-spi2-core-devel bison cairo-devel cmake enchant2-devel @@ -209,6 +212,9 @@ done %endif %changelog +* Wed Oct 26 2022 wuzx - 2.36.3-2 +- Add sw64 architecture + * Mon Jun 13 2022 lin zhang 2.36.3-1 - Update to 2.36.3 diff --git a/webkitgtk-2.32.1-sw.patch b/webkitgtk-2.32.1-sw.patch new file mode 100755 index 0000000000000000000000000000000000000000..5c35d14c86d136b79a889c8221477c89842571fa --- /dev/null +++ b/webkitgtk-2.32.1-sw.patch @@ -0,0 +1,12 @@ +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) || \