Thu Jul 30 16:13:31 2020 UTC ()
Pullup ticket #6286 - requested by leot
www/webkit-gtk: security fix (WSA-2020-0007)

Revisions pulled up:
- www/webkit-gtk/Makefile                                       1.190
- www/webkit-gtk/PLIST                                          1.62
- www/webkit-gtk/distinfo                                       1.137
- www/webkit-gtk/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp 1.1
- www/webkit-gtk/patches/patch-Source_WebCore_rendering_RenderLayerBacking.h 1.1

---
   Module Name:    pkgsrc
   Committed By:   leot
   Date:           Tue Jul 28 14:24:03 UTC 2020

   Modified Files:
           pkgsrc/www/webkit-gtk: Makefile PLIST distinfo
   Added Files:
           pkgsrc/www/webkit-gtk/patches:
               patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp
               patch-Source_WebCore_rendering_RenderLayerBacking.h

   Log Message:
   webkit-gtk: Update to 2.28.4

   pkgsrc changes:
    - Define non-standard __WORDSIZE if not already defined (at the moment the
      patches directly patch problematic files where __WORDSIZE is used, it would
      be probably nicer to find a common place to define it).

   Changes:
   2.28.4
   ------
    - Fix several crashes and rendering issues.


(bsiegert)
diff -r1.188.2.1 -r1.188.2.2 pkgsrc/www/webkit-gtk/Makefile
diff -r1.60.2.1 -r1.60.2.2 pkgsrc/www/webkit-gtk/PLIST
diff -r1.135.2.1 -r1.135.2.2 pkgsrc/www/webkit-gtk/distinfo
diff -r0 -r1.1.2.2 pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp
diff -r0 -r1.1.2.2 pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_rendering_RenderLayerBacking.h

cvs diff -r1.188.2.1 -r1.188.2.2 pkgsrc/www/webkit-gtk/Makefile (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/Makefile 2020/07/11 11:51:59 1.188.2.1
+++ pkgsrc/www/webkit-gtk/Makefile 2020/07/30 16:13:31 1.188.2.2
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.188.2.1 2020/07/11 11:51:59 bsiegert Exp $ 1# $NetBSD: Makefile,v 1.188.2.2 2020/07/30 16:13:31 bsiegert Exp $
2 2
3DISTNAME= webkitgtk-2.28.3 3DISTNAME= webkitgtk-2.28.4
4PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} 4PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= https://www.webkitgtk.org/releases/ 6MASTER_SITES= https://www.webkitgtk.org/releases/
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.webkitgtk.org/ 10HOMEPAGE= https://www.webkitgtk.org/
11COMMENT= GTK port of the WebKit browser engine 11COMMENT= GTK port of the WebKit browser engine
12LICENSE= 2-clause-bsd AND gnu-lgpl-v2 12LICENSE= 2-clause-bsd AND gnu-lgpl-v2
13 13
14# shm_open(3) and shm_unlink(3) appeared in NetBSD 7.0 14# shm_open(3) and shm_unlink(3) appeared in NetBSD 7.0
15NOT_FOR_PLATFORM= NetBSD-[1-6].*-* 15NOT_FOR_PLATFORM= NetBSD-[1-6].*-*
16 16

