Ravenports generated: 05 Dec 2019 15:24
[ravenports.git] / bucket_58 / webkit2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               webkit2
4 VERSION=                2.26.2
5 KEYWORDS=               www
6 VARIANTS=               gtk3
7 SDESC[gtk3]=            Opensource browser engine using the GTK+ 3 toolkit
8 HOMEPAGE=               https://www.webkitgtk.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://www.webkitgtk.org/releases/
13                         https://fossies.org/linux/www/
14 DISTFILE[1]=            webkitgtk-2.26.2.tar.xz:main
15 DF_INDEX=               1
16 SPKGS[gtk3]=            single
17
18 OPTIONS_AVAILABLE=      GTK3
19 OPTIONS_STANDARD=       none
20 VOPTS[gtk3]=            GTK3=ON
21
22 BUILD_DEPENDS=          gperf:single:standard
23                         autoselect-python:single:standard
24 BUILDRUN_DEPENDS=       enchant:single:standard
25                         fontconfig:primary:standard
26                         freetype:primary:standard
27                         WebP:single:standard
28                         libsecret:primary:standard
29                         libnotify:primary:standard
30                         hyphen:single:standard
31                         harfbuzz:icu:standard
32                         icu:single:standard
33                         libsoup:primary:standard
34                         libgcrypt:single:standard
35                         gnutls:single:standard
36                         libtasn1:primary:standard
37                         geoclue:single:standard
38                         woff2:single:standard
39                         gstreamer1-plugins-base:single:standard
40                         openjpeg:single:standard
41
42 USES=                   png mesa cmake pkgconfig sqlite bison perl:build
43                         python:build ruby:build gettext-tools
44 GNOME_COMPONENTS=       gtk3 gdkpixbuf introspection libxslt
45 XORG_COMPONENTS=        x11 xcomposite xdamage xext xrender xt ice
46
47 DISTNAME=               webkitgtk-2.26.2
48
49 LICENSE=                GPLv2+:single BSD3CLAUSE:single
50 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
51 LICENSE_FILE=           GPLv2+:stock
52                         BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
53 LICENSE_AWK=            BSD3CLAUSE:"^$$"
54                         TERMS:"^$$"
55 LICENSE_SOURCE=         BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
56                         TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
57 LICENSE_SCHEME=         multi
58
59 FPC_EQUIVALENT=         www/webkit2-gtk3
60
61 CONFIGURE_ENV=          XDG_CACHE_HOME={{WRKDIR}}
62
63 INSTALL_TARGET=         install
64 SOVERSION=              37.39.3
65 PLIST_SUB=              JSSOVERSION=18.14.7
66                         JSSOMAJOR=18
67                         WKAPI=4.0
68                         WKAPIMAJOR=4
69
70 CXXFLAGS=               -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
71 CMAKE_ARGS=             -DPORT=GTK
72                         -DENABLE_GEOLOCATION:BOOL=ON
73                         -DENABLE_GLES2:BOOL=ON
74                         -DENABLE_MINIBROWSER:BOOL=ON
75                         -DENABLE_WAYLAND_TARGET:BOOL=OFF
76                         -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
77                         -DSUPPRESS_ASSERT:BOOL=ON
78
79 [GTK3].DESCRIPTION=                     Build GTK+3 variant
80 [GTK3].MAKEFILE_ON=                     BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
81
82 post-patch:
83         ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
84                 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
85
86 post-install:
87         (cd ${STAGEDIR}${PREFIX}/bin && \
88          ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
89          ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
90         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
91         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
92         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
93         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
94
95 [FILE:576:descriptions/desc.single]
96 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
97 for projects requiring any kind of web integration, from hybrid HTML/CSS
98 applications to full-fledged web browsers. It offers WebKit's full
99 functionality and is useful in a wide range of systems from desktop
100 computers to embedded systems like phones, tablets, and televisions.
101
102 WebKitGTK+ is made by a lively community of developers and designers,
103 who hope to bring the web platform to everyone. It's the official web
104 engine of the GNOME platform and is used in browsers such as Epiphany
105 and Midori.
106
107
108 [FILE:102:distinfo]
109 6b80f0637a80818559ac8fd50db3b394f41cb61904fb9b3ed65fa51635806512     19330000 webkitgtk-2.26.2.tar.xz
110
111
112 [FILE:8729:manifests/plist.single]
113 bin/
114  MiniBrowser-%%WKAPIMAJOR%%
115  WebKitWebDriver
116  jsc-%%WKAPIMAJOR%%
117 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
118  JSBase.h
119  JSContextRef.h
120  JSObjectRef.h
121  JSStringRef.h
122  JSTypedArray.h
123  JSValueRef.h
124  JavaScript.h
125  WebKitAvailability.h
126 include/webkitgtk-%%WKAPI%%/jsc/
127  JSCAutocleanups.h
128  JSCClass.h
129  JSCContext.h
130  JSCDefines.h
131  JSCException.h
132  JSCOptions.h
133  JSCValue.h
134  JSCVersion.h
135  JSCVirtualMachine.h
136  JSCWeakValue.h
137  jsc.h
138 include/webkitgtk-%%WKAPI%%/webkit2/
139  WebKitApplicationInfo.h
140  WebKitAuthenticationRequest.h
141  WebKitAutocleanups.h
142  WebKitAutomationSession.h
143  WebKitBackForwardList.h
144  WebKitBackForwardListItem.h
145  WebKitColorChooserRequest.h
146  WebKitConsoleMessage.h
147  WebKitContextMenu.h
148  WebKitContextMenuActions.h
149  WebKitContextMenuItem.h
150  WebKitCookieManager.h
151  WebKitCredential.h
152  WebKitDefines.h
153  WebKitDeviceInfoPermissionRequest.h
154  WebKitDownload.h
155  WebKitEditingCommands.h
156  WebKitEditorState.h
157  WebKitEnumTypes.h
158  WebKitError.h
159  WebKitFaviconDatabase.h
160  WebKitFileChooserRequest.h
161  WebKitFindController.h
162  WebKitFormSubmissionRequest.h
163  WebKitForwardDeclarations.h
164  WebKitFrame.h
165  WebKitGeolocationManager.h
166  WebKitGeolocationPermissionRequest.h
167  WebKitHitTestResult.h
168  WebKitInstallMissingMediaPluginsPermissionRequest.h
169  WebKitJavascriptResult.h
170  WebKitMimeInfo.h
171  WebKitNavigationAction.h
172  WebKitNavigationPolicyDecision.h
173  WebKitNetworkProxySettings.h
174  WebKitNotification.h
175  WebKitNotificationPermissionRequest.h
176  WebKitOptionMenu.h
177  WebKitOptionMenuItem.h
178  WebKitPermissionRequest.h
179  WebKitPlugin.h
180  WebKitPolicyDecision.h
181  WebKitPrintCustomWidget.h
182  WebKitPrintOperation.h
183  WebKitResponsePolicyDecision.h
184  WebKitScriptDialog.h
185  WebKitScriptWorld.h
186  WebKitSecurityManager.h
187  WebKitSecurityOrigin.h
188  WebKitSettings.h
189  WebKitURIRequest.h
190  WebKitURIResponse.h
191  WebKitURISchemeRequest.h
192  WebKitURIUtilities.h
193  WebKitUserContent.h
194  WebKitUserContentFilterStore.h
195  WebKitUserContentManager.h
196  WebKitUserMediaPermissionRequest.h
197  WebKitVersion.h
198  WebKitWebContext.h
199  WebKitWebEditor.h
200  WebKitWebExtension.h
201  WebKitWebExtensionAutocleanups.h
202  WebKitWebHitTestResult.h
203  WebKitWebInspector.h
204  WebKitWebPage.h
205  WebKitWebProcessEnumTypes.h
206  WebKitWebResource.h
207  WebKitWebView.h
208  WebKitWebViewBase.h
209  WebKitWebViewSessionState.h
210  WebKitWebsiteData.h
211  WebKitWebsiteDataManager.h
212  WebKitWindowProperties.h
213  webkit-web-extension.h
214  webkit2.h
215 include/webkitgtk-%%WKAPI%%/webkitdom/
216  WebKitDOMAttr.h
217  WebKitDOMBlob.h
218  WebKitDOMCDATASection.h
219  WebKitDOMCSSRule.h
220  WebKitDOMCSSRuleList.h
221  WebKitDOMCSSStyleDeclaration.h
222  WebKitDOMCSSStyleSheet.h
223  WebKitDOMCSSValue.h
224  WebKitDOMCharacterData.h
225  WebKitDOMClientRect.h
226  WebKitDOMClientRectList.h
227  WebKitDOMComment.h
228  WebKitDOMCustom.h
229  WebKitDOMCustomUnstable.h
230  WebKitDOMDOMImplementation.h
231  WebKitDOMDOMSelection.h
232  WebKitDOMDOMTokenList.h
233  WebKitDOMDOMWindow.h
234  WebKitDOMDOMWindowUnstable.h
235  WebKitDOMDeprecated.h
236  WebKitDOMDocument.h
237  WebKitDOMDocumentFragment.h
238  WebKitDOMDocumentFragmentUnstable.h
239  WebKitDOMDocumentType.h
240  WebKitDOMDocumentUnstable.h
241  WebKitDOMElement.h
242  WebKitDOMElementUnstable.h
243  WebKitDOMEvent.h
244  WebKitDOMEventTarget.h
245  WebKitDOMFile.h
246  WebKitDOMFileList.h
247  WebKitDOMHTMLAnchorElement.h
248  WebKitDOMHTMLAppletElement.h
249  WebKitDOMHTMLAreaElement.h
250  WebKitDOMHTMLBRElement.h
251  WebKitDOMHTMLBaseElement.h
252  WebKitDOMHTMLBodyElement.h
253  WebKitDOMHTMLButtonElement.h
254  WebKitDOMHTMLCanvasElement.h
255  WebKitDOMHTMLCollection.h
256  WebKitDOMHTMLDListElement.h
257  WebKitDOMHTMLDirectoryElement.h
258  WebKitDOMHTMLDivElement.h
259  WebKitDOMHTMLDocument.h
260  WebKitDOMHTMLElement.h
261  WebKitDOMHTMLElementUnstable.h
262  WebKitDOMHTMLEmbedElement.h
263  WebKitDOMHTMLFieldSetElement.h
264  WebKitDOMHTMLFontElement.h
265  WebKitDOMHTMLFormElement.h
266  WebKitDOMHTMLFrameElement.h
267  WebKitDOMHTMLFrameSetElement.h
268  WebKitDOMHTMLHRElement.h
269  WebKitDOMHTMLHeadElement.h
270  WebKitDOMHTMLHeadingElement.h
271  WebKitDOMHTMLHtmlElement.h
272  WebKitDOMHTMLIFrameElement.h
273  WebKitDOMHTMLImageElement.h
274  WebKitDOMHTMLInputElement.h
275  WebKitDOMHTMLLIElement.h
276  WebKitDOMHTMLLabelElement.h
277  WebKitDOMHTMLLegendElement.h
278  WebKitDOMHTMLLinkElement.h
279  WebKitDOMHTMLMapElement.h
280  WebKitDOMHTMLMarqueeElement.h
281  WebKitDOMHTMLMenuElement.h
282  WebKitDOMHTMLMetaElement.h
283  WebKitDOMHTMLModElement.h
284  WebKitDOMHTMLOListElement.h
285  WebKitDOMHTMLObjectElement.h
286  WebKitDOMHTMLOptGroupElement.h
287  WebKitDOMHTMLOptionElement.h
288  WebKitDOMHTMLOptionsCollection.h
289  WebKitDOMHTMLParagraphElement.h
290  WebKitDOMHTMLParamElement.h
291  WebKitDOMHTMLPreElement.h
292  WebKitDOMHTMLQuoteElement.h
293  WebKitDOMHTMLScriptElement.h
294  WebKitDOMHTMLSelectElement.h
295  WebKitDOMHTMLStyleElement.h
296  WebKitDOMHTMLTableCaptionElement.h
297  WebKitDOMHTMLTableCellElement.h
298  WebKitDOMHTMLTableColElement.h
299  WebKitDOMHTMLTableElement.h
300  WebKitDOMHTMLTableRowElement.h
301  WebKitDOMHTMLTableSectionElement.h
302  WebKitDOMHTMLTextAreaElement.h
303  WebKitDOMHTMLTitleElement.h
304  WebKitDOMHTMLUListElement.h
305  WebKitDOMKeyboardEvent.h
306  WebKitDOMMediaList.h
307  WebKitDOMMouseEvent.h
308  WebKitDOMNamedNodeMap.h
309  WebKitDOMNode.h
310  WebKitDOMNodeFilter.h
311  WebKitDOMNodeIterator.h
312  WebKitDOMNodeList.h
313  WebKitDOMObject.h
314  WebKitDOMProcessingInstruction.h
315  WebKitDOMRange.h
316  WebKitDOMRangeUnstable.h
317  WebKitDOMStyleSheet.h
318  WebKitDOMStyleSheetList.h
319  WebKitDOMText.h
320  WebKitDOMTreeWalker.h
321  WebKitDOMUIEvent.h
322  WebKitDOMWheelEvent.h
323  WebKitDOMXPathExpression.h
324  WebKitDOMXPathNSResolver.h
325  WebKitDOMXPathResult.h
326  webkitdom.h
327  webkitdomautocleanups.h
328  webkitdomdefines.h
329 lib/
330  libjavascriptcoregtk-%%WKAPI%%.so
331  libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
332  libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
333  libwebkit2gtk-%%WKAPI%%.so
334  libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
335  libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
336 lib/girepository-1.0/
337  JavaScriptCore-%%WKAPI%%.typelib
338  WebKit2-%%WKAPI%%.typelib
339  WebKit2WebExtension-%%WKAPI%%.typelib
340 lib/pkgconfig/
341  javascriptcoregtk-%%WKAPI%%.pc
342  webkit2gtk-%%WKAPI%%.pc
343  webkit2gtk-web-extension-%%WKAPI%%.pc
344 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
345 libexec/webkit2gtk-%%WKAPI%%/
346  MiniBrowser
347  WebKitNetworkProcess
348  WebKitPluginProcess
349  WebKitWebProcess
350  jsc
351 share/gir-1.0/
352  JavaScriptCore-%%WKAPI%%.gir
353  WebKit2-%%WKAPI%%.gir
354  WebKit2WebExtension-%%WKAPI%%.gir
355 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
356 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
357 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
401 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
402 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
404
405
406 [FILE:433:patches/patch-CMakeLists.txt]
407 --- CMakeLists.txt.orig 2019-08-28 11:46:12 UTC
408 +++ CMakeLists.txt
409 @@ -175,6 +175,11 @@ if (ENABLE_API_TESTS)
410      enable_testing()
411  endif ()
412  
413 +if (SUPPRESS_ASSERT)
414 +   add_definitions(-DNDEBUG=1)
415 +   add_definitions(-D__OPTIMIZE__)
416 +endif()
417 +
418  # -----------------------------------------------------------------------------
419  # Add module directories
420  # -----------------------------------------------------------------------------
421
422
423 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
424 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig       2019-08-28 11:46:27 UTC
425 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
426 @@ -2808,6 +2808,8 @@ public:
427          sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
428  #elif OS(FUCHSIA)
429          zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
430 +#elif OS(FREEBSD) || OS(NETBSD)
431 +        __clear_cache(code, reinterpret_cast<char*>(code) + size);
432  #elif OS(LINUX)
433          size_t page = pageSize();
434          uintptr_t current = reinterpret_cast<uintptr_t>(code);
435
436
437 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
438 --- Source/WTF/wtf/NumberOfCores.cpp.orig       2019-08-28 11:46:29 UTC
439 +++ Source/WTF/wtf/NumberOfCores.cpp
440 @@ -35,6 +35,7 @@
441  #include <sys/types.h>
442  #include <sys/sysctl.h>
443  #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
444 +#include <stdio.h> // sscanf
445  #include <unistd.h>
446  #elif OS(WINDOWS)
447  #include <windows.h>
448
449
450 [FILE:1066:patches/patch-Source_WTF_wtf_URLHelpers.cpp]
451 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
452
453 Source/WTF/wtf/URLHelpers.cpp:301:39: error: expected ';' after do/while statement
454         U16_NEXT(buffer, i, length, c)
455                                       ^
456                                       ;
457 Source/WTF/wtf/URLHelpers.cpp:303:52: error: use of undeclared identifier 'error'
458         UScriptCode script = uscript_getScript(c, &error);
459                                                    ^
460 Source/WTF/wtf/URLHelpers.cpp:304:13: error: use of undeclared identifier 'error'
461         if (error != U_ZERO_ERROR) {
462             ^
463
464 --- Source/WTF/wtf/URLHelpers.cpp.orig  2019-08-28 11:46:29 UTC
465 +++ Source/WTF/wtf/URLHelpers.cpp
466 @@ -301,7 +301,7 @@ static bool allCharactersInIDNScriptWhit
467      Optional<UChar32> previousCodePoint;
468      while (i < length) {
469          UChar32 c;
470 -        U16_NEXT(buffer, i, length, c)
471 +        U16_NEXT(buffer, i, length, c);
472          UErrorCode error = U_ZERO_ERROR;
473          UScriptCode script = uscript_getScript(c, &error);
474          if (error != U_ZERO_ERROR) {
475
476
477 [FILE:1671:patches/patch-Source_WebCore_dom_Document.cpp]
478 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
479
480 In file included from DerivedSources/WebCore/unified-sources/UnifiedSource-be65d27a-6.cpp:4:
481 Source/WebCore/dom/Document.cpp:5075:39: error: expected ';' after do/while statement
482     U16_NEXT(characters, i, length, c)
483                                       ^
484                                       ;
485 Source/WebCore/dom/Document.cpp:5080:43: error: expected ';' after do/while statement
486         U16_NEXT(characters, i, length, c)
487                                           ^
488                                           ;
489 Source/WebCore/dom/Document.cpp:5140:46: error: expected ';' after do/while statement
490         U16_NEXT(qualifiedName, i, length, c)
491                                              ^
492                                              ;
493
494 --- Source/WebCore/dom/Document.cpp.orig        2019-09-02 09:41:47 UTC
495 +++ Source/WebCore/dom/Document.cpp
496 @@ -4944,12 +4944,12 @@ static bool isValidNameNonASCII(const UC
497      unsigned i = 0;
498  
499      UChar32 c;
500 -    U16_NEXT(characters, i, length, c)
501 +    U16_NEXT(characters, i, length, c);
502      if (!isValidNameStart(c))
503          return false;
504  
505      while (i < length) {
506 -        U16_NEXT(characters, i, length, c)
507 +        U16_NEXT(characters, i, length, c);
508          if (!isValidNamePart(c))
509              return false;
510      }
511 @@ -5009,7 +5009,7 @@ ExceptionOr<std::pair<AtomString, AtomSt
512  
513      for (unsigned i = 0; i < length; ) {
514          UChar32 c;
515 -        U16_NEXT(qualifiedName, i, length, c)
516 +        U16_NEXT(qualifiedName, i, length, c);
517          if (c == ':') {
518              if (sawColon)
519                  return Exception { InvalidCharacterError };
520
521
522 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
523 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig    2019-08-28 11:46:31 UTC
524 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
525 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
526      "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
527      "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
528      "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
529 -    "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
530 +    "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
531      // The color values are stored in-place.
532      "strb r2, [" PIXELS_R ", #-11]" NL
533      "strb r3, [" PIXELS_R ", #-10]" NL
534
535
536 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
537 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig  2019-09-23 08:18:33 UTC
538 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
539 @@ -44,6 +44,8 @@
540  #include "OpenGLShims.h"
541  #endif
542  
543 +#include <X11/Xlib.h>
544 +
545  #if ENABLE(ACCELERATED_2D_CANVAS)
546  // cairo-gl.h includes some definitions from GLX that conflict with
547  // the ones provided by us. Since GLContextEGL doesn't use any GLX
548
549
550 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
551 --- Source/WebDriver/PlatformGTK.cmake.orig     2019-08-28 11:46:32 UTC
552 +++ Source/WebDriver/PlatformGTK.cmake
553 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
554  list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
555      "${GLIB_INCLUDE_DIRS}"
556      "${LIBSOUP_INCLUDE_DIRS}"
557 +    "${ICU_INCLUDE_DIRS}"
558  )
559  
560  list(APPEND WebDriver_SOURCES
561
562
563 [FILE:792:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
564 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig       2019-08-28 11:46:32 UTC
565 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
566 @@ -137,7 +137,13 @@ static int createSharedMemory()
567  
568      CString tempName;
569      for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
570 -        String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
571 +        String name =
572 +#ifdef __DragonFly__
573 +                      String("/tmp/WK2SharedMemory.")
574 +#else
575 +                      String("/WK2SharedMemory.")
576 +#endif
577 +                      + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
578          tempName = name.utf8();
579  
580          do {
581