diff --git a/webkit2gtk3-ppc-build-fix.patch b/webkit2gtk3-ppc-build-fix.patch new file mode 100644 index 0000000..4fe8828 --- /dev/null +++ b/webkit2gtk3-ppc-build-fix.patch @@ -0,0 +1,13 @@ +diff --git a/Source/bmalloc/bmalloc/BPlatform.h b/Source/bmalloc/bmalloc/BPlatform.h +index c49a6b90e26..ebafe03d77d 100644 +--- a/Source/bmalloc/bmalloc/BPlatform.h ++++ b/Source/bmalloc/bmalloc/BPlatform.h +@@ -40,7 +40,7 @@ + #define BOS_DARWIN 1 + #endif + +-#ifdef __unix ++#if defined(__unix) || defined(__unix__) + #define BOS_UNIX 1 + #endif + diff --git a/webkit2gtk3.changes b/webkit2gtk3.changes index ff29a00..d8fb558 100644 --- a/webkit2gtk3.changes +++ b/webkit2gtk3.changes @@ -1,12 +1,20 @@ +------------------------------------------------------------------- +Tue Feb 18 21:31:17 UTC 2020 - Michael Gorse + +- Add webkit2gtk3-ppc-build-fix.patch: fix ppc64le build failure on + SLE 15. + ------------------------------------------------------------------- Fri Feb 14 11:10:03 UTC 2020 - Bjørn Lie -- Update to version 2.26.4: +- Update to version 2.26.4 (boo#1163809): + Always use a light theme for rendering form controls. + Fix the build with WPE renderer disabled. + Fix the build with OpenGL disabled. + Fix the build with GCC 10. + Fix several crashes and rendering issues. + + Security fixes: CVE-2020-3862, CVE-2020-3864, CVE-2020-3865, + CVE-2020-3867, CVE-2020-3868. ------------------------------------------------------------------- Sat Jan 25 14:21:01 UTC 2020 - Dominique Leuenberger diff --git a/webkit2gtk3.spec b/webkit2gtk3.spec index 4311402..5c0f02c 100644 --- a/webkit2gtk3.spec +++ b/webkit2gtk3.spec @@ -45,6 +45,8 @@ Source99: webkit2gtk3.keyring Patch0: webkit2gtk3-fdo-soname.patch # PATCH-FIX-OPENSUSE webkit-process.patch boo#1159329 mgorse@suse.com -- use single web process for evolution and geary. Patch1: webkit-process.patch +# PATCH-FIX-UPSTREAM webkit2gtk3-ppc-build-fix.patch webkit#207906 mgorse@suse.com -- fix the build on ppc64le. +Patch2: webkit2gtk3-ppc-build-fix.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel @@ -274,6 +276,7 @@ A small test browswer from webkit, useful for testing features. %if 0%{?suse_version} <= 1500 %patch1 -p1 %endif +%patch2 -p1 %build %define _lto_cflags %{nil}