webkit-gtk: Update to 2.28.0 Changes: WebKitGTK 2.28.0 ================ - Enable JIT in MIPS platform. - Do not limit the surrounding text for input methods to current paragraph. - Fix the build with OpenGL disabled. - Fix the build when Wayland target is disabled. - Fix the build on ppc64le if __unix is undefined. - Fix several crashes and rendering issues. - Translation updates: Polish. WebKitGTK 2.27.91 ================= - Update user agent quirks to fix the unsupported browser message in several google services. - Fix several compile warnings with GCC 10. - Fix the build with GCC 10. - Fix several crashes and rendering issues. - Translation updates: Chinese WebKitGTK 2.27.90 ================= - Add support for same-site cookies. - Add flatpak sandbox support. - Enable WebAudio and WebGL by default in WebKitSettings. - Add a setting to disallow top level navigation to a data URI. - Add support for the -webkit-font-smoothing CSS property. - Always use a light theme for rendering form controls. - Stop making the Web Inspector windows transient. - Ensure mouse cursor is hidden during fullscreen video playback. - Add support for inspecting service workers to the remote inspector. - Fix several crashes and rendering issues. WebKitGTK 2.27.4 ================ - Add API for input methods. - Add API to serialize/deserialize a JSCValue to/from a JSON string. - Add support for strict secure cookies. - Add support for saving data from remote inspector. - Make ondemand hardware acceleration policy never leave accelerated compositing mode. - Fix rendering of conic gradients in high resolution displays. - Fix special combination characters not respecting the keystroke order when high CPU load. - Honor the IndexedDB directory set in WebsiteDataManager. - Fix rendering of text when there's an initial advance in the text run. - Fix web process crash when displaying a KaTeX formula. - Fix network process crash with PSON enabled. - Fix several crashes and rendering issues. WebKitGTK 2.27.3 ================ - Add support for Pointer Lock API. - Improve performance when falling back to system fonts. - Stop using DBus for the remote inspector implementation to improve the performance of both WebDriver and remote inspector. - Implement support for new ARIA roles: code, strong, emphasis, generic. - Fix handling of content type with new custom protocols implementation. - Make image decoders fully thread safe. - Add support for get page source command in WebDriver. - Add support for network proxy capabilities in WebDriver. - Add support for new window command in WebDriver. - Fix several crashes and rendering issues. - Translation updates: Brazilian Portuguese, Ukrainian. WebKitGTK 2.27.2 ================ - Add user messages API for the communication with the web extension. - Enable service workers by default. - Add support for saving data in Web Inspector. - More navigation gesture improvement. - Fix the build with WebDriver disabled. - Show also client EGL extensions in about:gpu. - Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland. - Fix several crashes and rendering issues. WebKitGTK 2.27.1 ================ - Enable async scrolling when accelerating compositing policy is 'always'. - Add about:gpu to show information about the graphics stack. - Add API to enable Process Swap on (Cross-site) Navigation, that is now disabled by default. - Add WebKitWebView:page-id property. - Improve swipe navigation gesture style. - Fix several crashes and rendering issues.diff -r1.180 -r1.181 pkgsrc/www/webkit-gtk/Makefile
(leot)
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.180 2020/03/08 16:48:19 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.181 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | DISTNAME= webkitgtk-2.26.4 | 3 | DISTNAME= webkitgtk-2.28.0 | |
4 | PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} | 4 | PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= www | 5 | CATEGORIES= www | |
7 | MASTER_SITES= https://www.webkitgtk.org/releases/ | 6 | MASTER_SITES= https://www.webkitgtk.org/releases/ | |
8 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://www.webkitgtk.org/ | 10 | HOMEPAGE= https://www.webkitgtk.org/ | |
12 | COMMENT= GTK port of the WebKit browser engine | 11 | COMMENT= GTK port of the WebKit browser engine | |
13 | LICENSE= 2-clause-bsd AND gnu-lgpl-v2 | 12 | LICENSE= 2-clause-bsd AND gnu-lgpl-v2 | |
14 | 13 | |||
15 | # 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 | |
16 | NOT_FOR_PLATFORM= NetBSD-[1-6].*-* | 15 | NOT_FOR_PLATFORM= NetBSD-[1-6].*-* | |
17 | 16 | |||
18 | TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools | 17 | TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.57 2020/02/14 19:15:54 leot Exp $ | 1 | @comment $NetBSD: PLIST,v 1.58 2020/03/10 18:14:04 leot Exp $ | |
2 | bin/WebKitWebDriver | 2 | bin/WebKitWebDriver | |
3 | include/webkitgtk-4.0/JavaScriptCore/JSBase.h | 3 | include/webkitgtk-4.0/JavaScriptCore/JSBase.h | |
4 | include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h | 4 | include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h | |
5 | include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h | 5 | include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h | |
6 | include/webkitgtk-4.0/JavaScriptCore/JSStringRef.h | 6 | include/webkitgtk-4.0/JavaScriptCore/JSStringRef.h | |
7 | include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h | 7 | include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h | |
8 | include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h | 8 | include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h | |
9 | include/webkitgtk-4.0/JavaScriptCore/JavaScript.h | 9 | include/webkitgtk-4.0/JavaScriptCore/JavaScript.h | |
10 | include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h | 10 | include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h | |
11 | include/webkitgtk-4.0/jsc/JSCAutocleanups.h | 11 | include/webkitgtk-4.0/jsc/JSCAutocleanups.h | |
12 | include/webkitgtk-4.0/jsc/JSCClass.h | 12 | include/webkitgtk-4.0/jsc/JSCClass.h | |
13 | include/webkitgtk-4.0/jsc/JSCContext.h | 13 | include/webkitgtk-4.0/jsc/JSCContext.h | |
14 | include/webkitgtk-4.0/jsc/JSCDefines.h | 14 | include/webkitgtk-4.0/jsc/JSCDefines.h | |
@@ -38,55 +38,58 @@ include/webkitgtk-4.0/webkit2/WebKitDown | @@ -38,55 +38,58 @@ include/webkitgtk-4.0/webkit2/WebKitDown | |||
38 | include/webkitgtk-4.0/webkit2/WebKitEditingCommands.h | 38 | include/webkitgtk-4.0/webkit2/WebKitEditingCommands.h | |
39 | include/webkitgtk-4.0/webkit2/WebKitEditorState.h | 39 | include/webkitgtk-4.0/webkit2/WebKitEditorState.h | |
40 | include/webkitgtk-4.0/webkit2/WebKitEnumTypes.h | 40 | include/webkitgtk-4.0/webkit2/WebKitEnumTypes.h | |
41 | include/webkitgtk-4.0/webkit2/WebKitError.h | 41 | include/webkitgtk-4.0/webkit2/WebKitError.h | |
42 | include/webkitgtk-4.0/webkit2/WebKitFaviconDatabase.h | 42 | include/webkitgtk-4.0/webkit2/WebKitFaviconDatabase.h | |
43 | include/webkitgtk-4.0/webkit2/WebKitFileChooserRequest.h | 43 | include/webkitgtk-4.0/webkit2/WebKitFileChooserRequest.h | |
44 | include/webkitgtk-4.0/webkit2/WebKitFindController.h | 44 | include/webkitgtk-4.0/webkit2/WebKitFindController.h | |
45 | include/webkitgtk-4.0/webkit2/WebKitFormSubmissionRequest.h | 45 | include/webkitgtk-4.0/webkit2/WebKitFormSubmissionRequest.h | |
46 | include/webkitgtk-4.0/webkit2/WebKitForwardDeclarations.h | 46 | include/webkitgtk-4.0/webkit2/WebKitForwardDeclarations.h | |
47 | include/webkitgtk-4.0/webkit2/WebKitFrame.h | 47 | include/webkitgtk-4.0/webkit2/WebKitFrame.h | |
48 | include/webkitgtk-4.0/webkit2/WebKitGeolocationManager.h | 48 | include/webkitgtk-4.0/webkit2/WebKitGeolocationManager.h | |
49 | include/webkitgtk-4.0/webkit2/WebKitGeolocationPermissionRequest.h | 49 | include/webkitgtk-4.0/webkit2/WebKitGeolocationPermissionRequest.h | |
50 | include/webkitgtk-4.0/webkit2/WebKitHitTestResult.h | 50 | include/webkitgtk-4.0/webkit2/WebKitHitTestResult.h | |
51 | include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h | |||
51 | include/webkitgtk-4.0/webkit2/WebKitInstallMissingMediaPluginsPermissionRequest.h | 52 | include/webkitgtk-4.0/webkit2/WebKitInstallMissingMediaPluginsPermissionRequest.h | |
52 | include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h | 53 | include/webkitgtk-4.0/webkit2/WebKitJavascriptResult.h | |
53 | include/webkitgtk-4.0/webkit2/WebKitMimeInfo.h | 54 | include/webkitgtk-4.0/webkit2/WebKitMimeInfo.h | |
54 | include/webkitgtk-4.0/webkit2/WebKitNavigationAction.h | 55 | include/webkitgtk-4.0/webkit2/WebKitNavigationAction.h | |
55 | include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h | 56 | include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h | |
56 | include/webkitgtk-4.0/webkit2/WebKitNetworkProxySettings.h | 57 | include/webkitgtk-4.0/webkit2/WebKitNetworkProxySettings.h | |
57 | include/webkitgtk-4.0/webkit2/WebKitNotification.h | 58 | include/webkitgtk-4.0/webkit2/WebKitNotification.h | |
58 | include/webkitgtk-4.0/webkit2/WebKitNotificationPermissionRequest.h | 59 | include/webkitgtk-4.0/webkit2/WebKitNotificationPermissionRequest.h | |
59 | include/webkitgtk-4.0/webkit2/WebKitOptionMenu.h | 60 | include/webkitgtk-4.0/webkit2/WebKitOptionMenu.h | |
60 | include/webkitgtk-4.0/webkit2/WebKitOptionMenuItem.h | 61 | include/webkitgtk-4.0/webkit2/WebKitOptionMenuItem.h | |
61 | include/webkitgtk-4.0/webkit2/WebKitPermissionRequest.h | 62 | include/webkitgtk-4.0/webkit2/WebKitPermissionRequest.h | |
62 | include/webkitgtk-4.0/webkit2/WebKitPlugin.h | 63 | include/webkitgtk-4.0/webkit2/WebKitPlugin.h | |
64 | include/webkitgtk-4.0/webkit2/WebKitPointerLockPermissionRequest.h | |||
63 | include/webkitgtk-4.0/webkit2/WebKitPolicyDecision.h | 65 | include/webkitgtk-4.0/webkit2/WebKitPolicyDecision.h | |
64 | include/webkitgtk-4.0/webkit2/WebKitPrintCustomWidget.h | 66 | include/webkitgtk-4.0/webkit2/WebKitPrintCustomWidget.h | |
65 | include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h | 67 | include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h | |
66 | include/webkitgtk-4.0/webkit2/WebKitResponsePolicyDecision.h | 68 | include/webkitgtk-4.0/webkit2/WebKitResponsePolicyDecision.h | |
67 | include/webkitgtk-4.0/webkit2/WebKitScriptDialog.h | 69 | include/webkitgtk-4.0/webkit2/WebKitScriptDialog.h | |
68 | include/webkitgtk-4.0/webkit2/WebKitScriptWorld.h | 70 | include/webkitgtk-4.0/webkit2/WebKitScriptWorld.h | |
69 | include/webkitgtk-4.0/webkit2/WebKitSecurityManager.h | 71 | include/webkitgtk-4.0/webkit2/WebKitSecurityManager.h | |
70 | include/webkitgtk-4.0/webkit2/WebKitSecurityOrigin.h | 72 | include/webkitgtk-4.0/webkit2/WebKitSecurityOrigin.h | |
71 | include/webkitgtk-4.0/webkit2/WebKitSettings.h | 73 | include/webkitgtk-4.0/webkit2/WebKitSettings.h | |
72 | include/webkitgtk-4.0/webkit2/WebKitURIRequest.h | 74 | include/webkitgtk-4.0/webkit2/WebKitURIRequest.h | |
73 | include/webkitgtk-4.0/webkit2/WebKitURIResponse.h | 75 | include/webkitgtk-4.0/webkit2/WebKitURIResponse.h | |
74 | include/webkitgtk-4.0/webkit2/WebKitURISchemeRequest.h | 76 | include/webkitgtk-4.0/webkit2/WebKitURISchemeRequest.h | |
75 | include/webkitgtk-4.0/webkit2/WebKitURIUtilities.h | 77 | include/webkitgtk-4.0/webkit2/WebKitURIUtilities.h | |
76 | include/webkitgtk-4.0/webkit2/WebKitUserContent.h | 78 | include/webkitgtk-4.0/webkit2/WebKitUserContent.h | |
77 | include/webkitgtk-4.0/webkit2/WebKitUserContentFilterStore.h | 79 | include/webkitgtk-4.0/webkit2/WebKitUserContentFilterStore.h | |
78 | include/webkitgtk-4.0/webkit2/WebKitUserContentManager.h | 80 | include/webkitgtk-4.0/webkit2/WebKitUserContentManager.h | |
79 | include/webkitgtk-4.0/webkit2/WebKitUserMediaPermissionRequest.h | 81 | include/webkitgtk-4.0/webkit2/WebKitUserMediaPermissionRequest.h | |
82 | include/webkitgtk-4.0/webkit2/WebKitUserMessage.h | |||
80 | include/webkitgtk-4.0/webkit2/WebKitVersion.h | 83 | include/webkitgtk-4.0/webkit2/WebKitVersion.h | |
81 | include/webkitgtk-4.0/webkit2/WebKitWebContext.h | 84 | include/webkitgtk-4.0/webkit2/WebKitWebContext.h | |
82 | include/webkitgtk-4.0/webkit2/WebKitWebEditor.h | 85 | include/webkitgtk-4.0/webkit2/WebKitWebEditor.h | |
83 | include/webkitgtk-4.0/webkit2/WebKitWebExtension.h | 86 | include/webkitgtk-4.0/webkit2/WebKitWebExtension.h | |
84 | include/webkitgtk-4.0/webkit2/WebKitWebExtensionAutocleanups.h | 87 | include/webkitgtk-4.0/webkit2/WebKitWebExtensionAutocleanups.h | |
85 | include/webkitgtk-4.0/webkit2/WebKitWebHitTestResult.h | 88 | include/webkitgtk-4.0/webkit2/WebKitWebHitTestResult.h | |
86 | include/webkitgtk-4.0/webkit2/WebKitWebInspector.h | 89 | include/webkitgtk-4.0/webkit2/WebKitWebInspector.h | |
87 | include/webkitgtk-4.0/webkit2/WebKitWebPage.h | 90 | include/webkitgtk-4.0/webkit2/WebKitWebPage.h | |
88 | include/webkitgtk-4.0/webkit2/WebKitWebProcessEnumTypes.h | 91 | include/webkitgtk-4.0/webkit2/WebKitWebProcessEnumTypes.h | |
89 | include/webkitgtk-4.0/webkit2/WebKitWebResource.h | 92 | include/webkitgtk-4.0/webkit2/WebKitWebResource.h | |
90 | include/webkitgtk-4.0/webkit2/WebKitWebView.h | 93 | include/webkitgtk-4.0/webkit2/WebKitWebView.h | |
91 | include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h | 94 | include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h | |
92 | include/webkitgtk-4.0/webkit2/WebKitWebViewSessionState.h | 95 | include/webkitgtk-4.0/webkit2/WebKitWebViewSessionState.h | |
@@ -203,30 +206,30 @@ include/webkitgtk-4.0/webkitdom/WebKitDO | @@ -203,30 +206,30 @@ include/webkitgtk-4.0/webkitdom/WebKitDO | |||
203 | include/webkitgtk-4.0/webkitdom/WebKitDOMUIEvent.h | 206 | include/webkitgtk-4.0/webkitdom/WebKitDOMUIEvent.h | |
204 | include/webkitgtk-4.0/webkitdom/WebKitDOMWheelEvent.h | 207 | include/webkitgtk-4.0/webkitdom/WebKitDOMWheelEvent.h | |
205 | include/webkitgtk-4.0/webkitdom/WebKitDOMXPathExpression.h | 208 | include/webkitgtk-4.0/webkitdom/WebKitDOMXPathExpression.h | |
206 | include/webkitgtk-4.0/webkitdom/WebKitDOMXPathNSResolver.h | 209 | include/webkitgtk-4.0/webkitdom/WebKitDOMXPathNSResolver.h | |
207 | include/webkitgtk-4.0/webkitdom/WebKitDOMXPathResult.h | 210 | include/webkitgtk-4.0/webkitdom/WebKitDOMXPathResult.h | |
208 | include/webkitgtk-4.0/webkitdom/webkitdom.h | 211 | include/webkitgtk-4.0/webkitdom/webkitdom.h | |
209 | include/webkitgtk-4.0/webkitdom/webkitdomautocleanups.h | 212 | include/webkitgtk-4.0/webkitdom/webkitdomautocleanups.h | |
210 | include/webkitgtk-4.0/webkitdom/webkitdomdefines.h | 213 | include/webkitgtk-4.0/webkitdom/webkitdomdefines.h | |
211 | ${PLIST.introspection}lib/girepository-1.0/JavaScriptCore-4.0.typelib | 214 | ${PLIST.introspection}lib/girepository-1.0/JavaScriptCore-4.0.typelib | |
212 | ${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib | 215 | ${PLIST.introspection}lib/girepository-1.0/WebKit2-4.0.typelib | |
213 | ${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib | 216 | ${PLIST.introspection}lib/girepository-1.0/WebKit2WebExtension-4.0.typelib | |
214 | lib/libjavascriptcoregtk-4.0.so | 217 | lib/libjavascriptcoregtk-4.0.so | |
215 | lib/libjavascriptcoregtk-4.0.so.18 | 218 | lib/libjavascriptcoregtk-4.0.so.18 | |
216 | lib/libjavascriptcoregtk-4.0.so.18.14.9 | 219 | lib/libjavascriptcoregtk-4.0.so.18.16.3 | |
217 | lib/libwebkit2gtk-4.0.so | 220 | lib/libwebkit2gtk-4.0.so | |
218 | lib/libwebkit2gtk-4.0.so.37 | 221 | lib/libwebkit2gtk-4.0.so.37 | |
219 | lib/libwebkit2gtk-4.0.so.37.39.5 | 222 | lib/libwebkit2gtk-4.0.so.37.44.2 | |
220 | lib/pkgconfig/javascriptcoregtk-4.0.pc | 223 | lib/pkgconfig/javascriptcoregtk-4.0.pc | |
221 | lib/pkgconfig/webkit2gtk-4.0.pc | 224 | lib/pkgconfig/webkit2gtk-4.0.pc | |
222 | lib/pkgconfig/webkit2gtk-web-extension-4.0.pc | 225 | lib/pkgconfig/webkit2gtk-web-extension-4.0.pc | |
223 | lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so | 226 | lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so | |
224 | libexec/webkit2gtk-4.0/MiniBrowser | 227 | libexec/webkit2gtk-4.0/MiniBrowser | |
225 | libexec/webkit2gtk-4.0/WebKitNetworkProcess | 228 | libexec/webkit2gtk-4.0/WebKitNetworkProcess | |
226 | libexec/webkit2gtk-4.0/WebKitPluginProcess | 229 | libexec/webkit2gtk-4.0/WebKitPluginProcess | |
227 | libexec/webkit2gtk-4.0/WebKitWebProcess | 230 | libexec/webkit2gtk-4.0/WebKitWebProcess | |
228 | libexec/webkit2gtk-4.0/jsc | 231 | libexec/webkit2gtk-4.0/jsc | |
229 | ${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir | 232 | ${PLIST.introspection}share/gir-1.0/JavaScriptCore-4.0.gir | |
230 | ${PLIST.introspection}share/gir-1.0/WebKit2-4.0.gir | 233 | ${PLIST.introspection}share/gir-1.0/WebKit2-4.0.gir | |
231 | ${PLIST.introspection}share/gir-1.0/WebKit2WebExtension-4.0.gir | 234 | ${PLIST.introspection}share/gir-1.0/WebKit2WebExtension-4.0.gir | |
232 | share/locale/ar/LC_MESSAGES/WebKit2GTK-4.0.mo | 235 | share/locale/ar/LC_MESSAGES/WebKit2GTK-4.0.mo |
@@ -1,34 +1,37 @@ | @@ -1,34 +1,37 @@ | |||
1 | $NetBSD: distinfo,v 1.132 2020/02/14 19:15:54 leot Exp $ | 1 | $NetBSD: distinfo,v 1.133 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | SHA1 (webkitgtk-2.26.4.tar.xz) = 72f209c08ecc8ad4f0f6b767d4fa1be7a652df33 | 3 | SHA1 (webkitgtk-2.28.0.tar.xz) = 927d0922b986fd06567015ce4425ed05d9fca209 | |
4 | RMD160 (webkitgtk-2.26.4.tar.xz) = b1dc653c9d675914f296a4bc0e63ea2b4fec7041 | 4 | RMD160 (webkitgtk-2.28.0.tar.xz) = 672920e0fbd4dc18427bec7bce5276970b5e7b66 | |
5 | SHA512 (webkitgtk-2.26.4.tar.xz) = b4d96672d0a41fb7591dd312254fc1b7a85e632923bf2d954d79d395306db96d5a6b4f85e24ea4ba0a447e45e29a41882249c26f6b2d6d572225abefcf28a474 | 5 | SHA512 (webkitgtk-2.28.0.tar.xz) = ce6b770e99741be6d353716d1e7bccba1372ed4667baeec41428d73c3502b0baa1cb8932f6bcede9c87d9b7f54b57a5a85a056c9882d4c5b34f9c70e6a2124dd | |
6 | Size (webkitgtk-2.26.4.tar.xz) = 19329636 bytes | 6 | Size (webkitgtk-2.28.0.tar.xz) = 21425084 bytes | |
7 | SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297 | 7 | SHA1 (patch-CMakeLists.txt) = 08f647f6928bf3fce0dabb02586e1447d16da297 | |
8 | SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528 | 8 | SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528 | |
9 | SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697 | 9 | SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697 | |
10 | SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 2a8f28316ffd1acc0e8c746ad8c9cee9aaf8c611 | 10 | SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b | |
11 | SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd | 11 | SHA1 (patch-Source_JavaScriptCore_assembler_ARMv7Assembler.h) = 70975aac175ec4131a4ed26a54dfe51e16ffb7cd | |
12 | SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = e6a23d5ef22bddd0a9606fb0e472960e4cf5673e | 12 | SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = d49d91b9ff637ac4583d0c78c93efea12b07cd02 | |
13 | SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d600887955128cecece21ba401f6f53ba5cfbeb6 | 13 | SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = d04f2f59094d9b8af663fb68090e440887830d74 | |
14 | SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93 | 14 | SHA1 (patch-Source_JavaScriptCore_offlineasm_arm64.rb) = 8c05dafa317667bbf55504d05eeb8ae06fba4e93 | |
15 | SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012 | 15 | SHA1 (patch-Source_JavaScriptCore_runtime_MachineContext.h) = 23bc86a389f8009ec829c3ee0fe3effe3f20b012 | |
16 | SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = b536bcbe0ac4ff158b5bc35dfa363d00120ed2f0 | 16 | SHA1 (patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh) = 0c0d5ef4e3bad794388fa406c35b34aa4d816f05 | |
17 | SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 00ee667591627b104135862658f8182895b51003 | 17 | SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h) = 10debffda84bc752ed434657a337a466aad19a3a | |
18 | SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b | 18 | SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = a5454eb891ad1f9d8285c28af2e9efb4ff439e6b | |
19 | SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46 | 19 | SHA1 (patch-Source_WTF_wtf_FileSystem.cpp) = 53a8e65970f15202b3cdf1f4149d35b431c32a46 | |
20 | SHA1 (patch-Source_WTF_wtf_Platform.h) = 584720f4e248ff7e51166c267d08954786c28ab7 | 20 | SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = eb5598c20c8453314daba7897066f15827bbede7 | |
21 | SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = b440e7041f72e76ab840977fc4d48d6dd32ed2ed | 21 | SHA1 (patch-Source_WTF_wtf_PlatformHave.h) = 3787817a0e288d00aa747c417aecd9abf52866d1 | |
22 | SHA1 (patch-Source_WTF_wtf_PlatformOS.h) = 80aa6ff20f10407d447fdb41606d4bb4989351aa | |||
23 | SHA1 (patch-Source_WTF_wtf_PlatformUse.h) = 595486b48e7d89378208c0a209a121ef136415e6 | |||
24 | SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 81f8f63b4f974601cd50b1d49fcb89f326a43437 | |||
22 | SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3 | 25 | SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 22a71daac8443f079ad8bcc7285cfd7319c972b3 | |
23 | SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615 | 26 | SHA1 (patch-Source_WebCore_Scripts_check-xcfilelists.sh) = b292baf2494bcd459d9af91386263123046c6615 | |
24 | SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc | 27 | SHA1 (patch-Source_WebCore_Scripts_generate-unified-sources.sh) = 740eb33931b6f9cb8008748323235f23466328dc | |
25 | SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3 | 28 | SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3 | |
26 | SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9 | 29 | SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9 | |
27 | SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea | 30 | SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea | |
28 | SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8 | 31 | SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8 | |
29 | SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173 | 32 | SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173 | |
30 | SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d | 33 | SHA1 (patch-Source_WebKit_PlatformGTK.cmake) = 61d2b4942b83d3f3c1b642d122f109ba90bbff9d | |
31 | SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 35b62538d09af8725202673a2a23d814f624f8bd | 34 | SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 35b62538d09af8725202673a2a23d814f624f8bd | |
32 | SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6 | 35 | SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6 | |
33 | SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878 | 36 | SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878 | |
34 | SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663 | 37 | SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663 |
@@ -1,34 +1,34 @@ | @@ -1,34 +1,34 @@ | |||
1 | # $NetBSD: options.mk,v 1.20 2020/01/05 17:55:21 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.21 2020/03/10 18:14:04 leot Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk | |
5 | PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland | 5 | PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland | |
6 | PKG_SUGGESTED_OPTIONS= enchant introspection opengl | 6 | PKG_SUGGESTED_OPTIONS= enchant introspection opengl | |
7 | .include "../../devel/wayland/platform.mk" | 7 | .include "../../devel/wayland/platform.mk" | |
8 | .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" | 8 | .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" | |
9 | PKG_SUGGESTED_OPTIONS+= wayland | 9 | PKG_SUGGESTED_OPTIONS+= wayland | |
10 | .endif | 10 | .endif | |
11 | 11 | |||
12 | PLIST_VARS= introspection | 12 | PLIST_VARS= introspection | |
13 | 13 | |||
14 | .include "../../mk/bsd.fast.prefs.mk" | 14 | .include "../../mk/bsd.fast.prefs.mk" | |
15 | 15 | |||
16 | # | 16 | # | |
17 | # Platforms that support the webkit-jit option | 17 | # Platforms that support the webkit-jit option | |
18 | # | 18 | # | |
19 | # Please see: | 19 | # Please see: | |
20 | # Source/cmake/WebKitFeatures.cmake | 20 | # Source/cmake/WebKitFeatures.cmake | |
21 | # Source/WTF/wtf/Platform.h | 21 | # Source/WTF/wtf/PlatformEnable.h | |
22 | # | 22 | # | |
23 | WEBKIT_JIT_MACHINE_PLATFORMS+= Darwin-*-* | 23 | WEBKIT_JIT_MACHINE_PLATFORMS+= Darwin-*-* | |
24 | WEBKIT_JIT_MACHINE_PLATFORMS+= DragonFly-*-* | 24 | WEBKIT_JIT_MACHINE_PLATFORMS+= DragonFly-*-* | |
25 | WEBKIT_JIT_MACHINE_PLATFORMS+= FreeBSD-*-x86_64 FreeBSD-*-aarch64 | 25 | WEBKIT_JIT_MACHINE_PLATFORMS+= FreeBSD-*-x86_64 FreeBSD-*-aarch64 | |
26 | WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-x86_64 Linux-*-arm* | 26 | WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-x86_64 Linux-*-arm* | |
27 | WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-aarch64 Linux-*-mips* | 27 | WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-aarch64 Linux-*-mips* | |
28 | WEBKIT_JIT_MACHINE_PLATFORMS+= NetBSD-*-x86_64 NetBSD-*-aarch64 | 28 | WEBKIT_JIT_MACHINE_PLATFORMS+= NetBSD-*-x86_64 NetBSD-*-aarch64 | |
29 | 29 | |||
30 | .if !empty(WEBKIT_JIT_MACHINE_PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) | 30 | .if !empty(WEBKIT_JIT_MACHINE_PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) | |
31 | PKG_SUGGESTED_OPTIONS+= webkit-jit | 31 | PKG_SUGGESTED_OPTIONS+= webkit-jit | |
32 | .endif | 32 | .endif | |
33 | 33 | |||
34 | .include "../../mk/bsd.options.mk" | 34 | .include "../../mk/bsd.options.mk" |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | $NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.4 2019/07/02 10:48:08 leot Exp $ | 1 | $NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.5 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | - Add support for FreeBSD and NetBSD. | 3 | - Add support for FreeBSD and NetBSD. | |
4 | Based on patch from FreeBSD ports but using __builtin___clear_cache() | 4 | Based on patch from FreeBSD ports but using __builtin___clear_cache() | |
5 | instead of __clear_cache() (the former is also available in gcc). | 5 | instead of __clear_cache() (the former is also available in gcc). | |
6 | 6 | |||
7 | --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-02-12 11:21:03.000000000 +0000 | 7 | --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2020-02-04 10:23:58.000000000 +0000 | |
8 | +++ Source/JavaScriptCore/assembler/ARM64Assembler.h | 8 | +++ Source/JavaScriptCore/assembler/ARM64Assembler.h | |
9 | @@ -2874,6 +2874,8 @@ public: | 9 | @@ -2809,6 +2809,8 @@ public: | |
10 | { | 10 | { | |
11 | #if OS(IOS_FAMILY) | 11 | #if OS(DARWIN) | |
12 | sys_cache_control(kCacheFunctionPrepareForExecution, code, size); | 12 | sys_cache_control(kCacheFunctionPrepareForExecution, code, size); | |
13 | +#elif OS(FREEBSD) || OS(NETBSD) | 13 | +#elif OS(FREEBSD) || OS(NETBSD) | |
14 | + __builtin___clear_cache(code, reinterpret_cast<char*>(code) + size); | 14 | + __builtin___clear_cache(code, reinterpret_cast<char*>(code) + size); | |
15 | #elif OS(FUCHSIA) | 15 | #elif OS(FUCHSIA) | |
16 | zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN); | 16 | zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN); | |
17 | #elif OS(LINUX) | 17 | #elif OS(LINUX) |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.1 2018/06/15 09:17:02 jperkin Exp $ | 1 | $NetBSD: patch-Source_JavaScriptCore_heap_MarkedSpace.cpp,v 1.2 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | Avoid ambiguous function call. | 3 | Avoid ambiguous function call. | |
4 | 4 | |||
5 | --- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig 2018-02-20 11:01:51.000000000 +0000 | 5 | --- Source/JavaScriptCore/heap/MarkedSpace.cpp.orig 2020-02-04 10:23:59.000000000 +0000 | |
6 | +++ Source/JavaScriptCore/heap/MarkedSpace.cpp | 6 | +++ Source/JavaScriptCore/heap/MarkedSpace.cpp | |
7 | @@ -29,6 +29,8 @@ | 7 | @@ -30,6 +30,8 @@ | |
8 | #include "MarkedBlockInlines.h" | 8 | #include "MarkedSpaceInlines.h" | |
9 | #include <wtf/ListDump.h> | 9 | #include <wtf/ListDump.h> | |
10 | 10 | |||
11 | +using std::pow; | 11 | +using std::pow; | |
12 | + | 12 | + | |
13 | namespace JSC { | 13 | namespace JSC { | |
14 | 14 | |||
15 | std::array<size_t, MarkedSpace::numSizeClasses> MarkedSpace::s_sizeClassForSizeStep; | 15 | std::array<size_t, MarkedSpace::numSizeClasses> MarkedSpace::s_sizeClassForSizeStep; |
@@ -1,15 +1,24 @@ | @@ -1,15 +1,24 @@ | |||
1 | $NetBSD: patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh,v 1.1 2019/09/10 22:10:04 leot Exp $ | 1 | $NetBSD: patch-Source_ThirdParty_ANGLE_adjust-angle-include-paths.sh,v 1.2 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | Avoid unportable `==' test(1) operator. | 3 | Avoid unportable `==' test(1) operator. | |
4 | 4 | |||
5 | --- Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh.orig 2019-08-28 11:46:28.000000000 +0000 | 5 | --- Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh.orig 2020-02-04 10:24:05.000000000 +0000 | |
6 | +++ Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh | 6 | +++ Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh | |
7 | @@ -19,7 +19,7 @@ | 7 | @@ -19,7 +19,7 @@ | |
8 | # that they refer to each other. This avoids modifying the ANGLE | 8 | # that they refer to each other. This avoids modifying the ANGLE | |
9 | # sources, and allows WebCore to more easily call ANGLE APIs directly. | 9 | # sources, and allows WebCore to more easily call ANGLE APIs directly. | |
10 | 10 | |||
11 | -if [ "$DEPLOYMENT_LOCATION" == "YES" ] ; then | 11 | -if [ "$DEPLOYMENT_LOCATION" == "YES" ] ; then | |
12 | +if [ "$DEPLOYMENT_LOCATION" = "YES" ] ; then | 12 | +if [ "$DEPLOYMENT_LOCATION" = "YES" ] ; then | |
13 | # Apple-internal build. | 13 | # Apple-internal build. | |
14 | output_dir=$DSTROOT/$PUBLIC_HEADERS_FOLDER_PATH | 14 | output_dir=${DSTROOT}${PUBLIC_HEADERS_FOLDER_PATH} | |
15 | else | 15 | else | |
16 | @@ -27,7 +27,7 @@ else | |||
17 | output_dir=${BUILT_PRODUCTS_DIR}${PUBLIC_HEADERS_FOLDER_PATH} | |||
18 | fi | |||
19 | ||||
20 | -if [ $(uname) == "Linux" ]; then | |||
21 | +if [ $(uname) = "Linux" ]; then | |||
22 | inplace_opt=(-i) | |||
23 | else | |||
24 | inplace_opt=(-i "") |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h,v 1.1 2019/09/15 10:58:52 leot Exp $ | 1 | $NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_SymbolTable.h,v 1.2 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | Include <cmath> for is isinf/isnan used in SymbolTable_autogen.cpp. | 3 | Include <cmath> for is isinf/isnan used in SymbolTable_autogen.cpp. | |
4 | 4 | |||
5 | --- Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h.orig 2019-08-28 11:46:28.000000000 +0000 | 5 | --- Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h.orig 2020-02-04 10:24:05.000000000 +0000 | |
6 | +++ Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h | 6 | +++ Source/ThirdParty/ANGLE/src/compiler/translator/SymbolTable.h | |
7 | @@ -30,6 +30,7 @@ | 7 | @@ -30,6 +30,7 @@ | |
8 | // are tracked in the intermediate representation, not the symbol table. | 8 | // are tracked in the intermediate representation, not the symbol table. | |
9 | // | 9 | // | |
10 | 10 | |||
11 | +#include <cmath> | 11 | +#include <cmath> | |
12 | #include <limits> | |||
12 | #include <memory> | 13 | #include <memory> | |
13 | #include <set> | 14 | #include <set> | |
14 |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.3 2019/03/13 20:49:40 leot Exp $ | 1 | $NetBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | Avoid to (pre)allocate 1GB of memory on OpenBSD: | 3 | Avoid to (pre)allocate 1GB of memory on OpenBSD: | |
4 | 4 | |||
5 | <https://bugs.webkit.org/show_bug.cgi?id=61137> | 5 | <https://bugs.webkit.org/show_bug.cgi?id=61137> | |
6 | 6 | |||
7 | From OpenBSD ports. | 7 | From OpenBSD ports. | |
8 | 8 | |||
9 | --- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig 2019-02-12 11:21:03.000000000 +0000 | 9 | --- Source/JavaScriptCore/jit/ExecutableAllocator.cpp.orig 2020-02-04 10:23:59.000000000 +0000 | |
10 | +++ Source/JavaScriptCore/jit/ExecutableAllocator.cpp | 10 | +++ Source/JavaScriptCore/jit/ExecutableAllocator.cpp | |
11 | @@ -92,7 +92,7 @@ static const size_t fixedExecutableMemor | 11 | @@ -97,7 +97,7 @@ static constexpr size_t fixedExecutableM | |
12 | static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024; | 12 | static constexpr size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024; | |
13 | #elif CPU(ARM64) | 13 | #elif CPU(ARM64) | |
14 | static const size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024; | 14 | static constexpr size_t fixedExecutableMemoryPoolSize = 128 * 1024 * 1024; | |
15 | -#elif CPU(X86_64) | 15 | -#elif CPU(X86_64) | |
16 | +#elif CPU(X86_64) && !OS(OPENBSD) | 16 | +#elif CPU(X86_64) && !OS(OPENBSD) | |
17 | static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024; | 17 | static constexpr size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024; | |
18 | #else | 18 | #else | |
19 | static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024; | 19 | static constexpr size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024; |
@@ -1,38 +1,38 @@ | @@ -1,38 +1,38 @@ | |||
1 | $NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.3 2019/03/27 10:50:30 jperkin Exp $ | 1 | $NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.4 2020/03/10 18:14:04 leot Exp $ | |
2 | 2 | |||
3 | Add support for NetBSD and SunOS. | 3 | Add support for NetBSD and SunOS. | |
4 | 4 | |||
5 | --- Source/WTF/wtf/RAMSize.cpp.orig 2019-02-12 11:21:17.000000000 +0000 | 5 | --- Source/WTF/wtf/RAMSize.cpp.orig 2020-02-04 10:24:07.000000000 +0000 | |
6 | +++ Source/WTF/wtf/RAMSize.cpp | 6 | +++ Source/WTF/wtf/RAMSize.cpp | |
7 | @@ -35,13 +35,19 @@ | 7 | @@ -35,13 +35,19 @@ | |
8 | #if OS(LINUX) | 8 | #if OS(LINUX) | |
9 | #include <sys/sysinfo.h> | 9 | #include <sys/sysinfo.h> | |
10 | #endif // OS(LINUX) | 10 | #endif // OS(LINUX) | |
11 | +#if OS(SOLARIS) | 11 | +#if OS(SOLARIS) | |
12 | +#include <unistd.h> | 12 | +#include <unistd.h> | |
13 | +#endif | 13 | +#endif | |
14 | +#if OS(NETBSD) | 14 | +#if OS(NETBSD) | |
15 | +#include <sys/sysctl.h> | 15 | +#include <sys/sysctl.h> | |
16 | +#endif // OS(NETBSD) | 16 | +#endif // OS(NETBSD) | |
17 | #else | 17 | #else | |
18 | #include <bmalloc/bmalloc.h> | 18 | #include <bmalloc/bmalloc.h> | |
19 | #endif | 19 | #endif | |
20 | 20 | |||
21 | namespace WTF { | 21 | namespace WTF { | |
22 | 22 | |||
23 | -#if OS(WINDOWS) | 23 | -#if OS(WINDOWS) | |
24 | +#if OS(WINDOWS) || (OS(NETBSD) && defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC) | 24 | +#if OS(WINDOWS) || (OS(NETBSD) && defined(USE_SYSTEM_MALLOC) && USE_SYSTEM_MALLOC) | |
25 | static const size_t ramSizeGuess = 512 * MB; | 25 | static constexpr size_t ramSizeGuess = 512 * MB; | |
26 | #endif | 26 | #endif | |
27 | 27 | |||
28 | @@ -59,9 +65,20 @@ static size_t computeRAMSize() | 28 | @@ -59,9 +65,20 @@ static size_t computeRAMSize() | |
29 | struct sysinfo si; | 29 | struct sysinfo si; | |
30 | sysinfo(&si); | 30 | sysinfo(&si); | |
31 | return si.totalram * si.mem_unit; | 31 | return si.totalram * si.mem_unit; | |
32 | +#elif OS(SOLARIS) | 32 | +#elif OS(SOLARIS) | |
33 | + return (sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE)); | 33 | + return (sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE)); | |
34 | +#elif OS(NETBSD) | 34 | +#elif OS(NETBSD) | |
35 | + int mib[2]; | 35 | + int mib[2]; | |
36 | + size_t len, totalram; | 36 | + size_t len, totalram; | |
37 | + mib[0] = CTL_HW; | 37 | + mib[0] = CTL_HW; | |
38 | + mib[1] = HW_USERMEM64; | 38 | + mib[1] = HW_USERMEM64; |
$NetBSD: patch-Source_WTF_wtf_PlatformEnable.h,v 1.1 2020/03/10 18:14:04 leot Exp $
Enable the JIT on NetBSD.
--- Source/WTF/wtf/PlatformEnable.h.orig 2020-02-04 10:24:07.000000000 +0000
+++ Source/WTF/wtf/PlatformEnable.h
@@ -625,12 +625,12 @@
#if !defined(ENABLE_DFG_JIT) && ENABLE(JIT)
/* Enable the DFG JIT on X86 and X86_64. */
-#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(HURD) || OS(WINDOWS))
+#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD) || OS(HURD) || OS(WINDOWS))
#define ENABLE_DFG_JIT 1
#endif
-/* Enable the DFG JIT on ARMv7. Only tested on iOS, Linux, and FreeBSD. */
-#if (CPU(ARM_THUMB2) || CPU(ARM64)) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD))
+/* Enable the DFG JIT on ARMv7. Only tested on iOS, Linux, and FreeBSD and NetBSD. */
+#if (CPU(ARM_THUMB2) || CPU(ARM64)) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD))
#define ENABLE_DFG_JIT 1
#endif
$NetBSD: patch-Source_WTF_wtf_PlatformHave.h,v 1.1 2020/03/10 18:14:04 leot Exp $
Add support for NetBSD.
--- Source/WTF/wtf/PlatformHave.h.orig 2020-02-26 10:34:01.000000000 +0000
+++ Source/WTF/wtf/PlatformHave.h
@@ -222,7 +222,7 @@
#define HAVE_HOSTED_CORE_ANIMATION 1
#endif
-#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
+#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || OS(NETBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
#define HAVE_MACHINE_CONTEXT 1
#endif
$NetBSD: patch-Source_WTF_wtf_PlatformOS.h,v 1.1 2020/03/10 18:14:04 leot Exp $
Add OS(SOLARIS) definition and add them to Unix systems.
--- Source/WTF/wtf/PlatformOS.h.orig 2020-02-04 10:24:07.000000000 +0000
+++ Source/WTF/wtf/PlatformOS.h
@@ -114,6 +114,11 @@
#define WTF_OS_OPENBSD 1
#endif
+/* OS(SOLARIS) - Solaris and derivatives */
+#ifdef __sun
+#define WTF_OS_SOLARIS 1
+#endif
+
/* OS(WINDOWS) - Any version of Windows */
#if defined(WIN32) || defined(_WIN32)
#define WTF_OS_WINDOWS 1
@@ -129,6 +134,7 @@
|| OS(LINUX) \
|| OS(NETBSD) \
|| OS(OPENBSD) \
+ || OS(SOLARIS) \
|| defined(unix) \
|| defined(__unix) \
|| defined(__unix__)
$NetBSD: patch-Source_WTF_wtf_PlatformUse.h,v 1.1 2020/03/10 18:14:04 leot Exp $
Avoid flock() on SunOS, not supported on older platforms.
--- Source/WTF/wtf/PlatformUse.h.orig 2020-02-04 10:24:07.000000000 +0000
+++ Source/WTF/wtf/PlatformUse.h
@@ -87,7 +87,7 @@
#define USE_CF 1
#endif
-#if PLATFORM(COCOA) || (PLATFORM(GTK) || PLATFORM(WPE))
+#if (PLATFORM(COCOA) || (PLATFORM(GTK) || PLATFORM(WPE))) && !OS(SOLARIS)
#define USE_FILE_LOCK 1
#endif