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