cvs diff -r1.60.2.1 -r1.60.2.2 pkgsrc/www/webkit-gtk/PLIST (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/PLIST 2020/07/11 11:51:59 1.60.2.1
+++ pkgsrc/www/webkit-gtk/PLIST 2020/07/30 16:13:31 1.60.2.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.60.2.1 2020/07/11 11:51:59 bsiegert Exp $ 1@comment $NetBSD: PLIST,v 1.60.2.2 2020/07/30 16:13:31 bsiegert Exp $
2bin/WebKitWebDriver 2bin/WebKitWebDriver
3include/webkitgtk-4.0/JavaScriptCore/JSBase.h 3include/webkitgtk-4.0/JavaScriptCore/JSBase.h
4include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h 4include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
5include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h 5include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h
6include/webkitgtk-4.0/JavaScriptCore/JSStringRef.h 6include/webkitgtk-4.0/JavaScriptCore/JSStringRef.h
7include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h 7include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h
8include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h 8include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h
9include/webkitgtk-4.0/JavaScriptCore/JavaScript.h 9include/webkitgtk-4.0/JavaScriptCore/JavaScript.h
10include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h 10include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h
11include/webkitgtk-4.0/jsc/JSCAutocleanups.h 11include/webkitgtk-4.0/jsc/JSCAutocleanups.h
12include/webkitgtk-4.0/jsc/JSCClass.h 12include/webkitgtk-4.0/jsc/JSCClass.h
13include/webkitgtk-4.0/jsc/JSCContext.h 13include/webkitgtk-4.0/jsc/JSCContext.h
14include/webkitgtk-4.0/jsc/JSCDefines.h 14include/webkitgtk-4.0/jsc/JSCDefines.h
@@ -206,30 +206,30 @@ include/webkitgtk-4.0/webkitdom/WebKitDO @@ -206,30 +206,30 @@ include/webkitgtk-4.0/webkitdom/WebKitDO
206include/webkitgtk-4.0/webkitdom/WebKitDOMUIEvent.h 206include/webkitgtk-4.0/webkitdom/WebKitDOMUIEvent.h
207include/webkitgtk-4.0/webkitdom/WebKitDOMWheelEvent.h 207include/webkitgtk-4.0/webkitdom/WebKitDOMWheelEvent.h
208include/webkitgtk-4.0/webkitdom/WebKitDOMXPathExpression.h 208include/webkitgtk-4.0/webkitdom/WebKitDOMXPathExpression.h
209include/webkitgtk-4.0/webkitdom/WebKitDOMXPathNSResolver.h 209include/webkitgtk-4.0/webkitdom/WebKitDOMXPathNSResolver.h
210include/webkitgtk-4.0/webkitdom/WebKitDOMXPathResult.h 210include/webkitgtk-4.0/webkitdom/WebKitDOMXPathResult.h
211include/webkitgtk-4.0/webkitdom/webkitdom.h 211include/webkitgtk-4.0/webkitdom/webkitdom.h
212include/webkitgtk-4.0/webkitdom/webkitdomautocleanups.h 212include/webkitgtk-4.0/webkitdom/webkitdomautocleanups.h
213include/webkitgtk-4.0/webkitdom/webkitdomdefines.h 213include/webkitgtk-4.0/webkitdom/webkitdomdefines.h
214${PLIST.introspection}lib/girepository-1.0/JavaScriptCore-4.0.typelib 214${PLIST.introspection}lib/girepository-1.0/JavaScriptCore-4.0.typelib
215${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib 215${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib
216${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib 216${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
217lib/libjavascriptcoregtk-4.0.so 217lib/libjavascriptcoregtk-4.0.so
218lib/libjavascriptcoregtk-4.0.so.18 218lib/libjavascriptcoregtk-4.0.so.18
219lib/libjavascriptcoregtk-4.0.so.18.16.6 219lib/libjavascriptcoregtk-4.0.so.18.16.7
220lib/libwebkit2gtk-4.0.so 220lib/libwebkit2gtk-4.0.so
221lib/libwebkit2gtk-4.0.so.37 221lib/libwebkit2gtk-4.0.so.37
222lib/libwebkit2gtk-4.0.so.37.44.5 222lib/libwebkit2gtk-4.0.so.37.44.6
223lib/pkgconfig/javascriptcoregtk-4.0.pc 223lib/pkgconfig/javascriptcoregtk-4.0.pc
224lib/pkgconfig/webkit2gtk-4.0.pc 224lib/pkgconfig/webkit2gtk-4.0.pc
225lib/pkgconfig/webkit2gtk-web-extension-4.0.pc 225lib/pkgconfig/webkit2gtk-web-extension-4.0.pc
226lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so 226lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
227libexec/webkit2gtk-4.0/MiniBrowser 227libexec/webkit2gtk-4.0/MiniBrowser
228libexec/webkit2gtk-4.0/WebKitNetworkProcess 228libexec/webkit2gtk-4.0/WebKitNetworkProcess
229libexec/webkit2gtk-4.0/WebKitPluginProcess 229libexec/webkit2gtk-4.0/WebKitPluginProcess
230libexec/webkit2gtk-4.0/WebKitWebProcess 230libexec/webkit2gtk-4.0/WebKitWebProcess
231libexec/webkit2gtk-4.0/jsc 231libexec/webkit2gtk-4.0/jsc
232${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir 232${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir
233${PLIST.introspection}share/gir-1.0/WebKit2-4.0.gir 233${PLIST.introspection}share/gir-1.0/WebKit2-4.0.gir
234${PLIST.introspection}share/gir-1.0/WebKit2WebExtension-4.0.gir 234${PLIST.introspection}share/gir-1.0/WebKit2WebExtension-4.0.gir
235share/locale/ar/LC_MESSAGES/WebKit2GTK-4.0.mo 235share/locale/ar/LC_MESSAGES/WebKit2GTK-4.0.mo

cvs diff -r1.135.2.1 -r1.135.2.2 pkgsrc/www/webkit-gtk/distinfo (expand / switch to unified diff)

--- pkgsrc/www/webkit-gtk/distinfo 2020/07/11 11:51:59 1.135.2.1
+++ pkgsrc/www/webkit-gtk/distinfo 2020/07/30 16:13:31 1.135.2.2
@@ -1,42 +1,44 @@ @@ -1,42 +1,44 @@
1$NetBSD: distinfo,v 1.135.2.1 2020/07/11 11:51:59 bsiegert Exp $ 1$NetBSD: distinfo,v 1.135.2.2 2020/07/30 16:13:31 bsiegert Exp $
2 2
3SHA1 (webkitgtk-2.28.3.tar.xz) = af1d845d373e67fd666105e798a44e2cadaef83c 3SHA1 (webkitgtk-2.28.4.tar.xz) = 70e9dd80647b30eaaf8a7f5b30d8869cd1254056
4RMD160 (webkitgtk-2.28.3.tar.xz) = 2145913664c08decc1919437db97d2c79f21f153 4RMD160 (webkitgtk-2.28.4.tar.xz) = d6d4ce81153e997b1276a474bed88f2269b27cda
5SHA512 (webkitgtk-2.28.3.tar.xz) = 575184edb8279f1dca67cbeeb45280ca5da9aa388e208251d9ad7a56907950cfd85b1fc426eee90699593c428f4e1037c96cb6aa16f534c71734c64950f2d643 5SHA512 (webkitgtk-2.28.4.tar.xz) = 227cd4066235180521a32a83d3a906212adf4f234f15a1fff4ac86b48e39c431f1e0cb4a56f62924015099a0c8909a73a21a56f8dc71a16c53ac65de4a5773a1
6Size (webkitgtk-2.28.3.tar.xz) = 21425556 bytes 6Size (webkitgtk-2.28.4.tar.xz) = 21424908 bytes
7SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297 7SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297
8SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528 8SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528
9SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697 9SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697
10SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b 10SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b
11SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd 11SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd
12SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = d49d91b9ff637ac4583d0c78c93efea12b07cd02 12SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = d49d91b9ff637ac4583d0c78c93efea12b07cd02
13SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d04f2f59094d9b8af663fb68090e440887830d74 13SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d04f2f59094d9b8af663fb68090e440887830d74
14SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93 14SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93
15SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012 15SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012
16SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = 0c0d5ef4e3bad794388fa406c35b34aa4d816f05 16SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = 0c0d5ef4e3bad794388fa406c35b34aa4d816f05
17SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 10debffda84bc752ed434657a337a466aad19a3a 17SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 10debffda84bc752ed434657a337a466aad19a3a
18SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b 18SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b
19SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46 19SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46
20SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = eb5598c20c8453314daba7897066f15827bbede7 20SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = eb5598c20c8453314daba7897066f15827bbede7
21SHA1 (patch-Source_WTF_wtf_PlatformHave.h) = 3787817a0e288d00aa747c417aecd9abf52866d1 21SHA1 (patch-Source_WTF_wtf_PlatformHave.h) = 3787817a0e288d00aa747c417aecd9abf52866d1
22SHA1 (patch-Source_WTF_wtf_PlatformOS.h) = 80aa6ff20f10407d447fdb41606d4bb4989351aa 22SHA1 (patch-Source_WTF_wtf_PlatformOS.h) = 80aa6ff20f10407d447fdb41606d4bb4989351aa
23SHA1 (patch-Source_WTF_wtf_PlatformUse.h) = 595486b48e7d89378208c0a209a121ef136415e6 23SHA1 (patch-Source_WTF_wtf_PlatformUse.h) = 595486b48e7d89378208c0a209a121ef136415e6
24SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 81f8f63b4f974601cd50b1d49fcb89f326a43437 24SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 81f8f63b4f974601cd50b1d49fcb89f326a43437
25SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3 25SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3
26SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615 26SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615
27SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc 27SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc
 28SHA1 (patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp) = 03337c5eec54d6974dfea1766b14cb2c1b9f7750
28SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3 29SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3
29SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9 30SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9
 31SHA1 (patch-Source_WebCore_rendering_RenderLayerBacking.h) = ecf722df1d1cca13573786b34fe1e3d85edf1e1e
30SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea 32SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea
31SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8 33SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8
32SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173 34SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173
33SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d 35SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d
34SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 35b62538d09af8725202673a2a23d814f624f8bd 36SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 35b62538d09af8725202673a2a23d814f624f8bd
35SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6 37SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6
36SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878 38SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878
37SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663 39SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663
38SHA1 (patch-Source_bmalloc_bmalloc_BPlatform.h) = 28d1f657fde427062a729b26398e96825082fc4d 40SHA1 (patch-Source_bmalloc_bmalloc_BPlatform.h) = 28d1f657fde427062a729b26398e96825082fc4d
39SHA1 (patch-Source_bmalloc_bmalloc_VMAllocate.h) = b1eb6ab93f2ce272cfee94a544d19806feb9a625 41SHA1 (patch-Source_bmalloc_bmalloc_VMAllocate.h) = b1eb6ab93f2ce272cfee94a544d19806feb9a625
40SHA1 (patch-Source_cmake_OptionsCommon.cmake) = 03b72552414e7114bfa7ddc2d68fd97009a5ff7d 42SHA1 (patch-Source_cmake_OptionsCommon.cmake) = 03b72552414e7114bfa7ddc2d68fd97009a5ff7d
41SHA1 (patch-Tools_TestWebKitAPI_Scripts_check-xcfilelists.sh) = 6e8327bf46150806910b21b298767f313e1eb3ce 43SHA1 (patch-Tools_TestWebKitAPI_Scripts_check-xcfilelists.sh) = 6e8327bf46150806910b21b298767f313e1eb3ce
42SHA1 (patch-Tools_TestWebKitAPI_Scripts_generate-unified-sources.sh) = 06747f279263558f05bb01c8da9c994a357ce74a 44SHA1 (patch-Tools_TestWebKitAPI_Scripts_generate-unified-sources.sh) = 06747f279263558f05bb01c8da9c994a357ce74a

File Added: pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp
$NetBSD: patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES__GCM.cpp,v 1.1.2.2 2020/07/30 16:13:31 bsiegert Exp $

Define non-stardard __WORDSIZE.

--- Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp.orig	2020-02-04 10:24:07.000000000 +0000
+++ Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp
@@ -26,6 +26,10 @@
 #include "config.h"
 #include "CryptoAlgorithmAES_GCM.h"
 
+#ifndef __WORDSIZE
+#define __WORDSIZE (__SIZEOF_LONG__ * 8)
+#endif
+
 #if ENABLE(WEB_CRYPTO)
 
 #include "CryptoAlgorithmAesGcmParams.h"

File Added: pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_rendering_RenderLayerBacking.h
$NetBSD: patch-Source_WebCore_rendering_RenderLayerBacking.h,v 1.1.2.2 2020/07/30 16:13:31 bsiegert Exp $

Define non-stardard __WORDSIZE.

--- Source/WebCore/rendering/RenderLayerBacking.h.orig	2020-02-04 10:24:08.000000000 +0000
+++ Source/WebCore/rendering/RenderLayerBacking.h
@@ -33,6 +33,10 @@
 #include "RenderLayerCompositor.h"
 #include "ScrollingCoordinator.h"
 
+#ifndef __WORDSIZE
+#define __WORDSIZE (__SIZEOF_LONG__ * 8)
+#endif
+
 namespace WebCore {
 
 class EventRegionContext;