1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
6 VARIANTS= api40 api41 api50
7 SDESC[api50]= Opensource browser engine using GTK4 (API 5.0)
8 SDESC[api40]= Opensource browser engine using GTK+3 (API 4.0)
9 SDESC[api41]= Opensource browser engine using GTK+3 (API 4.1)
10 HOMEPAGE= https://www.webkitgtk.org/
14 SITES[main]= https://www.webkitgtk.org/releases/
15 https://fossies.org/linux/www/
16 DISTFILE[1]= webkitgtk-2.38.4.tar.xz:main
18 SPKGS[api50]= complete
22 SPKGS[api40]= complete
26 SPKGS[api41]= complete
31 OPTIONS_AVAILABLE= API40 API41 API50
32 OPTIONS_STANDARD= none
33 VOPTS[api50]= API40=OFF API41=OFF API50=ON
34 VOPTS[api40]= API40=ON API41=OFF API50=OFF
35 VOPTS[api41]= API40=OFF API41=ON API50=OFF
37 BUILD_DEPENDS= gperf:primary:standard
39 libgpg-error:dev:standard
40 gstreamer1:dev:standard
41 gstreamer1-plugins-base:dev:standard
43 BUILDRUN_DEPENDS= enchant:single:standard
44 freetype:primary:standard
46 libsecret:primary:standard
47 libnotify:primary:standard
48 hyphen:single:standard
51 libgcrypt:single:standard
52 gnutls:primary:standard
53 libtasn1:primary:standard
54 geoclue:primary:standard
56 gstreamer1-plugins-base:primary:standard
57 openjpeg:single:standard
59 USES= png mesa cmake pkgconfig sqlite bison perl:build
60 python:build ruby:build fontconfig jpeg cpe
61 GNOME_COMPONENTS= gdkpixbuf introspection libxslt
62 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
64 DISTNAME= webkitgtk-2.38.4
66 LICENSE= GPLv2+:primary BSD3CLAUSE:primary
67 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
68 LICENSE_FILE= GPLv2+:stock
69 BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
70 LICENSE_AWK= BSD3CLAUSE:"^$$"
72 LICENSE_SOURCE= BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
73 TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
76 CPE_PRODUCT= webkitgtk
78 FPC_EQUIVALENT= www/webkit2-gtk3
80 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}}
82 INSTALL_TARGET= install
83 INSTALL_REQ_TOOLCHAIN= yes
84 PLIST_SUB= INTRO="@comment "
86 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
87 CMAKE_ARGS= -DPORT=GTK
88 -DENABLE_GEOLOCATION:BOOL=ON
89 -DENABLE_GLES2:BOOL=ON
90 -DENABLE_MINIBROWSER:BOOL=ON
91 -DENABLE_WAYLAND_TARGET:BOOL=OFF
92 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
93 -DENABLE_GAMEPAD:BOOL=OFF
94 -DENABLE_INTROSPECTION:BOOL=OFF
95 -DENABLE_JOURNALD_LOG:BOOL=OFF
96 -DSUPPRESS_ASSERT:BOOL=ON
97 -DUSE_SYSTEMD:BOOL=OFF
98 -DUSE_GSTREAMER_GL:BOOL=OFF
99 VAR_OPSYS[sunos]= CMAKE_ARGS=-DUSE_LD_GOLD:BOOL=OFF
101 [API50].DESCRIPTION= Build WebKit2 API 5.0 variant
102 [API50].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
103 [API50].CMAKE_ARGS_ON= -DUSE_GTK4=ON
104 [API50].GNOME_COMPONENTS_ON= gtk4
105 [API50].PLIST_SUB_ON= JSSOVERSION=0.0.0
112 [API40].DESCRIPTION= Build WebKit2 API 4.0 variant
113 [API40].BUILDRUN_DEPENDS_ON= libsoup-2.4:primary:standard
114 [API40].BUILD_DEPENDS_ON= libsoup-2.4:dev:standard
115 [API40].CMAKE_ARGS_ON= -DUSE_SOUP2=ON
116 [API40].GNOME_COMPONENTS_ON= gtk3
117 [API40].PLIST_SUB_ON= JSSOVERSION=18.21.7
124 [API41].DESCRIPTION= Build WebKit2 API 4.1 variant
125 [API41].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
126 [API41].GNOME_COMPONENTS_ON= gtk3
127 [API41].PLIST_SUB_ON= JSSOVERSION=0.2.7
135 echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' \
136 >> ${WRKSRC}/Source/WTF/wtf/CMakeLists.txt
138 post-install-API40-ON:
139 (cd ${STAGEDIR}${PREFIX}/bin && \
140 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4.0 && \
141 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4.0)
142 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
143 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
144 ${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \
145 ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-4.0
147 post-install-API50-ON:
148 (cd ${STAGEDIR}${PREFIX}/bin && \
149 ${LN} -s ../libexec/webkit2gtk-5.0/jsc jsc-5.0 && \
150 ${LN} -s ../libexec/webkit2gtk-5.0/MiniBrowser MiniBrowser-5.0)
151 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-5.0/injected-bundle/*.so
152 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/*
153 ${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \
154 ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-5.0
157 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
158 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
160 post-install-API41-ON:
161 (cd ${STAGEDIR}${PREFIX}/bin && \
162 ${LN} -s ../libexec/webkit2gtk-4.1/jsc jsc-4.1 && \
163 ${LN} -s ../libexec/webkit2gtk-4.1/MiniBrowser MiniBrowser-4.1)
164 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.1/injected-bundle/*.so
165 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.1/*
166 ${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \
167 ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-4.1
170 ${REINPLACE_CMD} -e '/USE_FILE_LOCK/ s|1|0|' \
171 ${WRKSRC}/Source/WTF/wtf/PlatformUse.h \
172 ${WRKSRC}/Source/WebCore/config.h
174 [FILE:574:descriptions/desc.primary]
175 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
176 for projects requiring any kind of web integration, from hybrid HTML/CSS
177 applications to full-fledged web browsers. It offers WebKit's full
178 functionality and is useful in a wide range of systems from desktop
179 computers to embedded systems like phones, tablets, and televisions.
181 WebKitGTK+ is made by a lively community of developers and designers,
182 who hope to bring the web platform to everyone. It's the official web
183 engine of the GNOME platform and is used in browsers such as Epiphany
188 4f47ea29a2d4d5f15eef3dc9e2d6c6f067e8de863a3f64455e1ccf9693cc1d36 32534100 webkitgtk-2.38.4.tar.xz
191 [FILE:660:manifests/plist.primary]
192 %%INTRO%%lib/girepository-1.0/
193 JavaScriptCore-%%WKAPI%%.typelib
194 WebKit2-%%WKAPI%%.typelib
195 WebKit2WebExtension-%%WKAPI%%.typelib
196 %%INTRO%%share/gir-1.0/
197 JavaScriptCore-%%WKAPI%%.gir
198 WebKit2-%%WKAPI%%.gir
199 WebKit2WebExtension-%%WKAPI%%.gir
201 MiniBrowser-%%WKAPI%%
202 WebKitWebDriver-%%WKAPI%%
205 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
206 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
207 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
208 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
209 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
210 libexec/webkit2gtk-%%WKAPI%%/
217 [FILE:2618:manifests/plist.nls]
218 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
219 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
220 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
221 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
222 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
223 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
224 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
225 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
226 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
227 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
228 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
229 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
230 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
231 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
232 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
233 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
234 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
235 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
236 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
237 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
238 share/locale/hr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
239 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
240 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
241 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
242 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
243 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
244 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
245 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
246 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
247 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
248 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
249 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
250 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
251 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
252 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
253 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
254 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
255 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
256 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
257 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
258 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
259 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
260 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
261 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
262 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
263 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
264 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
265 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
266 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
267 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
270 [FILE:5761:manifests/plist.dev]
271 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
280 include/webkitgtk-%%WKAPI%%/jsc/
292 include/webkitgtk-%%WKAPI%%/webkit2/
293 WebKitApplicationInfo.h
294 WebKitAuthenticationRequest.h
296 WebKitAutomationSession.h
297 WebKitBackForwardList.h
298 WebKitBackForwardListItem.h
299 WebKitColorChooserRequest.h
300 WebKitConsoleMessage.h
302 WebKitContextMenuActions.h
303 WebKitContextMenuItem.h
304 WebKitCookieManager.h
307 WebKitDeviceInfoPermissionRequest.h
309 WebKitEditingCommands.h
313 WebKitFaviconDatabase.h
314 WebKitFileChooserRequest.h
315 WebKitFindController.h
316 WebKitFormSubmissionRequest.h
317 WebKitForwardDeclarations.h
319 WebKitGeolocationManager.h
320 WebKitGeolocationPermissionRequest.h
321 WebKitHitTestResult.h
322 WebKitInputMethodContext.h
323 WebKitInstallMissingMediaPluginsPermissionRequest.h
324 WebKitJavascriptResult.h
325 WebKitMediaKeySystemPermissionRequest.h
326 WebKitMemoryPressureSettings.h
328 WebKitNavigationAction.h
329 WebKitNavigationPolicyDecision.h
330 WebKitNetworkProxySettings.h
332 WebKitNotificationPermissionRequest.h
334 WebKitOptionMenuItem.h
335 WebKitPermissionRequest.h
337 WebKitPointerLockPermissionRequest.h
338 WebKitPolicyDecision.h
339 WebKitPrintCustomWidget.h
340 WebKitPrintOperation.h
341 WebKitResponsePolicyDecision.h
344 WebKitSecurityManager.h
345 WebKitSecurityOrigin.h
349 WebKitURISchemeRequest.h
350 WebKitURISchemeResponse.h
353 WebKitUserContentFilterStore.h
354 WebKitUserContentManager.h
355 WebKitUserMediaPermissionRequest.h
361 WebKitWebExtensionAutocleanups.h
362 WebKitWebHitTestResult.h
365 WebKitWebProcessEnumTypes.h
369 WebKitWebViewSessionState.h
371 WebKitWebsiteDataAccessPermissionRequest.h
372 WebKitWebsiteDataManager.h
373 WebKitWebsitePolicies.h
374 WebKitWindowProperties.h
375 webkit-web-extension.h
377 include/webkitgtk-%%WKAPI%%/webkitdom/
380 WebKitDOMCDATASection.h
382 WebKitDOMCSSRuleList.h
383 WebKitDOMCSSStyleDeclaration.h
384 WebKitDOMCSSStyleSheet.h
386 WebKitDOMCharacterData.h
387 WebKitDOMClientRect.h
388 WebKitDOMClientRectList.h
391 WebKitDOMCustomUnstable.h
392 WebKitDOMDOMImplementation.h
393 WebKitDOMDOMSelection.h
394 WebKitDOMDOMTokenList.h
396 WebKitDOMDOMWindowUnstable.h
397 WebKitDOMDeprecated.h
399 WebKitDOMDocumentFragment.h
400 WebKitDOMDocumentFragmentUnstable.h
401 WebKitDOMDocumentType.h
402 WebKitDOMDocumentUnstable.h
404 WebKitDOMElementUnstable.h
406 WebKitDOMEventTarget.h
409 WebKitDOMHTMLAnchorElement.h
410 WebKitDOMHTMLAppletElement.h
411 WebKitDOMHTMLAreaElement.h
412 WebKitDOMHTMLBRElement.h
413 WebKitDOMHTMLBaseElement.h
414 WebKitDOMHTMLBodyElement.h
415 WebKitDOMHTMLButtonElement.h
416 WebKitDOMHTMLCanvasElement.h
417 WebKitDOMHTMLCollection.h
418 WebKitDOMHTMLDListElement.h
419 WebKitDOMHTMLDirectoryElement.h
420 WebKitDOMHTMLDivElement.h
421 WebKitDOMHTMLDocument.h
422 WebKitDOMHTMLElement.h
423 WebKitDOMHTMLElementUnstable.h
424 WebKitDOMHTMLEmbedElement.h
425 WebKitDOMHTMLFieldSetElement.h
426 WebKitDOMHTMLFontElement.h
427 WebKitDOMHTMLFormElement.h
428 WebKitDOMHTMLFrameElement.h
429 WebKitDOMHTMLFrameSetElement.h
430 WebKitDOMHTMLHRElement.h
431 WebKitDOMHTMLHeadElement.h
432 WebKitDOMHTMLHeadingElement.h
433 WebKitDOMHTMLHtmlElement.h
434 WebKitDOMHTMLIFrameElement.h
435 WebKitDOMHTMLImageElement.h
436 WebKitDOMHTMLInputElement.h
437 WebKitDOMHTMLLIElement.h
438 WebKitDOMHTMLLabelElement.h
439 WebKitDOMHTMLLegendElement.h
440 WebKitDOMHTMLLinkElement.h
441 WebKitDOMHTMLMapElement.h
442 WebKitDOMHTMLMarqueeElement.h
443 WebKitDOMHTMLMenuElement.h
444 WebKitDOMHTMLMetaElement.h
445 WebKitDOMHTMLModElement.h
446 WebKitDOMHTMLOListElement.h
447 WebKitDOMHTMLObjectElement.h
448 WebKitDOMHTMLOptGroupElement.h
449 WebKitDOMHTMLOptionElement.h
450 WebKitDOMHTMLOptionsCollection.h
451 WebKitDOMHTMLParagraphElement.h
452 WebKitDOMHTMLParamElement.h
453 WebKitDOMHTMLPreElement.h
454 WebKitDOMHTMLQuoteElement.h
455 WebKitDOMHTMLScriptElement.h
456 WebKitDOMHTMLSelectElement.h
457 WebKitDOMHTMLStyleElement.h
458 WebKitDOMHTMLTableCaptionElement.h
459 WebKitDOMHTMLTableCellElement.h
460 WebKitDOMHTMLTableColElement.h
461 WebKitDOMHTMLTableElement.h
462 WebKitDOMHTMLTableRowElement.h
463 WebKitDOMHTMLTableSectionElement.h
464 WebKitDOMHTMLTextAreaElement.h
465 WebKitDOMHTMLTitleElement.h
466 WebKitDOMHTMLUListElement.h
467 WebKitDOMKeyboardEvent.h
469 WebKitDOMMouseEvent.h
470 WebKitDOMNamedNodeMap.h
472 WebKitDOMNodeFilter.h
473 WebKitDOMNodeIterator.h
476 WebKitDOMProcessingInstruction.h
478 WebKitDOMRangeUnstable.h
479 WebKitDOMStyleSheet.h
480 WebKitDOMStyleSheetList.h
482 WebKitDOMTreeWalker.h
484 WebKitDOMWheelEvent.h
485 WebKitDOMXPathExpression.h
486 WebKitDOMXPathNSResolver.h
487 WebKitDOMXPathResult.h
489 webkitdomautocleanups.h
492 libjavascriptcoregtk-%%WKAPI%%.so
493 libwebkit2gtk-%%WKAPI%%.so
495 javascriptcoregtk-%%WKAPI%%.pc
496 webkit2gtk-%%WKAPI%%.pc
497 webkit2gtk-web-extension-%%WKAPI%%.pc
500 [FILE:431:patches/patch-CMakeLists.txt]
501 --- CMakeLists.txt.orig 2022-08-31 07:59:34 UTC
503 @@ -31,6 +31,11 @@ if (ENABLE_API_TESTS)
507 +if (SUPPRESS_ASSERT)
508 + add_definitions(-DNDEBUG=1)
509 + add_definitions(-D__OPTIMIZE__)
512 # -----------------------------------------------------------------------------
513 # Add module directories
514 # -----------------------------------------------------------------------------
517 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
518 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2022-08-31 07:59:51 UTC
519 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
520 @@ -2920,6 +2920,8 @@ public:
521 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
523 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
524 +#elif OS(FREEBSD) || OS(NETBSD)
525 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
527 size_t page = pageSize();
528 uintptr_t current = reinterpret_cast<uintptr_t>(code);
531 [FILE:4034:patches/patch-Source_JavaScriptCore_runtime_MachineContext.h]
532 $NetBSD: patch-Source_JavaScriptCore_runtime_MachineContext.h,v 1.2 2021/05/13 08:20:58 leot Exp $
534 Add support for NetBSD.
536 --- Source/JavaScriptCore/runtime/MachineContext.h.orig 2022-08-31 07:59:51 UTC
537 +++ Source/JavaScriptCore/runtime/MachineContext.h
538 @@ -193,6 +193,22 @@ static inline void*& stackPointerImpl(mc
539 #error Unknown Architecture
545 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_UESP]);
547 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSP]);
549 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
551 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
553 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
555 +#error Unknown Architecture
558 #elif OS(FUCHSIA) || OS(LINUX)
561 @@ -338,6 +354,22 @@ static inline void*& framePointerImpl(mc
562 #error Unknown Architecture
568 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EBP]);
570 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RBP]);
572 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
574 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
576 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_S8]);
578 +#error Unknown Architecture
581 #elif OS(FUCHSIA) || OS(LINUX)
583 // The following sequence depends on glibc's sys/ucontext.h.
584 @@ -495,6 +527,22 @@ static inline void*& instructionPointerI
586 #error Unknown Architecture
592 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EIP]);
594 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RIP]);
596 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
598 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
600 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EPC]);
602 +#error Unknown Architecture
605 #elif OS(FUCHSIA) || OS(LINUX)
607 @@ -651,6 +699,22 @@ inline void*& argumentPointer<1>(mcontex
609 #error Unknown Architecture
615 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EDX]);
617 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSI]);
619 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R1]);
621 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X1]);
623 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_A1]);
625 +#error Unknown Architecture
628 #elif OS(FUCHSIA) || OS(LINUX)
630 @@ -774,6 +838,22 @@ inline void*& llintInstructionPointer(mc
634 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
636 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
638 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
640 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X4]);
642 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_T4]);
644 +#error Unknown Architecture
650 return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
652 return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
655 [FILE:597:patches/patch-Source_ThirdParty_ANGLE_src_common_aligned__memory.cpp]
656 --- Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp.orig 2022-08-31 07:59:51 UTC
657 +++ Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp
658 @@ -33,7 +33,7 @@ void *AlignedAlloc(size_t size, size_t a
659 // memalign() on Android returns pointers which can safely be used with
660 // free(), so we can use it instead. Issue filed to document this:
661 // http://code.google.com/p/android/issues/detail?id=35391
662 -#elif defined(ANGLE_PLATFORM_ANDROID)
663 +#elif defined(ANGLE_PLATFORM_ANDROID) || defined(__sun__)
664 ptr = memalign(alignment, size);
666 if (posix_memalign(&ptr, alignment, size))
669 [FILE:506:patches/patch-Source_ThirdParty_ANGLE_src_common_third__party_smhasher_src_PMurHash.cpp]
670 --- Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp.orig 2022-08-31 07:59:51 UTC
671 +++ Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp
672 @@ -48,6 +48,9 @@ on big endian machines, or a byte-by-byt
673 -----------------------------------------------------------------------------*/
675 #include "PMurHash.h"
677 +#define __BYTE_ORDER __LITTLE_ENDIAN
681 /* I used ugly type names in the header to avoid potential conflicts with
684 [FILE:561:patches/patch-Source_WTF_wtf_Assertions.h]
685 $NetBSD: patch-Source_WTF_wtf_Assertions.h,v 1.1 2021/01/12 15:21:31 jperkin Exp $
687 Use regular static_assert on SunOS.
689 --- Source/WTF/wtf/Assertions.h.orig 2022-10-19 08:11:34 UTC
690 +++ Source/WTF/wtf/Assertions.h
691 @@ -473,7 +473,7 @@ constexpr bool assertionFailureDueToUnre
694 #ifndef COMPILE_ASSERT
695 -#if COMPILER_SUPPORTS(C_STATIC_ASSERT)
696 +#if COMPILER_SUPPORTS(C_STATIC_ASSERT) && !defined(__sun)
697 /* Unlike static_assert below, this also works in plain C code. */
698 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name)
702 [FILE:638:patches/patch-Source_WTF_wtf_FastMalloc.cpp]
703 --- Source/WTF/wtf/FastMalloc.cpp.orig 2022-09-14 11:58:10 UTC
704 +++ Source/WTF/wtf/FastMalloc.cpp
705 @@ -201,7 +201,11 @@ void* fastAlignedMalloc(size_t alignment
707 ASSERT_IS_WITHIN_LIMIT(size);
710 + p = memalign(alignment, size);
712 posix_memalign(&p, alignment, size);
717 @@ -211,7 +215,11 @@ void* tryFastAlignedMalloc(size_t alignm
719 FAIL_IF_EXCEEDS_LIMIT(size);
722 + p = memalign(alignment, size);
724 posix_memalign(&p, alignment, size);
731 [FILE:502:patches/patch-Source_WTF_wtf_FileSystem.cpp]
732 $NetBSD: patch-Source_WTF_wtf_FileSystem.cpp,v 1.3 2020/09/11 14:47:35 leot Exp $
734 Support MAP_FILE if unavailable.
736 --- Source/WTF/wtf/FileSystem.cpp.orig 2022-09-08 11:51:52 UTC
737 +++ Source/WTF/wtf/FileSystem.cpp
738 @@ -369,6 +369,9 @@ bool MappedFileData::mapFileHandle(Platf
745 void* data = mmap(0, size, pageProtection, MAP_FILE | (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
747 if (data == MAP_FAILED) {
750 [FILE:534:patches/patch-Source_WTF_wtf_MemoryPressureHandler.cpp]
751 --- Source/WTF/wtf/MemoryPressureHandler.cpp.orig 2022-09-16 06:02:57 UTC
752 +++ Source/WTF/wtf/MemoryPressureHandler.cpp
753 @@ -56,7 +56,7 @@ MemoryPressureHandler& MemoryPressureHan
756 MemoryPressureHandler::MemoryPressureHandler()
757 -#if OS(LINUX) || OS(FREEBSD)
758 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
759 : m_holdOffTimer(RunLoop::main(), this, &MemoryPressureHandler::holdOffTimerFired)
761 : m_windowsMeasurementTimer(RunLoop::main(), this, &MemoryPressureHandler::windowsMeasurementTimerFired)
764 [FILE:644:patches/patch-Source_WTF_wtf_MemoryPressureHandler.h]
765 --- Source/WTF/wtf/MemoryPressureHandler.h.orig 2022-08-31 07:59:55 UTC
766 +++ Source/WTF/wtf/MemoryPressureHandler.h
767 @@ -81,7 +81,7 @@ public:
769 WTF_EXPORT_PRIVATE void setShouldUsePeriodicMemoryMonitor(bool);
771 -#if OS(LINUX) || OS(FREEBSD)
772 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
773 WTF_EXPORT_PRIVATE void triggerMemoryPressureEvent(bool isCritical);
776 @@ -277,7 +277,7 @@ private:
777 Win32Handle m_lowMemoryHandle;
780 -#if OS(LINUX) || OS(FREEBSD)
781 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
782 RunLoop::Timer<MemoryPressureHandler> m_holdOffTimer;
783 void holdOffTimerFired();
787 [FILE:326:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
788 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2022-08-31 07:59:55 UTC
789 +++ Source/WTF/wtf/NumberOfCores.cpp
792 #include <sys/sysctl.h>
793 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
794 +#include <stdio.h> // sscanf
800 [FILE:390:patches/patch-Source_WTF_wtf_PlatformGTK.cmake]
801 --- Source/WTF/wtf/PlatformGTK.cmake.orig 2022-09-14 11:58:10 UTC
802 +++ Source/WTF/wtf/PlatformGTK.cmake
803 @@ -61,7 +61,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
805 unix/MemoryPressureHandlerUnix.cpp
807 -elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
808 +elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly")
809 list(APPEND WTF_SOURCES
810 generic/MemoryFootprintGeneric.cpp
814 [FILE:582:patches/patch-Source_WTF_wtf_StackBounds.cpp]
815 $NetBSD: patch-Source_WTF_wtf_StackBounds.cpp,v 1.2 2018/10/24 18:31:07 leot Exp $
817 SunOS does not have pthread_getattr_np.
819 --- Source/WTF/wtf/StackBounds.cpp.orig 2022-08-31 07:59:55 UTC
820 +++ Source/WTF/wtf/StackBounds.cpp
821 @@ -98,6 +98,7 @@ StackBounds StackBounds::newThreadStackB
822 #if HAVE(PTHREAD_NP_H) || OS(NETBSD)
823 // e.g. on FreeBSD 5.4, neundorf@kde.org
824 pthread_attr_get_np(thread, &sattr);
825 +#elif defined(__sun__)
827 // FIXME: this function is non-portable; other POSIX systems may have different np alternatives
828 pthread_getattr_np(thread, &sattr);
831 [FILE:1418:patches/patch-Source_WTF_wtf_unix_MemoryPressureHandlerUnix.cpp]
832 --- Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp.orig 2022-08-31 07:59:55 UTC
833 +++ Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp
836 #include <wtf/MemoryPressureHandler.h>
838 +#if OS(FREEBSD) || defined(__DragonFly__)
844 #include <wtf/Logging.h>
845 #include <wtf/MainThread.h>
849 #include <wtf/linux/CurrentProcessMemoryStatus.h>
851 +#elif OS(FREEBSD) || defined(__DragonFly__)
852 #include <sys/sysctl.h>
853 #include <sys/types.h>
854 #include <sys/user.h>
855 @@ -112,7 +116,7 @@ static size_t processMemoryUsage()
856 ProcessMemoryStatus memoryStatus;
857 currentProcessMemoryStatus(memoryStatus);
858 return (memoryStatus.resident - memoryStatus.shared);
860 +#elif OS(FREEBSD) || defined(__DragonFly__)
861 static size_t pageSize = sysconf(_SC_PAGE_SIZE);
862 struct kinfo_proc info;
863 size_t infolen = sizeof(info);
864 @@ -126,7 +130,11 @@ static size_t processMemoryUsage()
865 if (sysctl(mib, 4, &info, &infolen, nullptr, 0))
868 +# ifdef __DragonFly__
869 + return static_cast<size_t>(info.kp_vm_rssize - info.kp_vm_tsize) * pageSize;
871 return static_cast<size_t>(info.ki_rssize - info.ki_tsize) * pageSize;
874 #error "Missing a platform specific way of determining the memory usage"
878 [FILE:848:patches/patch-Source_WebCore_Modules_fetch_FetchBodyConsumer.cpp]
879 --- Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp.orig 2022-09-14 11:58:10 UTC
880 +++ Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
882 #include <wtf/StringExtras.h>
883 #include <wtf/URLParser.h>
886 +static void *memmem(
887 + const void *big, size_t big_len,
888 + const void *little, size_t little_len)
890 + const char *bp = (const char *)big;
891 + const char *lp = (const char *)little;
894 + if (big_len < little_len || little_len == 0 || big_len == 0)
897 + while (big_len > 0) {
898 + for (l = 0; l < little_len; l++) {
899 + if (bp[l] != lp[l])
902 + if (l == little_len)
913 static inline Ref<Blob> blobFromData(ScriptExecutionContext* context, Vector<uint8_t>&& data, const String& contentType)
916 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
917 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2022-08-31 07:59:56 UTC
918 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
919 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
920 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
921 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
922 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
923 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
924 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
925 // The color values are stored in-place.
926 "strb r2, [" PIXELS_R ", #-11]" NL
927 "strb r3, [" PIXELS_R ", #-10]" NL
930 [FILE:323:patches/patch-Source_WebCore_platform_network_DNS.h]
931 --- Source/WebCore/platform/network/DNS.h.orig 2022-08-31 07:59:56 UTC
932 +++ Source/WebCore/platform/network/DNS.h
934 #include <ws2tcpip.h>
936 #include <netinet/in.h>
937 +# if defined __DragonFly__ || defined __FreeBSD__ || defined __sun__
938 +# include <sys/socket.h>
945 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
946 --- Source/WebDriver/PlatformGTK.cmake.orig 2022-08-31 07:59:56 UTC
947 +++ Source/WebDriver/PlatformGTK.cmake
948 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
949 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
950 "${GLIB_INCLUDE_DIRS}"
951 "${LIBSOUP_INCLUDE_DIRS}"
952 + "${ICU_INCLUDE_DIRS}"
955 list(APPEND WebDriver_SOURCES
958 [FILE:507:patches/patch-Source_WebKit_CMakeLists.txt]
959 $NetBSD: patch-Source_WebKit_CMakeLists.txt,v 1.1 2018/05/16 18:55:45 jperkin Exp $
961 SunOS requires libsocket.
963 --- Source/WebKit/CMakeLists.txt.orig 2022-08-31 07:59:56 UTC
964 +++ Source/WebKit/CMakeLists.txt
965 @@ -404,6 +404,10 @@ if (UNIX)
969 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
970 + list(APPEND WebKit_LIBRARIES socket)
973 macro(ADD_WEBKIT_PREFIX_HEADER _target)
974 if (WebKit_USE_PREFIX_HEADER)
975 get_target_property(OLD_COMPILE_FLAGS ${_target} COMPILE_FLAGS)
978 [FILE:551:patches/patch-Source_WebKit_PlatformGTK.cmake]
979 --- Source/WebKit/PlatformGTK.cmake.orig 2022-09-14 11:58:10 UTC
980 +++ Source/WebKit/PlatformGTK.cmake
981 @@ -42,7 +42,7 @@ add_definitions(-DLOCALEDIR="${CMAKE_INS
982 add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}")
983 add_definitions(-DLIBDIR="${LIB_INSTALL_DIR}")
985 -if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
986 +if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|SunOS")
987 WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map")
992 [FILE:1241:patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp]
993 $NetBSD: patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp,v 1.3 2021/01/12 15:21:31 jperkin Exp $
995 On NetBSD we see "Error sending IPC message: Message too long" due to
996 the use of sendmsg with a large message body (EMSGSIZE).
998 WebKit already uses shared memory to communicate the message body when
999 the message is too large, so force it to always use this method to avoid
1000 encountering EMSGSIZE.
1002 --- Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp.orig 2022-08-31 07:59:56 UTC
1003 +++ Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
1006 #endif // SOCK_SEQPACKET
1008 +#ifndef MSG_NOSIGNAL
1009 +#define MSG_NOSIGNAL 0
1014 static const size_t messageMaxSize = 4096;
1015 @@ -442,8 +446,12 @@ bool Connection::sendOutgoingMessage(Uni
1020 size_t messageSizeWithBodyInline = sizeof(MessageInfo) + (outputMessage.attachments().size() * sizeof(AttachmentInfo)) + outputMessage.bodySize();
1021 if (messageSizeWithBodyInline > messageMaxSize && outputMessage.bodySize()) {
1025 RefPtr<WebKit::SharedMemory> oolMessageBody = WebKit::SharedMemory::allocate(encoder->bufferSize());
1026 if (!oolMessageBody)
1030 [FILE:714:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
1031 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2022-09-14 11:58:10 UTC
1032 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
1033 @@ -148,7 +148,13 @@ static int createSharedMemory()
1036 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
1037 - auto name = makeString("/WK2SharedMemory.", static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1039 +#ifdef __DragonFly__
1040 + makeString("/tmp/WK2SharedMemory.",
1042 + makeString("/WK2SharedMemory.",
1044 + static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1045 tempName = name.utf8();
1050 [FILE:1432:patches/patch-Source_bmalloc_bmalloc_AvailableMemory.cpp]
1051 --- Source/bmalloc/bmalloc/AvailableMemory.cpp.orig 2022-08-31 07:59:57 UTC
1052 +++ Source/bmalloc/bmalloc/AvailableMemory.cpp
1054 #import <mach/mach_error.h>
1057 -#if BOS(FREEBSD) || BOS(LINUX)
1059 #include <sys/sysinfo.h>
1062 @@ -161,7 +161,13 @@ static size_t computeAvailableMemory()
1063 // Round up the memory size to a multiple of 128MB because max_mem may not be exactly 512MB
1064 // (for example) and we have code that depends on those boundaries.
1065 return ((sizeAccordingToKernel + multiple - 1) / multiple) * multiple;
1066 -#elif BOS(FREEBSD) || BOS(LINUX)
1068 + long pages = sysconf(_SC_PHYS_PAGES);
1069 + long pageSize = sysconf(_SC_PAGE_SIZE);
1070 + if (pages == -1 || pageSize == -1)
1071 + return availableMemoryGuess;
1072 + return pages * pageSize;
1074 struct sysinfo info;
1075 if (!sysinfo(&info))
1076 return info.totalram * info.mem_unit;
1077 @@ -212,7 +218,11 @@ MemoryStatus memoryStatus()
1079 size_t memoryFootprint = 0;
1080 if (!sysctl(mib, 4, &info, &infolen, nullptr, 0))
1081 +# ifdef __DragonFly__
1082 + memoryFootprint = static_cast<size_t>(info.kp_vm_rssize) * vmPageSize();
1084 memoryFootprint = static_cast<size_t>(info.ki_rssize) * vmPageSize();
1088 double percentInUse = static_cast<double>(memoryFootprint) / static_cast<double>(availableMemory());
1091 [FILE:1294:patches/patch-Source_bmalloc_libpas_src_libpas_pas__probabilistic__guard__malloc__allocator.c]
1092 --- Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c.orig 2022-09-08 11:51:52 UTC
1093 +++ Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
1094 @@ -103,11 +103,13 @@ pas_allocation_result pas_probabilistic_
1096 // ensure physical addresses are released
1097 // TODO: investigate using MADV_FREE_REUSABLE instead
1098 + /* Linux 4.5, Ravenports uses 4.4
1099 int madvise_res = madvise((void *) upper_guard_page, page_size, MADV_FREE);
1100 PAS_ASSERT(!madvise_res);
1102 madvise_res = madvise((void *) lower_guard_page, page_size, MADV_FREE);
1103 PAS_ASSERT(!madvise_res);
1106 // the key is the location where the user's starting memory address is located.
1107 // allocations are right aligned, so the end backs up to the upper guard page.
1108 @@ -166,8 +168,10 @@ void pas_probabilistic_guard_malloc_deal
1110 // ensure physical addresses are released
1111 // TODO: investigate using MADV_FREE_REUSABLE instead
1112 + /* Requires linux 4.5
1113 int madvise_res = madvise((void *) value->start_of_data_pages, value->size_of_data_pages, MADV_FREE);
1114 PAS_ASSERT(!madvise_res);
1117 bool removed = pas_ptr_hash_map_remove(&pas_pgm_hash_map, key, NULL, &pas_large_utility_free_heap_allocation_config);
1118 PAS_ASSERT(removed);
1121 [FILE:971:patches/patch-Source_cmake_OptionsCommon.cmake]
1122 --- Source/cmake/OptionsCommon.cmake.orig 2022-08-31 07:59:57 UTC
1123 +++ Source/cmake/OptionsCommon.cmake
1124 @@ -128,10 +128,10 @@ endif ()
1125 option(USE_THIN_ARCHIVES "Produce all static libraries as thin archives" ${USE_THIN_ARCHIVES_DEFAULT})
1127 if (USE_THIN_ARCHIVES)
1128 - set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1129 - set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1130 - set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1131 - set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1132 + set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1133 + set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1134 + set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1135 + set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1138 set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
1141 [FILE:520:patches/patch-Source_cmake_WebKitCompilerFlags.cmake]
1142 --- Source/cmake/WebKitCompilerFlags.cmake.orig 2022-08-31 07:59:57 UTC
1143 +++ Source/cmake/WebKitCompilerFlags.cmake
1144 @@ -252,7 +252,7 @@ if (NOT MSVC)
1145 string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
1148 -if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
1149 +if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
1150 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
1155 [FILE:358:patches/patch-Tools_MiniBrowser_gtk_CMakeLists.txt]
1156 --- Tools/MiniBrowser/gtk/CMakeLists.txt.orig 2022-08-31 07:59:57 UTC
1157 +++ Tools/MiniBrowser/gtk/CMakeLists.txt
1158 @@ -41,6 +41,10 @@ set(MiniBrowser_PRIVATE_LIBRARIES
1162 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
1163 + list(APPEND MiniBrowser_PRIVATE_LIBRARIES intl)
1166 set(MiniBrowser_DEPENDENCIES