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.1.tar.xz:main
18 SPKGS[api50]= complete
21 SPKGS[api40]= complete
24 SPKGS[api41]= complete
28 OPTIONS_AVAILABLE= API40 API41 API50
29 OPTIONS_STANDARD= none
30 VOPTS[api50]= API40=OFF API41=OFF API50=ON
31 VOPTS[api40]= API40=ON API41=OFF API50=OFF
32 VOPTS[api41]= API40=OFF API41=ON API50=OFF
34 BUILD_DEPENDS= gperf:primary:standard
35 BUILDRUN_DEPENDS= enchant:single:standard
36 fontconfig:primary:standard
37 freetype:primary:standard
39 libsecret:primary:standard
40 libnotify:primary:standard
41 hyphen:single:standard
44 libgcrypt:single:standard
45 gnutls:primary:standard
46 libtasn1:primary:standard
47 geoclue:single:standard
49 gstreamer1-plugins-base:primary:standard
50 openjpeg:single:standard
52 USES= png mesa cmake pkgconfig sqlite bison perl:build
53 python:build ruby:build gettext-tools cpe
54 GNOME_COMPONENTS= gdkpixbuf introspection libxslt
55 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
57 DISTNAME= webkitgtk-2.38.1
59 LICENSE= GPLv2+:primary BSD3CLAUSE:primary
60 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
61 LICENSE_FILE= GPLv2+:stock
62 BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
63 LICENSE_AWK= BSD3CLAUSE:"^$$"
65 LICENSE_SOURCE= BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
66 TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
69 CPE_PRODUCT= webkitgtk
71 FPC_EQUIVALENT= www/webkit2-gtk3
73 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}}
75 INSTALL_TARGET= install
76 INSTALL_REQ_TOOLCHAIN= yes
77 PLIST_SUB= INTRO="@comment "
79 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
80 CMAKE_ARGS= -DPORT=GTK
81 -DENABLE_GEOLOCATION:BOOL=ON
82 -DENABLE_GLES2:BOOL=ON
83 -DENABLE_MINIBROWSER:BOOL=ON
84 -DENABLE_WAYLAND_TARGET:BOOL=OFF
85 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
86 -DENABLE_GAMEPAD:BOOL=OFF
87 -DENABLE_INTROSPECTION:BOOL=OFF
88 -DENABLE_JOURNALD_LOG:BOOL=OFF
89 -DSUPPRESS_ASSERT:BOOL=ON
90 -DUSE_SYSTEMD:BOOL=OFF
91 -DUSE_GSTREAMER_GL:BOOL=OFF
92 VAR_OPSYS[sunos]= CMAKE_ARGS=-DUSE_LD_GOLD:BOOL=OFF
94 [API50].DESCRIPTION= Build WebKit2 API 5.0 variant
95 [API50].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
96 [API50].CMAKE_ARGS_ON= -DUSE_GTK4=ON
97 [API50].GNOME_COMPONENTS_ON= gtk4
98 [API50].PLIST_SUB_ON= JSSOVERSION=0.0.0
105 [API40].DESCRIPTION= Build WebKit2 API 4.0 variant
106 [API40].BUILDRUN_DEPENDS_ON= libsoup-2.4:primary:standard
107 [API40].CMAKE_ARGS_ON= -DUSE_SOUP2=ON
108 [API40].GNOME_COMPONENTS_ON= gtk3
109 [API40].PLIST_SUB_ON= JSSOVERSION=18.21.4
116 [API41].DESCRIPTION= Build WebKit2 API 4.1 variant
117 [API41].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
118 [API41].GNOME_COMPONENTS_ON= gtk3
119 [API41].PLIST_SUB_ON= JSSOVERSION=0.2.4
127 echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' \
128 >> ${WRKSRC}/Source/WTF/wtf/CMakeLists.txt
130 post-install-API40-ON:
131 (cd ${STAGEDIR}${PREFIX}/bin && \
132 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
133 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
134 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
135 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
137 post-install-API50-ON:
138 (cd ${STAGEDIR}${PREFIX}/bin && \
139 ${LN} -s ../libexec/webkit2gtk-5.0/jsc jsc-5 && \
140 ${LN} -s ../libexec/webkit2gtk-5.0/MiniBrowser MiniBrowser-5)
141 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-5.0/injected-bundle/*.so
142 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/*
145 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
146 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
148 post-install-API41-ON:
149 (cd ${STAGEDIR}${PREFIX}/bin && \
150 ${LN} -s ../libexec/webkit2gtk-4.1/jsc jsc-4 && \
151 ${LN} -s ../libexec/webkit2gtk-4.1/MiniBrowser MiniBrowser-4)
152 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.1/injected-bundle/*.so
153 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.1/*
156 ${REINPLACE_CMD} -e '/USE_FILE_LOCK/ s|1|0|' \
157 ${WRKSRC}/Source/WTF/wtf/PlatformUse.h \
158 ${WRKSRC}/Source/WebCore/config.h
160 [FILE:574:descriptions/desc.primary]
161 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
162 for projects requiring any kind of web integration, from hybrid HTML/CSS
163 applications to full-fledged web browsers. It offers WebKit's full
164 functionality and is useful in a wide range of systems from desktop
165 computers to embedded systems like phones, tablets, and televisions.
167 WebKitGTK+ is made by a lively community of developers and designers,
168 who hope to bring the web platform to everyone. It's the official web
169 engine of the GNOME platform and is used in browsers such as Epiphany
174 02e195b3fb9e057743b3364ee7f1eec13f71614226849544c07c32a73b8f1848 33006384 webkitgtk-2.38.1.tar.xz
177 [FILE:6416:manifests/plist.primary]
178 %%INTRO%%lib/girepository-1.0/
179 JavaScriptCore-%%WKAPI%%.typelib
180 WebKit2-%%WKAPI%%.typelib
181 WebKit2WebExtension-%%WKAPI%%.typelib
182 %%INTRO%%share/gir-1.0/
183 JavaScriptCore-%%WKAPI%%.gir
184 WebKit2-%%WKAPI%%.gir
185 WebKit2WebExtension-%%WKAPI%%.gir
187 MiniBrowser-%%WKAPIMAJOR%%
190 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
199 include/webkitgtk-%%WKAPI%%/jsc/
211 include/webkitgtk-%%WKAPI%%/webkit2/
212 WebKitApplicationInfo.h
213 WebKitAuthenticationRequest.h
215 WebKitAutomationSession.h
216 WebKitBackForwardList.h
217 WebKitBackForwardListItem.h
218 WebKitColorChooserRequest.h
219 WebKitConsoleMessage.h
221 WebKitContextMenuActions.h
222 WebKitContextMenuItem.h
223 WebKitCookieManager.h
226 WebKitDeviceInfoPermissionRequest.h
228 WebKitEditingCommands.h
232 WebKitFaviconDatabase.h
233 WebKitFileChooserRequest.h
234 WebKitFindController.h
235 WebKitFormSubmissionRequest.h
236 WebKitForwardDeclarations.h
238 WebKitGeolocationManager.h
239 WebKitGeolocationPermissionRequest.h
240 WebKitHitTestResult.h
241 WebKitInputMethodContext.h
242 WebKitInstallMissingMediaPluginsPermissionRequest.h
243 WebKitJavascriptResult.h
244 WebKitMediaKeySystemPermissionRequest.h
245 WebKitMemoryPressureSettings.h
247 WebKitNavigationAction.h
248 WebKitNavigationPolicyDecision.h
249 WebKitNetworkProxySettings.h
251 WebKitNotificationPermissionRequest.h
253 WebKitOptionMenuItem.h
254 WebKitPermissionRequest.h
256 WebKitPointerLockPermissionRequest.h
257 WebKitPolicyDecision.h
258 WebKitPrintCustomWidget.h
259 WebKitPrintOperation.h
260 WebKitResponsePolicyDecision.h
263 WebKitSecurityManager.h
264 WebKitSecurityOrigin.h
268 WebKitURISchemeRequest.h
269 WebKitURISchemeResponse.h
272 WebKitUserContentFilterStore.h
273 WebKitUserContentManager.h
274 WebKitUserMediaPermissionRequest.h
280 WebKitWebExtensionAutocleanups.h
281 WebKitWebHitTestResult.h
284 WebKitWebProcessEnumTypes.h
288 WebKitWebViewSessionState.h
290 WebKitWebsiteDataAccessPermissionRequest.h
291 WebKitWebsiteDataManager.h
292 WebKitWebsitePolicies.h
293 WebKitWindowProperties.h
294 webkit-web-extension.h
296 include/webkitgtk-%%WKAPI%%/webkitdom/
299 WebKitDOMCDATASection.h
301 WebKitDOMCSSRuleList.h
302 WebKitDOMCSSStyleDeclaration.h
303 WebKitDOMCSSStyleSheet.h
305 WebKitDOMCharacterData.h
306 WebKitDOMClientRect.h
307 WebKitDOMClientRectList.h
310 WebKitDOMCustomUnstable.h
311 WebKitDOMDOMImplementation.h
312 WebKitDOMDOMSelection.h
313 WebKitDOMDOMTokenList.h
315 WebKitDOMDOMWindowUnstable.h
316 WebKitDOMDeprecated.h
318 WebKitDOMDocumentFragment.h
319 WebKitDOMDocumentFragmentUnstable.h
320 WebKitDOMDocumentType.h
321 WebKitDOMDocumentUnstable.h
323 WebKitDOMElementUnstable.h
325 WebKitDOMEventTarget.h
328 WebKitDOMHTMLAnchorElement.h
329 WebKitDOMHTMLAppletElement.h
330 WebKitDOMHTMLAreaElement.h
331 WebKitDOMHTMLBRElement.h
332 WebKitDOMHTMLBaseElement.h
333 WebKitDOMHTMLBodyElement.h
334 WebKitDOMHTMLButtonElement.h
335 WebKitDOMHTMLCanvasElement.h
336 WebKitDOMHTMLCollection.h
337 WebKitDOMHTMLDListElement.h
338 WebKitDOMHTMLDirectoryElement.h
339 WebKitDOMHTMLDivElement.h
340 WebKitDOMHTMLDocument.h
341 WebKitDOMHTMLElement.h
342 WebKitDOMHTMLElementUnstable.h
343 WebKitDOMHTMLEmbedElement.h
344 WebKitDOMHTMLFieldSetElement.h
345 WebKitDOMHTMLFontElement.h
346 WebKitDOMHTMLFormElement.h
347 WebKitDOMHTMLFrameElement.h
348 WebKitDOMHTMLFrameSetElement.h
349 WebKitDOMHTMLHRElement.h
350 WebKitDOMHTMLHeadElement.h
351 WebKitDOMHTMLHeadingElement.h
352 WebKitDOMHTMLHtmlElement.h
353 WebKitDOMHTMLIFrameElement.h
354 WebKitDOMHTMLImageElement.h
355 WebKitDOMHTMLInputElement.h
356 WebKitDOMHTMLLIElement.h
357 WebKitDOMHTMLLabelElement.h
358 WebKitDOMHTMLLegendElement.h
359 WebKitDOMHTMLLinkElement.h
360 WebKitDOMHTMLMapElement.h
361 WebKitDOMHTMLMarqueeElement.h
362 WebKitDOMHTMLMenuElement.h
363 WebKitDOMHTMLMetaElement.h
364 WebKitDOMHTMLModElement.h
365 WebKitDOMHTMLOListElement.h
366 WebKitDOMHTMLObjectElement.h
367 WebKitDOMHTMLOptGroupElement.h
368 WebKitDOMHTMLOptionElement.h
369 WebKitDOMHTMLOptionsCollection.h
370 WebKitDOMHTMLParagraphElement.h
371 WebKitDOMHTMLParamElement.h
372 WebKitDOMHTMLPreElement.h
373 WebKitDOMHTMLQuoteElement.h
374 WebKitDOMHTMLScriptElement.h
375 WebKitDOMHTMLSelectElement.h
376 WebKitDOMHTMLStyleElement.h
377 WebKitDOMHTMLTableCaptionElement.h
378 WebKitDOMHTMLTableCellElement.h
379 WebKitDOMHTMLTableColElement.h
380 WebKitDOMHTMLTableElement.h
381 WebKitDOMHTMLTableRowElement.h
382 WebKitDOMHTMLTableSectionElement.h
383 WebKitDOMHTMLTextAreaElement.h
384 WebKitDOMHTMLTitleElement.h
385 WebKitDOMHTMLUListElement.h
386 WebKitDOMKeyboardEvent.h
388 WebKitDOMMouseEvent.h
389 WebKitDOMNamedNodeMap.h
391 WebKitDOMNodeFilter.h
392 WebKitDOMNodeIterator.h
395 WebKitDOMProcessingInstruction.h
397 WebKitDOMRangeUnstable.h
398 WebKitDOMStyleSheet.h
399 WebKitDOMStyleSheetList.h
401 WebKitDOMTreeWalker.h
403 WebKitDOMWheelEvent.h
404 WebKitDOMXPathExpression.h
405 WebKitDOMXPathNSResolver.h
406 WebKitDOMXPathResult.h
408 webkitdomautocleanups.h
411 libjavascriptcoregtk-%%WKAPI%%.so
412 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
413 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
414 libwebkit2gtk-%%WKAPI%%.so
415 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
416 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
418 javascriptcoregtk-%%WKAPI%%.pc
419 webkit2gtk-%%WKAPI%%.pc
420 webkit2gtk-web-extension-%%WKAPI%%.pc
421 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
422 libexec/webkit2gtk-%%WKAPI%%/
429 [FILE:2618:manifests/plist.nls]
430 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
431 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
432 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
433 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
434 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
435 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
436 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
437 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
438 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
439 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
440 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
441 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
442 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
443 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
444 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
445 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
446 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
447 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
448 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
449 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
450 share/locale/hr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
451 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
452 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
453 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
454 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
455 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
456 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
457 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
458 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
459 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
460 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
461 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
462 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
463 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
464 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
465 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
466 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
467 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
468 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
469 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
470 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
471 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
472 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
473 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
474 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
475 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
476 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
477 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
478 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
479 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
482 [FILE:431:patches/patch-CMakeLists.txt]
483 --- CMakeLists.txt.orig 2022-08-31 07:59:34 UTC
485 @@ -31,6 +31,11 @@ if (ENABLE_API_TESTS)
489 +if (SUPPRESS_ASSERT)
490 + add_definitions(-DNDEBUG=1)
491 + add_definitions(-D__OPTIMIZE__)
494 # -----------------------------------------------------------------------------
495 # Add module directories
496 # -----------------------------------------------------------------------------
499 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
500 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2022-08-31 07:59:51 UTC
501 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
502 @@ -2920,6 +2920,8 @@ public:
503 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
505 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
506 +#elif OS(FREEBSD) || OS(NETBSD)
507 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
509 size_t page = pageSize();
510 uintptr_t current = reinterpret_cast<uintptr_t>(code);
513 [FILE:4034:patches/patch-Source_JavaScriptCore_runtime_MachineContext.h]
514 $NetBSD: patch-Source_JavaScriptCore_runtime_MachineContext.h,v 1.2 2021/05/13 08:20:58 leot Exp $
516 Add support for NetBSD.
518 --- Source/JavaScriptCore/runtime/MachineContext.h.orig 2022-08-31 07:59:51 UTC
519 +++ Source/JavaScriptCore/runtime/MachineContext.h
520 @@ -193,6 +193,22 @@ static inline void*& stackPointerImpl(mc
521 #error Unknown Architecture
527 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_UESP]);
529 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSP]);
531 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
533 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
535 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
537 +#error Unknown Architecture
540 #elif OS(FUCHSIA) || OS(LINUX)
543 @@ -338,6 +354,22 @@ static inline void*& framePointerImpl(mc
544 #error Unknown Architecture
550 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EBP]);
552 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RBP]);
554 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
556 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
558 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_S8]);
560 +#error Unknown Architecture
563 #elif OS(FUCHSIA) || OS(LINUX)
565 // The following sequence depends on glibc's sys/ucontext.h.
566 @@ -495,6 +527,22 @@ static inline void*& instructionPointerI
568 #error Unknown Architecture
574 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EIP]);
576 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RIP]);
578 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
580 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
582 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EPC]);
584 +#error Unknown Architecture
587 #elif OS(FUCHSIA) || OS(LINUX)
589 @@ -651,6 +699,22 @@ inline void*& argumentPointer<1>(mcontex
591 #error Unknown Architecture
597 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EDX]);
599 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSI]);
601 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R1]);
603 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X1]);
605 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_A1]);
607 +#error Unknown Architecture
610 #elif OS(FUCHSIA) || OS(LINUX)
612 @@ -774,6 +838,22 @@ inline void*& llintInstructionPointer(mc
616 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
618 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
620 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
622 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X4]);
624 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_T4]);
626 +#error Unknown Architecture
632 return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
634 return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
637 [FILE:597:patches/patch-Source_ThirdParty_ANGLE_src_common_aligned__memory.cpp]
638 --- Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp.orig 2022-08-31 07:59:51 UTC
639 +++ Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp
640 @@ -33,7 +33,7 @@ void *AlignedAlloc(size_t size, size_t a
641 // memalign() on Android returns pointers which can safely be used with
642 // free(), so we can use it instead. Issue filed to document this:
643 // http://code.google.com/p/android/issues/detail?id=35391
644 -#elif defined(ANGLE_PLATFORM_ANDROID)
645 +#elif defined(ANGLE_PLATFORM_ANDROID) || defined(__sun__)
646 ptr = memalign(alignment, size);
648 if (posix_memalign(&ptr, alignment, size))
651 [FILE:506:patches/patch-Source_ThirdParty_ANGLE_src_common_third__party_smhasher_src_PMurHash.cpp]
652 --- Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp.orig 2022-08-31 07:59:51 UTC
653 +++ Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp
654 @@ -48,6 +48,9 @@ on big endian machines, or a byte-by-byt
655 -----------------------------------------------------------------------------*/
657 #include "PMurHash.h"
659 +#define __BYTE_ORDER __LITTLE_ENDIAN
663 /* I used ugly type names in the header to avoid potential conflicts with
666 [FILE:561:patches/patch-Source_WTF_wtf_Assertions.h]
667 $NetBSD: patch-Source_WTF_wtf_Assertions.h,v 1.1 2021/01/12 15:21:31 jperkin Exp $
669 Use regular static_assert on SunOS.
671 --- Source/WTF/wtf/Assertions.h.orig 2022-08-31 07:59:55 UTC
672 +++ Source/WTF/wtf/Assertions.h
673 @@ -473,7 +473,7 @@ constexpr bool assertionFailureDueToUnre
676 #ifndef COMPILE_ASSERT
677 -#if COMPILER_SUPPORTS(C_STATIC_ASSERT)
678 +#if COMPILER_SUPPORTS(C_STATIC_ASSERT) && !defined(__sun)
679 /* Unlike static_assert below, this also works in plain C code. */
680 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name)
684 [FILE:638:patches/patch-Source_WTF_wtf_FastMalloc.cpp]
685 --- Source/WTF/wtf/FastMalloc.cpp.orig 2022-09-14 11:58:10 UTC
686 +++ Source/WTF/wtf/FastMalloc.cpp
687 @@ -201,7 +201,11 @@ void* fastAlignedMalloc(size_t alignment
689 ASSERT_IS_WITHIN_LIMIT(size);
692 + p = memalign(alignment, size);
694 posix_memalign(&p, alignment, size);
699 @@ -211,7 +215,11 @@ void* tryFastAlignedMalloc(size_t alignm
701 FAIL_IF_EXCEEDS_LIMIT(size);
704 + p = memalign(alignment, size);
706 posix_memalign(&p, alignment, size);
713 [FILE:502:patches/patch-Source_WTF_wtf_FileSystem.cpp]
714 $NetBSD: patch-Source_WTF_wtf_FileSystem.cpp,v 1.3 2020/09/11 14:47:35 leot Exp $
716 Support MAP_FILE if unavailable.
718 --- Source/WTF/wtf/FileSystem.cpp.orig 2022-09-08 11:51:52 UTC
719 +++ Source/WTF/wtf/FileSystem.cpp
720 @@ -369,6 +369,9 @@ bool MappedFileData::mapFileHandle(Platf
727 void* data = mmap(0, size, pageProtection, MAP_FILE | (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
729 if (data == MAP_FAILED) {
732 [FILE:534:patches/patch-Source_WTF_wtf_MemoryPressureHandler.cpp]
733 --- Source/WTF/wtf/MemoryPressureHandler.cpp.orig 2022-09-16 06:02:57 UTC
734 +++ Source/WTF/wtf/MemoryPressureHandler.cpp
735 @@ -56,7 +56,7 @@ MemoryPressureHandler& MemoryPressureHan
738 MemoryPressureHandler::MemoryPressureHandler()
739 -#if OS(LINUX) || OS(FREEBSD)
740 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
741 : m_holdOffTimer(RunLoop::main(), this, &MemoryPressureHandler::holdOffTimerFired)
743 : m_windowsMeasurementTimer(RunLoop::main(), this, &MemoryPressureHandler::windowsMeasurementTimerFired)
746 [FILE:644:patches/patch-Source_WTF_wtf_MemoryPressureHandler.h]
747 --- Source/WTF/wtf/MemoryPressureHandler.h.orig 2022-08-31 07:59:55 UTC
748 +++ Source/WTF/wtf/MemoryPressureHandler.h
749 @@ -81,7 +81,7 @@ public:
751 WTF_EXPORT_PRIVATE void setShouldUsePeriodicMemoryMonitor(bool);
753 -#if OS(LINUX) || OS(FREEBSD)
754 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
755 WTF_EXPORT_PRIVATE void triggerMemoryPressureEvent(bool isCritical);
758 @@ -277,7 +277,7 @@ private:
759 Win32Handle m_lowMemoryHandle;
762 -#if OS(LINUX) || OS(FREEBSD)
763 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
764 RunLoop::Timer<MemoryPressureHandler> m_holdOffTimer;
765 void holdOffTimerFired();
769 [FILE:326:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
770 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2022-08-31 07:59:55 UTC
771 +++ Source/WTF/wtf/NumberOfCores.cpp
774 #include <sys/sysctl.h>
775 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
776 +#include <stdio.h> // sscanf
782 [FILE:390:patches/patch-Source_WTF_wtf_PlatformGTK.cmake]
783 --- Source/WTF/wtf/PlatformGTK.cmake.orig 2022-09-14 11:58:10 UTC
784 +++ Source/WTF/wtf/PlatformGTK.cmake
785 @@ -61,7 +61,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
787 unix/MemoryPressureHandlerUnix.cpp
789 -elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
790 +elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly")
791 list(APPEND WTF_SOURCES
792 generic/MemoryFootprintGeneric.cpp
796 [FILE:582:patches/patch-Source_WTF_wtf_StackBounds.cpp]
797 $NetBSD: patch-Source_WTF_wtf_StackBounds.cpp,v 1.2 2018/10/24 18:31:07 leot Exp $
799 SunOS does not have pthread_getattr_np.
801 --- Source/WTF/wtf/StackBounds.cpp.orig 2022-08-31 07:59:55 UTC
802 +++ Source/WTF/wtf/StackBounds.cpp
803 @@ -98,6 +98,7 @@ StackBounds StackBounds::newThreadStackB
804 #if HAVE(PTHREAD_NP_H) || OS(NETBSD)
805 // e.g. on FreeBSD 5.4, neundorf@kde.org
806 pthread_attr_get_np(thread, &sattr);
807 +#elif defined(__sun__)
809 // FIXME: this function is non-portable; other POSIX systems may have different np alternatives
810 pthread_getattr_np(thread, &sattr);
813 [FILE:1418:patches/patch-Source_WTF_wtf_unix_MemoryPressureHandlerUnix.cpp]
814 --- Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp.orig 2022-08-31 07:59:55 UTC
815 +++ Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp
818 #include <wtf/MemoryPressureHandler.h>
820 +#if OS(FREEBSD) || defined(__DragonFly__)
826 #include <wtf/Logging.h>
827 #include <wtf/MainThread.h>
831 #include <wtf/linux/CurrentProcessMemoryStatus.h>
833 +#elif OS(FREEBSD) || defined(__DragonFly__)
834 #include <sys/sysctl.h>
835 #include <sys/types.h>
836 #include <sys/user.h>
837 @@ -112,7 +116,7 @@ static size_t processMemoryUsage()
838 ProcessMemoryStatus memoryStatus;
839 currentProcessMemoryStatus(memoryStatus);
840 return (memoryStatus.resident - memoryStatus.shared);
842 +#elif OS(FREEBSD) || defined(__DragonFly__)
843 static size_t pageSize = sysconf(_SC_PAGE_SIZE);
844 struct kinfo_proc info;
845 size_t infolen = sizeof(info);
846 @@ -126,7 +130,11 @@ static size_t processMemoryUsage()
847 if (sysctl(mib, 4, &info, &infolen, nullptr, 0))
850 +# ifdef __DragonFly__
851 + return static_cast<size_t>(info.kp_vm_rssize - info.kp_vm_tsize) * pageSize;
853 return static_cast<size_t>(info.ki_rssize - info.ki_tsize) * pageSize;
856 #error "Missing a platform specific way of determining the memory usage"
860 [FILE:848:patches/patch-Source_WebCore_Modules_fetch_FetchBodyConsumer.cpp]
861 --- Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp.orig 2022-09-14 11:58:10 UTC
862 +++ Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
864 #include <wtf/StringExtras.h>
865 #include <wtf/URLParser.h>
868 +static void *memmem(
869 + const void *big, size_t big_len,
870 + const void *little, size_t little_len)
872 + const char *bp = (const char *)big;
873 + const char *lp = (const char *)little;
876 + if (big_len < little_len || little_len == 0 || big_len == 0)
879 + while (big_len > 0) {
880 + for (l = 0; l < little_len; l++) {
881 + if (bp[l] != lp[l])
884 + if (l == little_len)
895 static inline Ref<Blob> blobFromData(ScriptExecutionContext* context, Vector<uint8_t>&& data, const String& contentType)
898 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
899 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2022-08-31 07:59:56 UTC
900 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
901 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
902 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
903 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
904 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
905 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
906 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
907 // The color values are stored in-place.
908 "strb r2, [" PIXELS_R ", #-11]" NL
909 "strb r3, [" PIXELS_R ", #-10]" NL
912 [FILE:323:patches/patch-Source_WebCore_platform_network_DNS.h]
913 --- Source/WebCore/platform/network/DNS.h.orig 2022-08-31 07:59:56 UTC
914 +++ Source/WebCore/platform/network/DNS.h
916 #include <ws2tcpip.h>
918 #include <netinet/in.h>
919 +# if defined __DragonFly__ || defined __FreeBSD__ || defined __sun__
920 +# include <sys/socket.h>
927 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
928 --- Source/WebDriver/PlatformGTK.cmake.orig 2022-08-31 07:59:56 UTC
929 +++ Source/WebDriver/PlatformGTK.cmake
930 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
931 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
932 "${GLIB_INCLUDE_DIRS}"
933 "${LIBSOUP_INCLUDE_DIRS}"
934 + "${ICU_INCLUDE_DIRS}"
937 list(APPEND WebDriver_SOURCES
940 [FILE:507:patches/patch-Source_WebKit_CMakeLists.txt]
941 $NetBSD: patch-Source_WebKit_CMakeLists.txt,v 1.1 2018/05/16 18:55:45 jperkin Exp $
943 SunOS requires libsocket.
945 --- Source/WebKit/CMakeLists.txt.orig 2022-08-31 07:59:56 UTC
946 +++ Source/WebKit/CMakeLists.txt
947 @@ -404,6 +404,10 @@ if (UNIX)
951 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
952 + list(APPEND WebKit_LIBRARIES socket)
955 macro(ADD_WEBKIT_PREFIX_HEADER _target)
956 if (WebKit_USE_PREFIX_HEADER)
957 get_target_property(OLD_COMPILE_FLAGS ${_target} COMPILE_FLAGS)
960 [FILE:551:patches/patch-Source_WebKit_PlatformGTK.cmake]
961 --- Source/WebKit/PlatformGTK.cmake.orig 2022-09-14 11:58:10 UTC
962 +++ Source/WebKit/PlatformGTK.cmake
963 @@ -42,7 +42,7 @@ add_definitions(-DLOCALEDIR="${CMAKE_INS
964 add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}")
965 add_definitions(-DLIBDIR="${LIB_INSTALL_DIR}")
967 -if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
968 +if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|SunOS")
969 WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map")
974 [FILE:1241:patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp]
975 $NetBSD: patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp,v 1.3 2021/01/12 15:21:31 jperkin Exp $
977 On NetBSD we see "Error sending IPC message: Message too long" due to
978 the use of sendmsg with a large message body (EMSGSIZE).
980 WebKit already uses shared memory to communicate the message body when
981 the message is too large, so force it to always use this method to avoid
982 encountering EMSGSIZE.
984 --- Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp.orig 2022-08-31 07:59:56 UTC
985 +++ Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
988 #endif // SOCK_SEQPACKET
990 +#ifndef MSG_NOSIGNAL
991 +#define MSG_NOSIGNAL 0
996 static const size_t messageMaxSize = 4096;
997 @@ -442,8 +446,12 @@ bool Connection::sendOutgoingMessage(Uni
1002 size_t messageSizeWithBodyInline = sizeof(MessageInfo) + (outputMessage.attachments().size() * sizeof(AttachmentInfo)) + outputMessage.bodySize();
1003 if (messageSizeWithBodyInline > messageMaxSize && outputMessage.bodySize()) {
1007 RefPtr<WebKit::SharedMemory> oolMessageBody = WebKit::SharedMemory::allocate(encoder->bufferSize());
1008 if (!oolMessageBody)
1012 [FILE:714:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
1013 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2022-09-14 11:58:10 UTC
1014 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
1015 @@ -148,7 +148,13 @@ static int createSharedMemory()
1018 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
1019 - auto name = makeString("/WK2SharedMemory.", static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1021 +#ifdef __DragonFly__
1022 + makeString("/tmp/WK2SharedMemory.",
1024 + makeString("/WK2SharedMemory.",
1026 + static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1027 tempName = name.utf8();
1032 [FILE:1432:patches/patch-Source_bmalloc_bmalloc_AvailableMemory.cpp]
1033 --- Source/bmalloc/bmalloc/AvailableMemory.cpp.orig 2022-08-31 07:59:57 UTC
1034 +++ Source/bmalloc/bmalloc/AvailableMemory.cpp
1036 #import <mach/mach_error.h>
1039 -#if BOS(FREEBSD) || BOS(LINUX)
1041 #include <sys/sysinfo.h>
1044 @@ -161,7 +161,13 @@ static size_t computeAvailableMemory()
1045 // Round up the memory size to a multiple of 128MB because max_mem may not be exactly 512MB
1046 // (for example) and we have code that depends on those boundaries.
1047 return ((sizeAccordingToKernel + multiple - 1) / multiple) * multiple;
1048 -#elif BOS(FREEBSD) || BOS(LINUX)
1050 + long pages = sysconf(_SC_PHYS_PAGES);
1051 + long pageSize = sysconf(_SC_PAGE_SIZE);
1052 + if (pages == -1 || pageSize == -1)
1053 + return availableMemoryGuess;
1054 + return pages * pageSize;
1056 struct sysinfo info;
1057 if (!sysinfo(&info))
1058 return info.totalram * info.mem_unit;
1059 @@ -212,7 +218,11 @@ MemoryStatus memoryStatus()
1061 size_t memoryFootprint = 0;
1062 if (!sysctl(mib, 4, &info, &infolen, nullptr, 0))
1063 +# ifdef __DragonFly__
1064 + memoryFootprint = static_cast<size_t>(info.kp_vm_rssize) * vmPageSize();
1066 memoryFootprint = static_cast<size_t>(info.ki_rssize) * vmPageSize();
1070 double percentInUse = static_cast<double>(memoryFootprint) / static_cast<double>(availableMemory());
1073 [FILE:1294:patches/patch-Source_bmalloc_libpas_src_libpas_pas__probabilistic__guard__malloc__allocator.c]
1074 --- Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c.orig 2022-09-08 11:51:52 UTC
1075 +++ Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
1076 @@ -103,11 +103,13 @@ pas_allocation_result pas_probabilistic_
1078 // ensure physical addresses are released
1079 // TODO: investigate using MADV_FREE_REUSABLE instead
1080 + /* Linux 4.5, Ravenports uses 4.4
1081 int madvise_res = madvise((void *) upper_guard_page, page_size, MADV_FREE);
1082 PAS_ASSERT(!madvise_res);
1084 madvise_res = madvise((void *) lower_guard_page, page_size, MADV_FREE);
1085 PAS_ASSERT(!madvise_res);
1088 // the key is the location where the user's starting memory address is located.
1089 // allocations are right aligned, so the end backs up to the upper guard page.
1090 @@ -166,8 +168,10 @@ void pas_probabilistic_guard_malloc_deal
1092 // ensure physical addresses are released
1093 // TODO: investigate using MADV_FREE_REUSABLE instead
1094 + /* Requires linux 4.5
1095 int madvise_res = madvise((void *) value->start_of_data_pages, value->size_of_data_pages, MADV_FREE);
1096 PAS_ASSERT(!madvise_res);
1099 bool removed = pas_ptr_hash_map_remove(&pas_pgm_hash_map, key, NULL, &pas_large_utility_free_heap_allocation_config);
1100 PAS_ASSERT(removed);
1103 [FILE:971:patches/patch-Source_cmake_OptionsCommon.cmake]
1104 --- Source/cmake/OptionsCommon.cmake.orig 2022-08-31 07:59:57 UTC
1105 +++ Source/cmake/OptionsCommon.cmake
1106 @@ -128,10 +128,10 @@ endif ()
1107 option(USE_THIN_ARCHIVES "Produce all static libraries as thin archives" ${USE_THIN_ARCHIVES_DEFAULT})
1109 if (USE_THIN_ARCHIVES)
1110 - set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1111 - set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1112 - set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1113 - set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1114 + set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1115 + set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1116 + set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1117 + set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1120 set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
1123 [FILE:520:patches/patch-Source_cmake_WebKitCompilerFlags.cmake]
1124 --- Source/cmake/WebKitCompilerFlags.cmake.orig 2022-08-31 07:59:57 UTC
1125 +++ Source/cmake/WebKitCompilerFlags.cmake
1126 @@ -252,7 +252,7 @@ if (NOT MSVC)
1127 string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
1130 -if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
1131 +if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
1132 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
1137 [FILE:358:patches/patch-Tools_MiniBrowser_gtk_CMakeLists.txt]
1138 --- Tools/MiniBrowser/gtk/CMakeLists.txt.orig 2022-08-31 07:59:57 UTC
1139 +++ Tools/MiniBrowser/gtk/CMakeLists.txt
1140 @@ -41,6 +41,10 @@ set(MiniBrowser_PRIVATE_LIBRARIES
1144 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
1145 + list(APPEND MiniBrowser_PRIVATE_LIBRARIES intl)
1148 set(MiniBrowser_DEPENDENCIES