1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 VARIANTS= api40 api41 api50
8 SDESC[api50]= Opensource browser engine using GTK4 (API 5.0)
9 SDESC[api40]= Opensource browser engine using GTK+3 (API 4.0)
10 SDESC[api41]= Opensource browser engine using GTK+3 (API 4.1)
11 HOMEPAGE= https://www.webkitgtk.org/
15 SITES[main]= https://www.webkitgtk.org/releases/
16 https://fossies.org/linux/www/
17 DISTFILE[1]= webkitgtk-2.38.3.tar.xz:main
19 SPKGS[api50]= complete
22 SPKGS[api40]= complete
25 SPKGS[api41]= complete
29 OPTIONS_AVAILABLE= API40 API41 API50
30 OPTIONS_STANDARD= none
31 VOPTS[api50]= API40=OFF API41=OFF API50=ON
32 VOPTS[api40]= API40=ON API41=OFF API50=OFF
33 VOPTS[api41]= API40=OFF API41=ON API50=OFF
35 BUILD_DEPENDS= gperf:primary:standard
37 libgpg-error:dev:standard
38 gstreamer1:dev:standard
39 gstreamer1-plugins-base:dev:standard
41 BUILDRUN_DEPENDS= enchant:single:standard
42 freetype:primary:standard
44 libsecret:primary:standard
45 libnotify:primary:standard
46 hyphen:single:standard
49 libgcrypt:single:standard
50 gnutls:primary:standard
51 libtasn1:primary:standard
52 geoclue:primary:standard
54 gstreamer1-plugins-base:primary:standard
55 openjpeg:single:standard
57 USES= png mesa cmake pkgconfig sqlite bison perl:build
58 python:build ruby:build fontconfig gettext-tools cpe
59 GNOME_COMPONENTS= gdkpixbuf introspection libxslt
60 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
62 DISTNAME= webkitgtk-2.38.3
64 LICENSE= GPLv2+:primary BSD3CLAUSE:primary
65 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
66 LICENSE_FILE= GPLv2+:stock
67 BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
68 LICENSE_AWK= BSD3CLAUSE:"^$$"
70 LICENSE_SOURCE= BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
71 TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
74 CPE_PRODUCT= webkitgtk
76 FPC_EQUIVALENT= www/webkit2-gtk3
78 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}}
80 INSTALL_TARGET= install
81 INSTALL_REQ_TOOLCHAIN= yes
82 PLIST_SUB= INTRO="@comment "
84 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
85 CMAKE_ARGS= -DPORT=GTK
86 -DENABLE_GEOLOCATION:BOOL=ON
87 -DENABLE_GLES2:BOOL=ON
88 -DENABLE_MINIBROWSER:BOOL=ON
89 -DENABLE_WAYLAND_TARGET:BOOL=OFF
90 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
91 -DENABLE_GAMEPAD:BOOL=OFF
92 -DENABLE_INTROSPECTION:BOOL=OFF
93 -DENABLE_JOURNALD_LOG:BOOL=OFF
94 -DSUPPRESS_ASSERT:BOOL=ON
95 -DUSE_SYSTEMD:BOOL=OFF
96 -DUSE_GSTREAMER_GL:BOOL=OFF
97 VAR_OPSYS[sunos]= CMAKE_ARGS=-DUSE_LD_GOLD:BOOL=OFF
99 [API50].DESCRIPTION= Build WebKit2 API 5.0 variant
100 [API50].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
101 [API50].CMAKE_ARGS_ON= -DUSE_GTK4=ON
102 [API50].GNOME_COMPONENTS_ON= gtk4
103 [API50].PLIST_SUB_ON= JSSOVERSION=0.0.0
110 [API40].DESCRIPTION= Build WebKit2 API 4.0 variant
111 [API40].BUILDRUN_DEPENDS_ON= libsoup-2.4:primary:standard
112 [API40].BUILD_DEPENDS_ON= libsoup-2.4:dev:standard
113 [API40].CMAKE_ARGS_ON= -DUSE_SOUP2=ON
114 [API40].GNOME_COMPONENTS_ON= gtk3
115 [API40].PLIST_SUB_ON= JSSOVERSION=18.21.6
122 [API41].DESCRIPTION= Build WebKit2 API 4.1 variant
123 [API41].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
124 [API41].GNOME_COMPONENTS_ON= gtk3
125 [API41].PLIST_SUB_ON= JSSOVERSION=0.2.6
133 echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' \
134 >> ${WRKSRC}/Source/WTF/wtf/CMakeLists.txt
136 post-install-API40-ON:
137 (cd ${STAGEDIR}${PREFIX}/bin && \
138 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4.0 && \
139 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4.0)
140 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
141 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
142 ${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \
143 ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-4.0
145 post-install-API50-ON:
146 (cd ${STAGEDIR}${PREFIX}/bin && \
147 ${LN} -s ../libexec/webkit2gtk-5.0/jsc jsc-5.0 && \
148 ${LN} -s ../libexec/webkit2gtk-5.0/MiniBrowser MiniBrowser-5.0)
149 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-5.0/injected-bundle/*.so
150 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/*
151 ${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \
152 ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-5.0
155 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
156 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
158 post-install-API41-ON:
159 (cd ${STAGEDIR}${PREFIX}/bin && \
160 ${LN} -s ../libexec/webkit2gtk-4.1/jsc jsc-4.1 && \
161 ${LN} -s ../libexec/webkit2gtk-4.1/MiniBrowser MiniBrowser-4.1)
162 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.1/injected-bundle/*.so
163 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.1/*
164 ${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \
165 ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-4.1
168 ${REINPLACE_CMD} -e '/USE_FILE_LOCK/ s|1|0|' \
169 ${WRKSRC}/Source/WTF/wtf/PlatformUse.h \
170 ${WRKSRC}/Source/WebCore/config.h
172 [FILE:574:descriptions/desc.primary]
173 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
174 for projects requiring any kind of web integration, from hybrid HTML/CSS
175 applications to full-fledged web browsers. It offers WebKit's full
176 functionality and is useful in a wide range of systems from desktop
177 computers to embedded systems like phones, tablets, and televisions.
179 WebKitGTK+ is made by a lively community of developers and designers,
180 who hope to bring the web platform to everyone. It's the official web
181 engine of the GNOME platform and is used in browsers such as Epiphany
186 41f001d1ed448c6936b394a9f20e4640eebf83a7f08262df28504f7410604a5a 33003928 webkitgtk-2.38.3.tar.xz
189 [FILE:6416:manifests/plist.primary]
190 %%INTRO%%lib/girepository-1.0/
191 JavaScriptCore-%%WKAPI%%.typelib
192 WebKit2-%%WKAPI%%.typelib
193 WebKit2WebExtension-%%WKAPI%%.typelib
194 %%INTRO%%share/gir-1.0/
195 JavaScriptCore-%%WKAPI%%.gir
196 WebKit2-%%WKAPI%%.gir
197 WebKit2WebExtension-%%WKAPI%%.gir
199 MiniBrowser-%%WKAPI%%
200 WebKitWebDriver-%%WKAPI%%
202 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
211 include/webkitgtk-%%WKAPI%%/jsc/
223 include/webkitgtk-%%WKAPI%%/webkit2/
224 WebKitApplicationInfo.h
225 WebKitAuthenticationRequest.h
227 WebKitAutomationSession.h
228 WebKitBackForwardList.h
229 WebKitBackForwardListItem.h
230 WebKitColorChooserRequest.h
231 WebKitConsoleMessage.h
233 WebKitContextMenuActions.h
234 WebKitContextMenuItem.h
235 WebKitCookieManager.h
238 WebKitDeviceInfoPermissionRequest.h
240 WebKitEditingCommands.h
244 WebKitFaviconDatabase.h
245 WebKitFileChooserRequest.h
246 WebKitFindController.h
247 WebKitFormSubmissionRequest.h
248 WebKitForwardDeclarations.h
250 WebKitGeolocationManager.h
251 WebKitGeolocationPermissionRequest.h
252 WebKitHitTestResult.h
253 WebKitInputMethodContext.h
254 WebKitInstallMissingMediaPluginsPermissionRequest.h
255 WebKitJavascriptResult.h
256 WebKitMediaKeySystemPermissionRequest.h
257 WebKitMemoryPressureSettings.h
259 WebKitNavigationAction.h
260 WebKitNavigationPolicyDecision.h
261 WebKitNetworkProxySettings.h
263 WebKitNotificationPermissionRequest.h
265 WebKitOptionMenuItem.h
266 WebKitPermissionRequest.h
268 WebKitPointerLockPermissionRequest.h
269 WebKitPolicyDecision.h
270 WebKitPrintCustomWidget.h
271 WebKitPrintOperation.h
272 WebKitResponsePolicyDecision.h
275 WebKitSecurityManager.h
276 WebKitSecurityOrigin.h
280 WebKitURISchemeRequest.h
281 WebKitURISchemeResponse.h
284 WebKitUserContentFilterStore.h
285 WebKitUserContentManager.h
286 WebKitUserMediaPermissionRequest.h
292 WebKitWebExtensionAutocleanups.h
293 WebKitWebHitTestResult.h
296 WebKitWebProcessEnumTypes.h
300 WebKitWebViewSessionState.h
302 WebKitWebsiteDataAccessPermissionRequest.h
303 WebKitWebsiteDataManager.h
304 WebKitWebsitePolicies.h
305 WebKitWindowProperties.h
306 webkit-web-extension.h
308 include/webkitgtk-%%WKAPI%%/webkitdom/
311 WebKitDOMCDATASection.h
313 WebKitDOMCSSRuleList.h
314 WebKitDOMCSSStyleDeclaration.h
315 WebKitDOMCSSStyleSheet.h
317 WebKitDOMCharacterData.h
318 WebKitDOMClientRect.h
319 WebKitDOMClientRectList.h
322 WebKitDOMCustomUnstable.h
323 WebKitDOMDOMImplementation.h
324 WebKitDOMDOMSelection.h
325 WebKitDOMDOMTokenList.h
327 WebKitDOMDOMWindowUnstable.h
328 WebKitDOMDeprecated.h
330 WebKitDOMDocumentFragment.h
331 WebKitDOMDocumentFragmentUnstable.h
332 WebKitDOMDocumentType.h
333 WebKitDOMDocumentUnstable.h
335 WebKitDOMElementUnstable.h
337 WebKitDOMEventTarget.h
340 WebKitDOMHTMLAnchorElement.h
341 WebKitDOMHTMLAppletElement.h
342 WebKitDOMHTMLAreaElement.h
343 WebKitDOMHTMLBRElement.h
344 WebKitDOMHTMLBaseElement.h
345 WebKitDOMHTMLBodyElement.h
346 WebKitDOMHTMLButtonElement.h
347 WebKitDOMHTMLCanvasElement.h
348 WebKitDOMHTMLCollection.h
349 WebKitDOMHTMLDListElement.h
350 WebKitDOMHTMLDirectoryElement.h
351 WebKitDOMHTMLDivElement.h
352 WebKitDOMHTMLDocument.h
353 WebKitDOMHTMLElement.h
354 WebKitDOMHTMLElementUnstable.h
355 WebKitDOMHTMLEmbedElement.h
356 WebKitDOMHTMLFieldSetElement.h
357 WebKitDOMHTMLFontElement.h
358 WebKitDOMHTMLFormElement.h
359 WebKitDOMHTMLFrameElement.h
360 WebKitDOMHTMLFrameSetElement.h
361 WebKitDOMHTMLHRElement.h
362 WebKitDOMHTMLHeadElement.h
363 WebKitDOMHTMLHeadingElement.h
364 WebKitDOMHTMLHtmlElement.h
365 WebKitDOMHTMLIFrameElement.h
366 WebKitDOMHTMLImageElement.h
367 WebKitDOMHTMLInputElement.h
368 WebKitDOMHTMLLIElement.h
369 WebKitDOMHTMLLabelElement.h
370 WebKitDOMHTMLLegendElement.h
371 WebKitDOMHTMLLinkElement.h
372 WebKitDOMHTMLMapElement.h
373 WebKitDOMHTMLMarqueeElement.h
374 WebKitDOMHTMLMenuElement.h
375 WebKitDOMHTMLMetaElement.h
376 WebKitDOMHTMLModElement.h
377 WebKitDOMHTMLOListElement.h
378 WebKitDOMHTMLObjectElement.h
379 WebKitDOMHTMLOptGroupElement.h
380 WebKitDOMHTMLOptionElement.h
381 WebKitDOMHTMLOptionsCollection.h
382 WebKitDOMHTMLParagraphElement.h
383 WebKitDOMHTMLParamElement.h
384 WebKitDOMHTMLPreElement.h
385 WebKitDOMHTMLQuoteElement.h
386 WebKitDOMHTMLScriptElement.h
387 WebKitDOMHTMLSelectElement.h
388 WebKitDOMHTMLStyleElement.h
389 WebKitDOMHTMLTableCaptionElement.h
390 WebKitDOMHTMLTableCellElement.h
391 WebKitDOMHTMLTableColElement.h
392 WebKitDOMHTMLTableElement.h
393 WebKitDOMHTMLTableRowElement.h
394 WebKitDOMHTMLTableSectionElement.h
395 WebKitDOMHTMLTextAreaElement.h
396 WebKitDOMHTMLTitleElement.h
397 WebKitDOMHTMLUListElement.h
398 WebKitDOMKeyboardEvent.h
400 WebKitDOMMouseEvent.h
401 WebKitDOMNamedNodeMap.h
403 WebKitDOMNodeFilter.h
404 WebKitDOMNodeIterator.h
407 WebKitDOMProcessingInstruction.h
409 WebKitDOMRangeUnstable.h
410 WebKitDOMStyleSheet.h
411 WebKitDOMStyleSheetList.h
413 WebKitDOMTreeWalker.h
415 WebKitDOMWheelEvent.h
416 WebKitDOMXPathExpression.h
417 WebKitDOMXPathNSResolver.h
418 WebKitDOMXPathResult.h
420 webkitdomautocleanups.h
423 libjavascriptcoregtk-%%WKAPI%%.so
424 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
425 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
426 libwebkit2gtk-%%WKAPI%%.so
427 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
428 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
430 javascriptcoregtk-%%WKAPI%%.pc
431 webkit2gtk-%%WKAPI%%.pc
432 webkit2gtk-web-extension-%%WKAPI%%.pc
433 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
434 libexec/webkit2gtk-%%WKAPI%%/
441 [FILE:2618:manifests/plist.nls]
442 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
443 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
444 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
445 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
446 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
447 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
448 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
449 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
450 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
451 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
452 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
453 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
454 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
455 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
456 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
457 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
458 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
459 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
460 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
461 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
462 share/locale/hr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
463 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
464 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
465 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
466 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
467 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
468 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
469 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
470 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
471 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
472 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
473 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
474 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
475 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
476 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
477 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
478 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
479 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
480 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
481 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
482 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
483 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
484 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
485 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
486 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
487 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
488 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
489 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
490 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
491 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
494 [FILE:431:patches/patch-CMakeLists.txt]
495 --- CMakeLists.txt.orig 2022-08-31 07:59:34 UTC
497 @@ -31,6 +31,11 @@ if (ENABLE_API_TESTS)
501 +if (SUPPRESS_ASSERT)
502 + add_definitions(-DNDEBUG=1)
503 + add_definitions(-D__OPTIMIZE__)
506 # -----------------------------------------------------------------------------
507 # Add module directories
508 # -----------------------------------------------------------------------------
511 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
512 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2022-08-31 07:59:51 UTC
513 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
514 @@ -2920,6 +2920,8 @@ public:
515 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
517 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
518 +#elif OS(FREEBSD) || OS(NETBSD)
519 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
521 size_t page = pageSize();
522 uintptr_t current = reinterpret_cast<uintptr_t>(code);
525 [FILE:4034:patches/patch-Source_JavaScriptCore_runtime_MachineContext.h]
526 $NetBSD: patch-Source_JavaScriptCore_runtime_MachineContext.h,v 1.2 2021/05/13 08:20:58 leot Exp $
528 Add support for NetBSD.
530 --- Source/JavaScriptCore/runtime/MachineContext.h.orig 2022-08-31 07:59:51 UTC
531 +++ Source/JavaScriptCore/runtime/MachineContext.h
532 @@ -193,6 +193,22 @@ static inline void*& stackPointerImpl(mc
533 #error Unknown Architecture
539 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_UESP]);
541 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSP]);
543 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
545 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
547 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
549 +#error Unknown Architecture
552 #elif OS(FUCHSIA) || OS(LINUX)
555 @@ -338,6 +354,22 @@ static inline void*& framePointerImpl(mc
556 #error Unknown Architecture
562 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EBP]);
564 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RBP]);
566 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
568 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
570 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_S8]);
572 +#error Unknown Architecture
575 #elif OS(FUCHSIA) || OS(LINUX)
577 // The following sequence depends on glibc's sys/ucontext.h.
578 @@ -495,6 +527,22 @@ static inline void*& instructionPointerI
580 #error Unknown Architecture
586 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EIP]);
588 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RIP]);
590 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
592 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
594 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EPC]);
596 +#error Unknown Architecture
599 #elif OS(FUCHSIA) || OS(LINUX)
601 @@ -651,6 +699,22 @@ inline void*& argumentPointer<1>(mcontex
603 #error Unknown Architecture
609 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EDX]);
611 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSI]);
613 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R1]);
615 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X1]);
617 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_A1]);
619 +#error Unknown Architecture
622 #elif OS(FUCHSIA) || OS(LINUX)
624 @@ -774,6 +838,22 @@ inline void*& llintInstructionPointer(mc
628 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
630 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
632 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
634 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X4]);
636 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_T4]);
638 +#error Unknown Architecture
644 return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
646 return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
649 [FILE:597:patches/patch-Source_ThirdParty_ANGLE_src_common_aligned__memory.cpp]
650 --- Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp.orig 2022-08-31 07:59:51 UTC
651 +++ Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp
652 @@ -33,7 +33,7 @@ void *AlignedAlloc(size_t size, size_t a
653 // memalign() on Android returns pointers which can safely be used with
654 // free(), so we can use it instead. Issue filed to document this:
655 // http://code.google.com/p/android/issues/detail?id=35391
656 -#elif defined(ANGLE_PLATFORM_ANDROID)
657 +#elif defined(ANGLE_PLATFORM_ANDROID) || defined(__sun__)
658 ptr = memalign(alignment, size);
660 if (posix_memalign(&ptr, alignment, size))
663 [FILE:506:patches/patch-Source_ThirdParty_ANGLE_src_common_third__party_smhasher_src_PMurHash.cpp]
664 --- Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp.orig 2022-08-31 07:59:51 UTC
665 +++ Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp
666 @@ -48,6 +48,9 @@ on big endian machines, or a byte-by-byt
667 -----------------------------------------------------------------------------*/
669 #include "PMurHash.h"
671 +#define __BYTE_ORDER __LITTLE_ENDIAN
675 /* I used ugly type names in the header to avoid potential conflicts with
678 [FILE:561:patches/patch-Source_WTF_wtf_Assertions.h]
679 $NetBSD: patch-Source_WTF_wtf_Assertions.h,v 1.1 2021/01/12 15:21:31 jperkin Exp $
681 Use regular static_assert on SunOS.
683 --- Source/WTF/wtf/Assertions.h.orig 2022-10-19 08:11:34 UTC
684 +++ Source/WTF/wtf/Assertions.h
685 @@ -473,7 +473,7 @@ constexpr bool assertionFailureDueToUnre
688 #ifndef COMPILE_ASSERT
689 -#if COMPILER_SUPPORTS(C_STATIC_ASSERT)
690 +#if COMPILER_SUPPORTS(C_STATIC_ASSERT) && !defined(__sun)
691 /* Unlike static_assert below, this also works in plain C code. */
692 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name)
696 [FILE:638:patches/patch-Source_WTF_wtf_FastMalloc.cpp]
697 --- Source/WTF/wtf/FastMalloc.cpp.orig 2022-09-14 11:58:10 UTC
698 +++ Source/WTF/wtf/FastMalloc.cpp
699 @@ -201,7 +201,11 @@ void* fastAlignedMalloc(size_t alignment
701 ASSERT_IS_WITHIN_LIMIT(size);
704 + p = memalign(alignment, size);
706 posix_memalign(&p, alignment, size);
711 @@ -211,7 +215,11 @@ void* tryFastAlignedMalloc(size_t alignm
713 FAIL_IF_EXCEEDS_LIMIT(size);
716 + p = memalign(alignment, size);
718 posix_memalign(&p, alignment, size);
725 [FILE:502:patches/patch-Source_WTF_wtf_FileSystem.cpp]
726 $NetBSD: patch-Source_WTF_wtf_FileSystem.cpp,v 1.3 2020/09/11 14:47:35 leot Exp $
728 Support MAP_FILE if unavailable.
730 --- Source/WTF/wtf/FileSystem.cpp.orig 2022-09-08 11:51:52 UTC
731 +++ Source/WTF/wtf/FileSystem.cpp
732 @@ -369,6 +369,9 @@ bool MappedFileData::mapFileHandle(Platf
739 void* data = mmap(0, size, pageProtection, MAP_FILE | (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
741 if (data == MAP_FAILED) {
744 [FILE:534:patches/patch-Source_WTF_wtf_MemoryPressureHandler.cpp]
745 --- Source/WTF/wtf/MemoryPressureHandler.cpp.orig 2022-09-16 06:02:57 UTC
746 +++ Source/WTF/wtf/MemoryPressureHandler.cpp
747 @@ -56,7 +56,7 @@ MemoryPressureHandler& MemoryPressureHan
750 MemoryPressureHandler::MemoryPressureHandler()
751 -#if OS(LINUX) || OS(FREEBSD)
752 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
753 : m_holdOffTimer(RunLoop::main(), this, &MemoryPressureHandler::holdOffTimerFired)
755 : m_windowsMeasurementTimer(RunLoop::main(), this, &MemoryPressureHandler::windowsMeasurementTimerFired)
758 [FILE:644:patches/patch-Source_WTF_wtf_MemoryPressureHandler.h]
759 --- Source/WTF/wtf/MemoryPressureHandler.h.orig 2022-08-31 07:59:55 UTC
760 +++ Source/WTF/wtf/MemoryPressureHandler.h
761 @@ -81,7 +81,7 @@ public:
763 WTF_EXPORT_PRIVATE void setShouldUsePeriodicMemoryMonitor(bool);
765 -#if OS(LINUX) || OS(FREEBSD)
766 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
767 WTF_EXPORT_PRIVATE void triggerMemoryPressureEvent(bool isCritical);
770 @@ -277,7 +277,7 @@ private:
771 Win32Handle m_lowMemoryHandle;
774 -#if OS(LINUX) || OS(FREEBSD)
775 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
776 RunLoop::Timer<MemoryPressureHandler> m_holdOffTimer;
777 void holdOffTimerFired();
781 [FILE:326:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
782 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2022-08-31 07:59:55 UTC
783 +++ Source/WTF/wtf/NumberOfCores.cpp
786 #include <sys/sysctl.h>
787 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
788 +#include <stdio.h> // sscanf
794 [FILE:390:patches/patch-Source_WTF_wtf_PlatformGTK.cmake]
795 --- Source/WTF/wtf/PlatformGTK.cmake.orig 2022-09-14 11:58:10 UTC
796 +++ Source/WTF/wtf/PlatformGTK.cmake
797 @@ -61,7 +61,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
799 unix/MemoryPressureHandlerUnix.cpp
801 -elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
802 +elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly")
803 list(APPEND WTF_SOURCES
804 generic/MemoryFootprintGeneric.cpp
808 [FILE:582:patches/patch-Source_WTF_wtf_StackBounds.cpp]
809 $NetBSD: patch-Source_WTF_wtf_StackBounds.cpp,v 1.2 2018/10/24 18:31:07 leot Exp $
811 SunOS does not have pthread_getattr_np.
813 --- Source/WTF/wtf/StackBounds.cpp.orig 2022-08-31 07:59:55 UTC
814 +++ Source/WTF/wtf/StackBounds.cpp
815 @@ -98,6 +98,7 @@ StackBounds StackBounds::newThreadStackB
816 #if HAVE(PTHREAD_NP_H) || OS(NETBSD)
817 // e.g. on FreeBSD 5.4, neundorf@kde.org
818 pthread_attr_get_np(thread, &sattr);
819 +#elif defined(__sun__)
821 // FIXME: this function is non-portable; other POSIX systems may have different np alternatives
822 pthread_getattr_np(thread, &sattr);
825 [FILE:1418:patches/patch-Source_WTF_wtf_unix_MemoryPressureHandlerUnix.cpp]
826 --- Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp.orig 2022-08-31 07:59:55 UTC
827 +++ Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp
830 #include <wtf/MemoryPressureHandler.h>
832 +#if OS(FREEBSD) || defined(__DragonFly__)
838 #include <wtf/Logging.h>
839 #include <wtf/MainThread.h>
843 #include <wtf/linux/CurrentProcessMemoryStatus.h>
845 +#elif OS(FREEBSD) || defined(__DragonFly__)
846 #include <sys/sysctl.h>
847 #include <sys/types.h>
848 #include <sys/user.h>
849 @@ -112,7 +116,7 @@ static size_t processMemoryUsage()
850 ProcessMemoryStatus memoryStatus;
851 currentProcessMemoryStatus(memoryStatus);
852 return (memoryStatus.resident - memoryStatus.shared);
854 +#elif OS(FREEBSD) || defined(__DragonFly__)
855 static size_t pageSize = sysconf(_SC_PAGE_SIZE);
856 struct kinfo_proc info;
857 size_t infolen = sizeof(info);
858 @@ -126,7 +130,11 @@ static size_t processMemoryUsage()
859 if (sysctl(mib, 4, &info, &infolen, nullptr, 0))
862 +# ifdef __DragonFly__
863 + return static_cast<size_t>(info.kp_vm_rssize - info.kp_vm_tsize) * pageSize;
865 return static_cast<size_t>(info.ki_rssize - info.ki_tsize) * pageSize;
868 #error "Missing a platform specific way of determining the memory usage"
872 [FILE:848:patches/patch-Source_WebCore_Modules_fetch_FetchBodyConsumer.cpp]
873 --- Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp.orig 2022-09-14 11:58:10 UTC
874 +++ Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
876 #include <wtf/StringExtras.h>
877 #include <wtf/URLParser.h>
880 +static void *memmem(
881 + const void *big, size_t big_len,
882 + const void *little, size_t little_len)
884 + const char *bp = (const char *)big;
885 + const char *lp = (const char *)little;
888 + if (big_len < little_len || little_len == 0 || big_len == 0)
891 + while (big_len > 0) {
892 + for (l = 0; l < little_len; l++) {
893 + if (bp[l] != lp[l])
896 + if (l == little_len)
907 static inline Ref<Blob> blobFromData(ScriptExecutionContext* context, Vector<uint8_t>&& data, const String& contentType)
910 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
911 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2022-08-31 07:59:56 UTC
912 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
913 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
914 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
915 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
916 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
917 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
918 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
919 // The color values are stored in-place.
920 "strb r2, [" PIXELS_R ", #-11]" NL
921 "strb r3, [" PIXELS_R ", #-10]" NL
924 [FILE:323:patches/patch-Source_WebCore_platform_network_DNS.h]
925 --- Source/WebCore/platform/network/DNS.h.orig 2022-08-31 07:59:56 UTC
926 +++ Source/WebCore/platform/network/DNS.h
928 #include <ws2tcpip.h>
930 #include <netinet/in.h>
931 +# if defined __DragonFly__ || defined __FreeBSD__ || defined __sun__
932 +# include <sys/socket.h>
939 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
940 --- Source/WebDriver/PlatformGTK.cmake.orig 2022-08-31 07:59:56 UTC
941 +++ Source/WebDriver/PlatformGTK.cmake
942 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
943 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
944 "${GLIB_INCLUDE_DIRS}"
945 "${LIBSOUP_INCLUDE_DIRS}"
946 + "${ICU_INCLUDE_DIRS}"
949 list(APPEND WebDriver_SOURCES
952 [FILE:507:patches/patch-Source_WebKit_CMakeLists.txt]
953 $NetBSD: patch-Source_WebKit_CMakeLists.txt,v 1.1 2018/05/16 18:55:45 jperkin Exp $
955 SunOS requires libsocket.
957 --- Source/WebKit/CMakeLists.txt.orig 2022-08-31 07:59:56 UTC
958 +++ Source/WebKit/CMakeLists.txt
959 @@ -404,6 +404,10 @@ if (UNIX)
963 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
964 + list(APPEND WebKit_LIBRARIES socket)
967 macro(ADD_WEBKIT_PREFIX_HEADER _target)
968 if (WebKit_USE_PREFIX_HEADER)
969 get_target_property(OLD_COMPILE_FLAGS ${_target} COMPILE_FLAGS)
972 [FILE:551:patches/patch-Source_WebKit_PlatformGTK.cmake]
973 --- Source/WebKit/PlatformGTK.cmake.orig 2022-09-14 11:58:10 UTC
974 +++ Source/WebKit/PlatformGTK.cmake
975 @@ -42,7 +42,7 @@ add_definitions(-DLOCALEDIR="${CMAKE_INS
976 add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}")
977 add_definitions(-DLIBDIR="${LIB_INSTALL_DIR}")
979 -if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
980 +if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|SunOS")
981 WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map")
986 [FILE:1241:patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp]
987 $NetBSD: patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp,v 1.3 2021/01/12 15:21:31 jperkin Exp $
989 On NetBSD we see "Error sending IPC message: Message too long" due to
990 the use of sendmsg with a large message body (EMSGSIZE).
992 WebKit already uses shared memory to communicate the message body when
993 the message is too large, so force it to always use this method to avoid
994 encountering EMSGSIZE.
996 --- Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp.orig 2022-08-31 07:59:56 UTC
997 +++ Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
1000 #endif // SOCK_SEQPACKET
1002 +#ifndef MSG_NOSIGNAL
1003 +#define MSG_NOSIGNAL 0
1008 static const size_t messageMaxSize = 4096;
1009 @@ -442,8 +446,12 @@ bool Connection::sendOutgoingMessage(Uni
1014 size_t messageSizeWithBodyInline = sizeof(MessageInfo) + (outputMessage.attachments().size() * sizeof(AttachmentInfo)) + outputMessage.bodySize();
1015 if (messageSizeWithBodyInline > messageMaxSize && outputMessage.bodySize()) {
1019 RefPtr<WebKit::SharedMemory> oolMessageBody = WebKit::SharedMemory::allocate(encoder->bufferSize());
1020 if (!oolMessageBody)
1024 [FILE:714:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
1025 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2022-09-14 11:58:10 UTC
1026 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
1027 @@ -148,7 +148,13 @@ static int createSharedMemory()
1030 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
1031 - auto name = makeString("/WK2SharedMemory.", static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1033 +#ifdef __DragonFly__
1034 + makeString("/tmp/WK2SharedMemory.",
1036 + makeString("/WK2SharedMemory.",
1038 + static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1039 tempName = name.utf8();
1044 [FILE:1432:patches/patch-Source_bmalloc_bmalloc_AvailableMemory.cpp]
1045 --- Source/bmalloc/bmalloc/AvailableMemory.cpp.orig 2022-08-31 07:59:57 UTC
1046 +++ Source/bmalloc/bmalloc/AvailableMemory.cpp
1048 #import <mach/mach_error.h>
1051 -#if BOS(FREEBSD) || BOS(LINUX)
1053 #include <sys/sysinfo.h>
1056 @@ -161,7 +161,13 @@ static size_t computeAvailableMemory()
1057 // Round up the memory size to a multiple of 128MB because max_mem may not be exactly 512MB
1058 // (for example) and we have code that depends on those boundaries.
1059 return ((sizeAccordingToKernel + multiple - 1) / multiple) * multiple;
1060 -#elif BOS(FREEBSD) || BOS(LINUX)
1062 + long pages = sysconf(_SC_PHYS_PAGES);
1063 + long pageSize = sysconf(_SC_PAGE_SIZE);
1064 + if (pages == -1 || pageSize == -1)
1065 + return availableMemoryGuess;
1066 + return pages * pageSize;
1068 struct sysinfo info;
1069 if (!sysinfo(&info))
1070 return info.totalram * info.mem_unit;
1071 @@ -212,7 +218,11 @@ MemoryStatus memoryStatus()
1073 size_t memoryFootprint = 0;
1074 if (!sysctl(mib, 4, &info, &infolen, nullptr, 0))
1075 +# ifdef __DragonFly__
1076 + memoryFootprint = static_cast<size_t>(info.kp_vm_rssize) * vmPageSize();
1078 memoryFootprint = static_cast<size_t>(info.ki_rssize) * vmPageSize();
1082 double percentInUse = static_cast<double>(memoryFootprint) / static_cast<double>(availableMemory());
1085 [FILE:1294:patches/patch-Source_bmalloc_libpas_src_libpas_pas__probabilistic__guard__malloc__allocator.c]
1086 --- Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c.orig 2022-09-08 11:51:52 UTC
1087 +++ Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
1088 @@ -103,11 +103,13 @@ pas_allocation_result pas_probabilistic_
1090 // ensure physical addresses are released
1091 // TODO: investigate using MADV_FREE_REUSABLE instead
1092 + /* Linux 4.5, Ravenports uses 4.4
1093 int madvise_res = madvise((void *) upper_guard_page, page_size, MADV_FREE);
1094 PAS_ASSERT(!madvise_res);
1096 madvise_res = madvise((void *) lower_guard_page, page_size, MADV_FREE);
1097 PAS_ASSERT(!madvise_res);
1100 // the key is the location where the user's starting memory address is located.
1101 // allocations are right aligned, so the end backs up to the upper guard page.
1102 @@ -166,8 +168,10 @@ void pas_probabilistic_guard_malloc_deal
1104 // ensure physical addresses are released
1105 // TODO: investigate using MADV_FREE_REUSABLE instead
1106 + /* Requires linux 4.5
1107 int madvise_res = madvise((void *) value->start_of_data_pages, value->size_of_data_pages, MADV_FREE);
1108 PAS_ASSERT(!madvise_res);
1111 bool removed = pas_ptr_hash_map_remove(&pas_pgm_hash_map, key, NULL, &pas_large_utility_free_heap_allocation_config);
1112 PAS_ASSERT(removed);
1115 [FILE:971:patches/patch-Source_cmake_OptionsCommon.cmake]
1116 --- Source/cmake/OptionsCommon.cmake.orig 2022-08-31 07:59:57 UTC
1117 +++ Source/cmake/OptionsCommon.cmake
1118 @@ -128,10 +128,10 @@ endif ()
1119 option(USE_THIN_ARCHIVES "Produce all static libraries as thin archives" ${USE_THIN_ARCHIVES_DEFAULT})
1121 if (USE_THIN_ARCHIVES)
1122 - set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1123 - set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1124 - set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1125 - set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1126 + set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1127 + set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1128 + set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1129 + set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1132 set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
1135 [FILE:520:patches/patch-Source_cmake_WebKitCompilerFlags.cmake]
1136 --- Source/cmake/WebKitCompilerFlags.cmake.orig 2022-08-31 07:59:57 UTC
1137 +++ Source/cmake/WebKitCompilerFlags.cmake
1138 @@ -252,7 +252,7 @@ if (NOT MSVC)
1139 string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
1142 -if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
1143 +if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
1144 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
1149 [FILE:358:patches/patch-Tools_MiniBrowser_gtk_CMakeLists.txt]
1150 --- Tools/MiniBrowser/gtk/CMakeLists.txt.orig 2022-08-31 07:59:57 UTC
1151 +++ Tools/MiniBrowser/gtk/CMakeLists.txt
1152 @@ -41,6 +41,10 @@ set(MiniBrowser_PRIVATE_LIBRARIES
1156 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
1157 + list(APPEND MiniBrowser_PRIVATE_LIBRARIES intl)
1160 set(MiniBrowser_DEPENDENCIES