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.36.8.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.36.8
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 MAKE_JOBS_NUMBER_LIMIT= 8
77 INSTALL_TARGET= install
78 PLIST_SUB= INTRO="@comment "
80 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
81 CMAKE_ARGS= -DPORT=GTK
82 -DENABLE_GEOLOCATION:BOOL=ON
83 -DENABLE_GLES2:BOOL=ON
84 -DENABLE_MINIBROWSER:BOOL=ON
85 -DENABLE_WAYLAND_TARGET:BOOL=OFF
86 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
87 -DENABLE_GAMEPAD:BOOL=OFF
88 -DENABLE_INTROSPECTION:BOOL=OFF
89 -DENABLE_JOURNALD_LOG:BOOL=OFF
90 -DSUPPRESS_ASSERT:BOOL=ON
91 -DUSE_SYSTEMD:BOOL=OFF
92 -DUSE_GSTREAMER_GL:BOOL=OFF
93 VAR_OPSYS[sunos]= CMAKE_ARGS=-DUSE_LD_GOLD:BOOL=OFF
95 [API50].DESCRIPTION= Build WebKit2 API 5.0 variant
96 [API50].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
97 [API50].CMAKE_ARGS_ON= -DUSE_GTK4=ON
98 [API50].GNOME_COMPONENTS_ON= gtk4
99 [API50].PLIST_SUB_ON= JSSOVERSION=0.0.0
106 [API40].DESCRIPTION= Build WebKit2 API 4.0 variant
107 [API40].BUILDRUN_DEPENDS_ON= libsoup-2.4:primary:standard
108 [API40].CMAKE_ARGS_ON= -DUSE_SOUP2=ON
109 [API40].GNOME_COMPONENTS_ON= gtk3
110 [API40].PLIST_SUB_ON= JSSOVERSION=18.20.12
117 [API41].DESCRIPTION= Build WebKit2 API 4.1 variant
118 [API41].BUILDRUN_DEPENDS_ON= libsoup:primary:standard
119 [API41].GNOME_COMPONENTS_ON= gtk3
120 [API41].PLIST_SUB_ON= JSSOVERSION=0.1.12
128 echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' \
129 >> ${WRKSRC}/Source/WTF/wtf/CMakeLists.txt
131 post-install-API40-ON:
132 (cd ${STAGEDIR}${PREFIX}/bin && \
133 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
134 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
135 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
136 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
138 post-install-API50-ON:
139 (cd ${STAGEDIR}${PREFIX}/bin && \
140 ${LN} -s ../libexec/webkit2gtk-5.0/jsc jsc-5 && \
141 ${LN} -s ../libexec/webkit2gtk-5.0/MiniBrowser MiniBrowser-5)
142 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-5.0/injected-bundle/*.so
143 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/*
146 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
147 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
149 post-install-API41-ON:
150 (cd ${STAGEDIR}${PREFIX}/bin && \
151 ${LN} -s ../libexec/webkit2gtk-4.1/jsc jsc-4 && \
152 ${LN} -s ../libexec/webkit2gtk-4.1/MiniBrowser MiniBrowser-4)
153 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.1/injected-bundle/*.so
154 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.1/*
157 ${REINPLACE_CMD} -e '/USE_FILE_LOCK/ s|1|0|' \
158 ${WRKSRC}/Source/WTF/wtf/PlatformUse.h \
159 ${WRKSRC}/Source/WebCore/config.h
161 [FILE:574:descriptions/desc.primary]
162 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
163 for projects requiring any kind of web integration, from hybrid HTML/CSS
164 applications to full-fledged web browsers. It offers WebKit's full
165 functionality and is useful in a wide range of systems from desktop
166 computers to embedded systems like phones, tablets, and televisions.
168 WebKitGTK+ is made by a lively community of developers and designers,
169 who hope to bring the web platform to everyone. It's the official web
170 engine of the GNOME platform and is used in browsers such as Epiphany
175 0ad9fb6bf28308fe3889faf184bd179d13ac1b46835d2136edbab2c133d00437 26610100 webkitgtk-2.36.8.tar.xz
178 [FILE:6416:manifests/plist.primary]
179 %%INTRO%%lib/girepository-1.0/
180 JavaScriptCore-%%WKAPI%%.typelib
181 WebKit2-%%WKAPI%%.typelib
182 WebKit2WebExtension-%%WKAPI%%.typelib
183 %%INTRO%%share/gir-1.0/
184 JavaScriptCore-%%WKAPI%%.gir
185 WebKit2-%%WKAPI%%.gir
186 WebKit2WebExtension-%%WKAPI%%.gir
188 MiniBrowser-%%WKAPIMAJOR%%
191 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
200 include/webkitgtk-%%WKAPI%%/jsc/
212 include/webkitgtk-%%WKAPI%%/webkit2/
213 WebKitApplicationInfo.h
214 WebKitAuthenticationRequest.h
216 WebKitAutomationSession.h
217 WebKitBackForwardList.h
218 WebKitBackForwardListItem.h
219 WebKitColorChooserRequest.h
220 WebKitConsoleMessage.h
222 WebKitContextMenuActions.h
223 WebKitContextMenuItem.h
224 WebKitCookieManager.h
227 WebKitDeviceInfoPermissionRequest.h
229 WebKitEditingCommands.h
233 WebKitFaviconDatabase.h
234 WebKitFileChooserRequest.h
235 WebKitFindController.h
236 WebKitFormSubmissionRequest.h
237 WebKitForwardDeclarations.h
239 WebKitGeolocationManager.h
240 WebKitGeolocationPermissionRequest.h
241 WebKitHitTestResult.h
242 WebKitInputMethodContext.h
243 WebKitInstallMissingMediaPluginsPermissionRequest.h
244 WebKitJavascriptResult.h
245 WebKitMediaKeySystemPermissionRequest.h
246 WebKitMemoryPressureSettings.h
248 WebKitNavigationAction.h
249 WebKitNavigationPolicyDecision.h
250 WebKitNetworkProxySettings.h
252 WebKitNotificationPermissionRequest.h
254 WebKitOptionMenuItem.h
255 WebKitPermissionRequest.h
257 WebKitPointerLockPermissionRequest.h
258 WebKitPolicyDecision.h
259 WebKitPrintCustomWidget.h
260 WebKitPrintOperation.h
261 WebKitResponsePolicyDecision.h
264 WebKitSecurityManager.h
265 WebKitSecurityOrigin.h
269 WebKitURISchemeRequest.h
270 WebKitURISchemeResponse.h
273 WebKitUserContentFilterStore.h
274 WebKitUserContentManager.h
275 WebKitUserMediaPermissionRequest.h
281 WebKitWebExtensionAutocleanups.h
282 WebKitWebHitTestResult.h
285 WebKitWebProcessEnumTypes.h
289 WebKitWebViewSessionState.h
291 WebKitWebsiteDataAccessPermissionRequest.h
292 WebKitWebsiteDataManager.h
293 WebKitWebsitePolicies.h
294 WebKitWindowProperties.h
295 webkit-web-extension.h
297 include/webkitgtk-%%WKAPI%%/webkitdom/
300 WebKitDOMCDATASection.h
302 WebKitDOMCSSRuleList.h
303 WebKitDOMCSSStyleDeclaration.h
304 WebKitDOMCSSStyleSheet.h
306 WebKitDOMCharacterData.h
307 WebKitDOMClientRect.h
308 WebKitDOMClientRectList.h
311 WebKitDOMCustomUnstable.h
312 WebKitDOMDOMImplementation.h
313 WebKitDOMDOMSelection.h
314 WebKitDOMDOMTokenList.h
316 WebKitDOMDOMWindowUnstable.h
317 WebKitDOMDeprecated.h
319 WebKitDOMDocumentFragment.h
320 WebKitDOMDocumentFragmentUnstable.h
321 WebKitDOMDocumentType.h
322 WebKitDOMDocumentUnstable.h
324 WebKitDOMElementUnstable.h
326 WebKitDOMEventTarget.h
329 WebKitDOMHTMLAnchorElement.h
330 WebKitDOMHTMLAppletElement.h
331 WebKitDOMHTMLAreaElement.h
332 WebKitDOMHTMLBRElement.h
333 WebKitDOMHTMLBaseElement.h
334 WebKitDOMHTMLBodyElement.h
335 WebKitDOMHTMLButtonElement.h
336 WebKitDOMHTMLCanvasElement.h
337 WebKitDOMHTMLCollection.h
338 WebKitDOMHTMLDListElement.h
339 WebKitDOMHTMLDirectoryElement.h
340 WebKitDOMHTMLDivElement.h
341 WebKitDOMHTMLDocument.h
342 WebKitDOMHTMLElement.h
343 WebKitDOMHTMLElementUnstable.h
344 WebKitDOMHTMLEmbedElement.h
345 WebKitDOMHTMLFieldSetElement.h
346 WebKitDOMHTMLFontElement.h
347 WebKitDOMHTMLFormElement.h
348 WebKitDOMHTMLFrameElement.h
349 WebKitDOMHTMLFrameSetElement.h
350 WebKitDOMHTMLHRElement.h
351 WebKitDOMHTMLHeadElement.h
352 WebKitDOMHTMLHeadingElement.h
353 WebKitDOMHTMLHtmlElement.h
354 WebKitDOMHTMLIFrameElement.h
355 WebKitDOMHTMLImageElement.h
356 WebKitDOMHTMLInputElement.h
357 WebKitDOMHTMLLIElement.h
358 WebKitDOMHTMLLabelElement.h
359 WebKitDOMHTMLLegendElement.h
360 WebKitDOMHTMLLinkElement.h
361 WebKitDOMHTMLMapElement.h
362 WebKitDOMHTMLMarqueeElement.h
363 WebKitDOMHTMLMenuElement.h
364 WebKitDOMHTMLMetaElement.h
365 WebKitDOMHTMLModElement.h
366 WebKitDOMHTMLOListElement.h
367 WebKitDOMHTMLObjectElement.h
368 WebKitDOMHTMLOptGroupElement.h
369 WebKitDOMHTMLOptionElement.h
370 WebKitDOMHTMLOptionsCollection.h
371 WebKitDOMHTMLParagraphElement.h
372 WebKitDOMHTMLParamElement.h
373 WebKitDOMHTMLPreElement.h
374 WebKitDOMHTMLQuoteElement.h
375 WebKitDOMHTMLScriptElement.h
376 WebKitDOMHTMLSelectElement.h
377 WebKitDOMHTMLStyleElement.h
378 WebKitDOMHTMLTableCaptionElement.h
379 WebKitDOMHTMLTableCellElement.h
380 WebKitDOMHTMLTableColElement.h
381 WebKitDOMHTMLTableElement.h
382 WebKitDOMHTMLTableRowElement.h
383 WebKitDOMHTMLTableSectionElement.h
384 WebKitDOMHTMLTextAreaElement.h
385 WebKitDOMHTMLTitleElement.h
386 WebKitDOMHTMLUListElement.h
387 WebKitDOMKeyboardEvent.h
389 WebKitDOMMouseEvent.h
390 WebKitDOMNamedNodeMap.h
392 WebKitDOMNodeFilter.h
393 WebKitDOMNodeIterator.h
396 WebKitDOMProcessingInstruction.h
398 WebKitDOMRangeUnstable.h
399 WebKitDOMStyleSheet.h
400 WebKitDOMStyleSheetList.h
402 WebKitDOMTreeWalker.h
404 WebKitDOMWheelEvent.h
405 WebKitDOMXPathExpression.h
406 WebKitDOMXPathNSResolver.h
407 WebKitDOMXPathResult.h
409 webkitdomautocleanups.h
412 libjavascriptcoregtk-%%WKAPI%%.so
413 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
414 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
415 libwebkit2gtk-%%WKAPI%%.so
416 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
417 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
419 javascriptcoregtk-%%WKAPI%%.pc
420 webkit2gtk-%%WKAPI%%.pc
421 webkit2gtk-web-extension-%%WKAPI%%.pc
422 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
423 libexec/webkit2gtk-%%WKAPI%%/
430 [FILE:2618:manifests/plist.nls]
431 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
432 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
433 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
434 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
435 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
436 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
437 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
438 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
439 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
440 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
441 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
442 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
443 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
444 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
445 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
446 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
447 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
448 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
449 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
450 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
451 share/locale/hr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
452 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
453 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
454 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
455 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
456 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
457 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
458 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
459 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
460 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
461 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
462 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
463 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
464 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
465 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
466 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
467 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
468 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
469 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
470 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
471 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
472 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
473 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
474 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
475 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
476 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
477 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
478 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
479 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
480 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
483 [FILE:431:patches/patch-CMakeLists.txt]
484 --- CMakeLists.txt.orig 2022-02-23 11:41:01 UTC
486 @@ -26,6 +26,11 @@ if (ENABLE_API_TESTS)
490 +if (SUPPRESS_ASSERT)
491 + add_definitions(-DNDEBUG=1)
492 + add_definitions(-D__OPTIMIZE__)
495 # -----------------------------------------------------------------------------
496 # Add module directories
497 # -----------------------------------------------------------------------------
500 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
501 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2022-02-23 11:41:41 UTC
502 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
503 @@ -2947,6 +2947,8 @@ public:
504 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
506 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
507 +#elif OS(FREEBSD) || OS(NETBSD)
508 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
510 size_t page = pageSize();
511 uintptr_t current = reinterpret_cast<uintptr_t>(code);
514 [FILE:3892:patches/patch-Source_JavaScriptCore_runtime_MachineContext.h]
515 $NetBSD: patch-Source_JavaScriptCore_runtime_MachineContext.h,v 1.2 2021/05/13 08:20:58 leot Exp $
517 Add support for NetBSD.
519 --- Source/JavaScriptCore/runtime/MachineContext.h.orig 2022-02-23 11:41:41 UTC
520 +++ Source/JavaScriptCore/runtime/MachineContext.h
521 @@ -176,6 +176,22 @@ static inline void*& stackPointerImpl(mc
522 #error Unknown Architecture
528 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_UESP]);
530 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSP]);
532 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
534 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
536 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_SP]);
538 +#error Unknown Architecture
541 #elif OS(FUCHSIA) || OS(LINUX)
544 @@ -305,6 +321,22 @@ static inline void*& framePointerImpl(mc
545 #error Unknown Architecture
551 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EBP]);
553 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RBP]);
555 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
557 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_FP]);
559 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_S8]);
561 +#error Unknown Architecture
564 #elif OS(FUCHSIA) || OS(LINUX)
566 // The following sequence depends on glibc's sys/ucontext.h.
567 @@ -446,6 +478,22 @@ static inline void*& instructionPointerI
569 #error Unknown Architecture
575 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EIP]);
577 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RIP]);
579 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
581 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_PC]);
583 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EPC]);
585 +#error Unknown Architecture
588 #elif OS(FUCHSIA) || OS(LINUX)
590 @@ -586,6 +634,22 @@ inline void*& argumentPointer<1>(mcontex
592 #error Unknown Architecture
598 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_EDX]);
600 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_RSI]);
602 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R1]);
604 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X1]);
606 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_A1]);
608 +#error Unknown Architecture
611 #elif OS(FUCHSIA) || OS(LINUX)
613 @@ -705,6 +769,22 @@ inline void*& llintInstructionPointer(mc
615 #error Unknown Architecture
621 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_ESI]);
623 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
625 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_R8]);
627 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_X4]);
629 + return reinterpret_cast<void*&>((uintptr_t&) machineContext.__gregs[_REG_T4]);
631 +#error Unknown Architecture
634 #elif OS(FUCHSIA) || OS(LINUX)
638 [FILE:597:patches/patch-Source_ThirdParty_ANGLE_src_common_aligned__memory.cpp]
639 --- Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp.orig 2022-02-23 11:41:42 UTC
640 +++ Source/ThirdParty/ANGLE/src/common/aligned_memory.cpp
641 @@ -33,7 +33,7 @@ void *AlignedAlloc(size_t size, size_t a
642 // memalign() on Android returns pointers which can safely be used with
643 // free(), so we can use it instead. Issue filed to document this:
644 // http://code.google.com/p/android/issues/detail?id=35391
645 -#elif defined(ANGLE_PLATFORM_ANDROID)
646 +#elif defined(ANGLE_PLATFORM_ANDROID) || defined(__sun__)
647 ptr = memalign(alignment, size);
649 if (posix_memalign(&ptr, alignment, size))
652 [FILE:506:patches/patch-Source_ThirdParty_ANGLE_src_common_third__party_smhasher_src_PMurHash.cpp]
653 --- Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp.orig 2022-02-23 11:41:42 UTC
654 +++ Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp
655 @@ -48,6 +48,9 @@ on big endian machines, or a byte-by-byt
656 -----------------------------------------------------------------------------*/
658 #include "PMurHash.h"
660 +#define __BYTE_ORDER __LITTLE_ENDIAN
664 /* I used ugly type names in the header to avoid potential conflicts with
667 [FILE:561:patches/patch-Source_WTF_wtf_Assertions.h]
668 $NetBSD: patch-Source_WTF_wtf_Assertions.h,v 1.1 2021/01/12 15:21:31 jperkin Exp $
670 Use regular static_assert on SunOS.
672 --- Source/WTF/wtf/Assertions.h.orig 2022-02-23 11:41:47 UTC
673 +++ Source/WTF/wtf/Assertions.h
674 @@ -462,7 +462,7 @@ constexpr bool assertionFailureDueToUnre
677 #ifndef COMPILE_ASSERT
678 -#if COMPILER_SUPPORTS(C_STATIC_ASSERT)
679 +#if COMPILER_SUPPORTS(C_STATIC_ASSERT) && !defined(__sun)
680 /* Unlike static_assert below, this also works in plain C code. */
681 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name)
685 [FILE:638:patches/patch-Source_WTF_wtf_FastMalloc.cpp]
686 --- Source/WTF/wtf/FastMalloc.cpp.orig 2022-02-23 11:41:47 UTC
687 +++ Source/WTF/wtf/FastMalloc.cpp
688 @@ -197,7 +197,11 @@ void* fastAlignedMalloc(size_t alignment
690 ASSERT_IS_WITHIN_LIMIT(size);
693 + p = memalign(alignment, size);
695 posix_memalign(&p, alignment, size);
700 @@ -207,7 +211,11 @@ void* tryFastAlignedMalloc(size_t alignm
702 FAIL_IF_EXCEEDS_LIMIT(size);
705 + p = memalign(alignment, size);
707 posix_memalign(&p, alignment, size);
714 [FILE:502:patches/patch-Source_WTF_wtf_FileSystem.cpp]
715 $NetBSD: patch-Source_WTF_wtf_FileSystem.cpp,v 1.3 2020/09/11 14:47:35 leot Exp $
717 Support MAP_FILE if unavailable.
719 --- Source/WTF/wtf/FileSystem.cpp.orig 2022-02-23 11:41:47 UTC
720 +++ Source/WTF/wtf/FileSystem.cpp
721 @@ -371,6 +371,9 @@ bool MappedFileData::mapFileHandle(Platf
728 void* data = mmap(0, size, pageProtection, MAP_FILE | (mapMode == MappedFileMode::Shared ? MAP_SHARED : MAP_PRIVATE), fd, 0);
730 if (data == MAP_FAILED) {
733 [FILE:534:patches/patch-Source_WTF_wtf_MemoryPressureHandler.cpp]
734 --- Source/WTF/wtf/MemoryPressureHandler.cpp.orig 2022-02-23 11:41:47 UTC
735 +++ Source/WTF/wtf/MemoryPressureHandler.cpp
736 @@ -56,7 +56,7 @@ MemoryPressureHandler& MemoryPressureHan
739 MemoryPressureHandler::MemoryPressureHandler()
740 -#if OS(LINUX) || OS(FREEBSD)
741 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
742 : m_holdOffTimer(RunLoop::main(), this, &MemoryPressureHandler::holdOffTimerFired)
744 : m_windowsMeasurementTimer(RunLoop::main(), this, &MemoryPressureHandler::windowsMeasurementTimerFired)
747 [FILE:644:patches/patch-Source_WTF_wtf_MemoryPressureHandler.h]
748 --- Source/WTF/wtf/MemoryPressureHandler.h.orig 2022-02-23 11:41:47 UTC
749 +++ Source/WTF/wtf/MemoryPressureHandler.h
750 @@ -81,7 +81,7 @@ public:
752 WTF_EXPORT_PRIVATE void setShouldUsePeriodicMemoryMonitor(bool);
754 -#if OS(LINUX) || OS(FREEBSD)
755 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
756 WTF_EXPORT_PRIVATE void triggerMemoryPressureEvent(bool isCritical);
759 @@ -277,7 +277,7 @@ private:
760 Win32Handle m_lowMemoryHandle;
763 -#if OS(LINUX) || OS(FREEBSD)
764 +#if OS(LINUX) || OS(FREEBSD) || defined(__DragonFly__)
765 RunLoop::Timer<MemoryPressureHandler> m_holdOffTimer;
766 void holdOffTimerFired();
770 [FILE:326:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
771 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2022-02-23 11:41:47 UTC
772 +++ Source/WTF/wtf/NumberOfCores.cpp
775 #include <sys/sysctl.h>
776 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
777 +#include <stdio.h> // sscanf
783 [FILE:390:patches/patch-Source_WTF_wtf_PlatformGTK.cmake]
784 --- Source/WTF/wtf/PlatformGTK.cmake.orig 2022-02-23 11:41:47 UTC
785 +++ Source/WTF/wtf/PlatformGTK.cmake
786 @@ -58,7 +58,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
788 unix/MemoryPressureHandlerUnix.cpp
790 -elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
791 +elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly")
792 list(APPEND WTF_SOURCES
793 generic/MemoryFootprintGeneric.cpp
797 [FILE:570:patches/patch-Source_WTF_wtf_PlatformHave.h]
798 Add support for NetBSD.
800 --- Source/WTF/wtf/PlatformHave.h.orig 2022-02-23 11:41:47 UTC
801 +++ Source/WTF/wtf/PlatformHave.h
803 #define HAVE_HOSTED_CORE_ANIMATION 1
806 -#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || OS(OPENBSD) || OS(LINUX)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS) || CPU(RISCV64)))
807 +#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || OS(OPENBSD) || OS(NETBSD) || OS(LINUX)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS) || CPU(RISCV64)))
808 #define HAVE_MACHINE_CONTEXT 1
813 [FILE:582:patches/patch-Source_WTF_wtf_StackBounds.cpp]
814 $NetBSD: patch-Source_WTF_wtf_StackBounds.cpp,v 1.2 2018/10/24 18:31:07 leot Exp $
816 SunOS does not have pthread_getattr_np.
818 --- Source/WTF/wtf/StackBounds.cpp.orig 2022-02-23 11:41:47 UTC
819 +++ Source/WTF/wtf/StackBounds.cpp
820 @@ -98,6 +98,7 @@ StackBounds StackBounds::newThreadStackB
821 #if HAVE(PTHREAD_NP_H) || OS(NETBSD)
822 // e.g. on FreeBSD 5.4, neundorf@kde.org
823 pthread_attr_get_np(thread, &sattr);
824 +#elif defined(__sun__)
826 // FIXME: this function is non-portable; other POSIX systems may have different np alternatives
827 pthread_getattr_np(thread, &sattr);
830 [FILE:1418:patches/patch-Source_WTF_wtf_unix_MemoryPressureHandlerUnix.cpp]
831 --- Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp.orig 2022-02-23 11:41:47 UTC
832 +++ Source/WTF/wtf/unix/MemoryPressureHandlerUnix.cpp
835 #include <wtf/MemoryPressureHandler.h>
837 +#if OS(FREEBSD) || defined(__DragonFly__)
843 #include <wtf/Logging.h>
844 #include <wtf/MainThread.h>
848 #include <wtf/linux/CurrentProcessMemoryStatus.h>
850 +#elif OS(FREEBSD) || defined(__DragonFly__)
851 #include <sys/sysctl.h>
852 #include <sys/types.h>
853 #include <sys/user.h>
854 @@ -112,7 +116,7 @@ static size_t processMemoryUsage()
855 ProcessMemoryStatus memoryStatus;
856 currentProcessMemoryStatus(memoryStatus);
857 return (memoryStatus.resident - memoryStatus.shared);
859 +#elif OS(FREEBSD) || defined(__DragonFly__)
860 static size_t pageSize = sysconf(_SC_PAGE_SIZE);
861 struct kinfo_proc info;
862 size_t infolen = sizeof(info);
863 @@ -126,7 +130,11 @@ static size_t processMemoryUsage()
864 if (sysctl(mib, 4, &info, &infolen, nullptr, 0))
867 +# ifdef __DragonFly__
868 + return static_cast<size_t>(info.kp_vm_rssize - info.kp_vm_tsize) * pageSize;
870 return static_cast<size_t>(info.ki_rssize - info.ki_tsize) * pageSize;
873 #error "Missing a platform specific way of determining the memory usage"
877 [FILE:848:patches/patch-Source_WebCore_Modules_fetch_FetchBodyConsumer.cpp]
878 --- Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp.orig 2022-02-23 11:41:48 UTC
879 +++ Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
881 #include <wtf/StringExtras.h>
882 #include <wtf/URLParser.h>
885 +static void *memmem(
886 + const void *big, size_t big_len,
887 + const void *little, size_t little_len)
889 + const char *bp = (const char *)big;
890 + const char *lp = (const char *)little;
893 + if (big_len < little_len || little_len == 0 || big_len == 0)
896 + while (big_len > 0) {
897 + for (l = 0; l < little_len; l++) {
898 + if (bp[l] != lp[l])
901 + if (l == little_len)
912 static inline Ref<Blob> blobFromData(ScriptExecutionContext* context, Vector<uint8_t>&& data, const String& contentType)
915 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
916 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2022-02-23 11:41:50 UTC
917 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
918 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
919 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
920 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
921 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
922 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
923 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
924 // The color values are stored in-place.
925 "strb r2, [" PIXELS_R ", #-11]" NL
926 "strb r3, [" PIXELS_R ", #-10]" NL
929 [FILE:323:patches/patch-Source_WebCore_platform_network_DNS.h]
930 --- Source/WebCore/platform/network/DNS.h.orig 2022-02-23 11:41:50 UTC
931 +++ Source/WebCore/platform/network/DNS.h
933 #include <ws2tcpip.h>
935 #include <netinet/in.h>
936 +# if defined __DragonFly__ || defined __FreeBSD__ || defined __sun__
937 +# include <sys/socket.h>
944 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
945 --- Source/WebDriver/PlatformGTK.cmake.orig 2022-02-23 11:41:51 UTC
946 +++ Source/WebDriver/PlatformGTK.cmake
947 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
948 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
949 "${GLIB_INCLUDE_DIRS}"
950 "${LIBSOUP_INCLUDE_DIRS}"
951 + "${ICU_INCLUDE_DIRS}"
954 list(APPEND WebDriver_SOURCES
957 [FILE:507:patches/patch-Source_WebKit_CMakeLists.txt]
958 $NetBSD: patch-Source_WebKit_CMakeLists.txt,v 1.1 2018/05/16 18:55:45 jperkin Exp $
960 SunOS requires libsocket.
962 --- Source/WebKit/CMakeLists.txt.orig 2022-02-23 11:41:51 UTC
963 +++ Source/WebKit/CMakeLists.txt
964 @@ -407,6 +407,10 @@ if (UNIX)
968 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
969 + list(APPEND WebKit_LIBRARIES socket)
972 macro(ADD_WEBKIT_PREFIX_HEADER _target)
973 if (WebKit_USE_PREFIX_HEADER)
974 get_target_property(OLD_COMPILE_FLAGS ${_target} COMPILE_FLAGS)
977 [FILE:551:patches/patch-Source_WebKit_PlatformGTK.cmake]
978 --- Source/WebKit/PlatformGTK.cmake.orig 2022-02-24 12:51:39 UTC
979 +++ Source/WebKit/PlatformGTK.cmake
980 @@ -34,7 +34,7 @@ add_definitions(-DLOCALEDIR="${CMAKE_INS
981 add_definitions(-DDATADIR="${CMAKE_INSTALL_FULL_DATADIR}")
982 add_definitions(-DLIBDIR="${LIB_INSTALL_DIR}")
984 -if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
985 +if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|SunOS")
986 WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map")
991 [FILE:1241:patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp]
992 $NetBSD: patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp,v 1.3 2021/01/12 15:21:31 jperkin Exp $
994 On NetBSD we see "Error sending IPC message: Message too long" due to
995 the use of sendmsg with a large message body (EMSGSIZE).
997 WebKit already uses shared memory to communicate the message body when
998 the message is too large, so force it to always use this method to avoid
999 encountering EMSGSIZE.
1001 --- Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp.orig 2022-02-23 11:41:51 UTC
1002 +++ Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
1005 #endif // SOCK_SEQPACKET
1007 +#ifndef MSG_NOSIGNAL
1008 +#define MSG_NOSIGNAL 0
1013 static const size_t messageMaxSize = 4096;
1014 @@ -442,8 +446,12 @@ bool Connection::sendOutgoingMessage(Uni
1019 size_t messageSizeWithBodyInline = sizeof(MessageInfo) + (outputMessage.attachments().size() * sizeof(AttachmentInfo)) + outputMessage.bodySize();
1020 if (messageSizeWithBodyInline > messageMaxSize && outputMessage.bodySize()) {
1024 RefPtr<WebKit::SharedMemory> oolMessageBody = WebKit::SharedMemory::allocate(encoder->bufferSize());
1025 if (!oolMessageBody)
1029 [FILE:797:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
1030 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2022-02-23 11:41:51 UTC
1031 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
1032 @@ -153,7 +153,13 @@ static int createSharedMemory()
1035 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
1036 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1038 +#ifdef __DragonFly__
1039 + String("/tmp/WK2SharedMemory.")
1041 + String("/WK2SharedMemory.")
1043 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
1044 tempName = name.utf8();
1049 [FILE:1464:patches/patch-Source_bmalloc_bmalloc_AvailableMemory.cpp]
1050 --- Source/bmalloc/bmalloc/AvailableMemory.cpp.orig 2022-02-23 11:41:53 UTC
1051 +++ Source/bmalloc/bmalloc/AvailableMemory.cpp
1053 #import <mach/mach_error.h>
1056 -#include <sys/sysinfo.h>
1058 +#include <sys/sysinfo.h>
1059 #include <algorithm>
1062 @@ -159,7 +159,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 @@ -210,7 +216,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:971:patches/patch-Source_cmake_OptionsCommon.cmake]
1092 --- Source/cmake/OptionsCommon.cmake.orig 2022-02-23 11:41:53 UTC
1093 +++ Source/cmake/OptionsCommon.cmake
1094 @@ -128,10 +128,10 @@ endif ()
1095 option(USE_THIN_ARCHIVES "Produce all static libraries as thin archives" ${USE_THIN_ARCHIVES_DEFAULT})
1097 if (USE_THIN_ARCHIVES)
1098 - set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1099 - set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> crT <TARGET> <LINK_FLAGS> <OBJECTS>")
1100 - set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1101 - set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> rT <TARGET> <LINK_FLAGS> <OBJECTS>")
1102 + set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1103 + set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS>")
1104 + set(CMAKE_CXX_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1105 + set(CMAKE_C_ARCHIVE_APPEND "<CMAKE_AR> r <TARGET> <LINK_FLAGS> <OBJECTS>")
1108 set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
1111 [FILE:520:patches/patch-Source_cmake_WebKitCompilerFlags.cmake]
1112 --- Source/cmake/WebKitCompilerFlags.cmake.orig 2022-03-24 13:31:53 UTC
1113 +++ Source/cmake/WebKitCompilerFlags.cmake
1114 @@ -260,7 +260,7 @@ if (NOT MSVC)
1115 string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
1118 -if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
1119 +if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
1120 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
1125 [FILE:358:patches/patch-Tools_MiniBrowser_gtk_CMakeLists.txt]
1126 --- Tools/MiniBrowser/gtk/CMakeLists.txt.orig 2022-02-23 11:41:54 UTC
1127 +++ Tools/MiniBrowser/gtk/CMakeLists.txt
1128 @@ -41,6 +41,10 @@ set(MiniBrowser_PRIVATE_LIBRARIES
1132 +if (CMAKE_SYSTEM_NAME MATCHES "SunOS")
1133 + list(APPEND MiniBrowser_PRIVATE_LIBRARIES intl)
1136 set(MiniBrowser_DEPENDENCIES