<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/19158a0eb13bda2112248394d825bebe303559b1">https://github.com/macports/macports-ports/commit/19158a0eb13bda2112248394d825bebe303559b1</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 19158a0  webkit2-gtk: fixes for older systems
</span>19158a0 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 19158a0eb13bda2112248394d825bebe303559b1
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Thu Oct 24 21:21:57 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    webkit2-gtk: fixes for older systems
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    the interaction between ENABLE_WEB_CRYPT and the patch
</span><span style='display:block; white-space:pre;color:#404040;'>    is more delicate that initially thought
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    patch out a header collision between vForce.h and libc++
</span><span style='display:block; white-space:pre;color:#404040;'>    headers manifesting on 10.7 and 10.8
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    use the cputimeunix.cpp fallback code on 10.12 and less
</span>---
 www/webkit2-gtk/Portfile                           | 44 ++++++++++++----------
 ...tform-audio-directconvolver-disable-veclib.diff | 11 ++++++
 2 files changed, 35 insertions(+), 20 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk/Portfile b/www/webkit2-gtk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 15097c5..80ffa4d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/webkit2-gtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@ revision            0
</span> 
 description         Apple's WebKit2 HTML rendering library for GTK+3
 long_description    ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers         {devans @dbevans}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers         {devans @dbevans} {kencu @kencu}
</span> categories          www gnome
 platforms           darwin freebsd
 license             LGPL-2+ BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,11 +76,11 @@ depends_lib-append  port:atk \
</span> # 2. don't copy the ICU includes into the source tree
 # 3. add missing WebCore include directory used only on Apple webkit builds
 # 4. add a missing Apple-only header found in the WebKit project
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# 5. change some int64_t to gint64 to stop typedef errors in gstreamer 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# 5. change some int64_t to gint64 to stop typedef errors in gstreamer
</span> patchfiles-append   patch-webkit2gtk-macports.diff
 
 # enable Netscape plugin architecture on macOS
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# or can be explicitly disabled with the following addition if preferred 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# or can be explicitly disabled with the following addition if preferred
</span> # configure.args-append -DENABLE_NETSCAPE_PLUGIN_API=OFF
 patchfiles-append    patch-enable-plugin-architecture-unix.diff
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -148,24 +148,21 @@ variant minibrowser description {Build and install MiniBrowser (for testing)} {
</span>     depends_run-append       port:adwaita-icon-theme
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# fix build on older systems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} <= 14} {
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # build of bmalloc fails on 10.10 https://trac.macports.org/ticket/59447
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # on older systems (to?), Webkit's bmalloc implementation does not build so patch tweaked
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # TO DO: test and enable bmalloc on all systems that can build it
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-replace -DUSE_SYSTEM_MALLOC=OFF -DUSE_SYSTEM_MALLOC=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    patchfiles-append       patch-ramsize.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the above code presently builds as-in on 10.13 and up
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 16} {
</span> 
     # the only compiler I know that works here is macports-clang-5.0
     # macports-clang-9.0 does not work. There may be others in between that work.
     # to be discovered as time allows. Input appreciated from interested parties.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # the first generated error is a name collision with MacTypes.h
</span>     compiler.whitelist      macports-clang-5.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # Source/WTF/wtf/unix/CPUTimeUnix.cpp : add back the previous Darwin compat version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # build of bmalloc fails up to 10.12 https://trac.macports.org/ticket/59447
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-replace -DUSE_SYSTEM_MALLOC=OFF -DUSE_SYSTEM_MALLOC=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append       patch-ramsize.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Source/WTF/wtf/unix/CPUTimeUnix.cpp : add back a previous Darwin compat version
</span>      patchfiles-append      patch-source-wtf-wtf-unix-cputimeunix-cpp-darwin-version-restore.diff
 
     # some Darwin versions don't have MAP_JIT; only use it if available
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -176,22 +173,29 @@ if {${os.platform} eq "darwin" && ${os.major} <= 13} {
</span>     # todo clarify further where this is exactly needed
     configure.args-append -DUSE_GSTREAMER_GL=OFF
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # for the webcore/page/crypt code to flow correctly,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # ENABLE_WEB_CRYPTO has to be ON for 10.10+ and OFF for 10.9 and less
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append  -DENABLE_WEB_CRYPTO=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span>     # disable Apple internal security libraries, available only on new systems
     patchfiles-append       patch-Webcore-page-crypto.diff
 
     # restrict special process memory kernel calls to 10.9+ that support them
     patchfiles-append       patch-WTF-wtf-spi-darwin-ProcessMemoryFootprint-h.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # ENABLE_WEB_CRYPTO previously failed up to darwin 13
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # TO DO: restest this and see if still needed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-append  -DENABLE_WEB_CRYPTO=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span>     # the darwin build uses security features that are Apple internal only, but
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # the unix version does not
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # FIXME: sort the ifdefs out
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # the unix version does not FIXME: sort the ifdefs out
</span>     # https://bugs.webkit.org/show_bug.cgi?id=157554
     patchfiles-append       patch-WTF-wtf-Randomdevice.diff
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # disable veclib on 10.7 and 10.8. There is a definition for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # class complex<> in the vForce.h header that collides with libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # if anyone has a more elegant fix for this, please volunteer it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} == 11 || ${os.major} == 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        patchfiles-append       patch-webcore-platform-audio-directconvolver-disable-veclib.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     # add dep for newer ruby and spec this for build
     # https://trac.macports.org/ticket/52016
     depends_build-append    port:ruby25
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk/files/patch-webcore-platform-audio-directconvolver-disable-veclib.diff b/www/webkit2-gtk/files/patch-webcore-platform-audio-directconvolver-disable-veclib.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..76dd310
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk/files/patch-webcore-platform-audio-directconvolver-disable-veclib.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/platform/audio/DirectConvolver.cpp.orig 2019-10-24 21:10:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/platform/audio/DirectConvolver.cpp      2019-10-24 21:11:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -32,7 +32,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "DirectConvolver.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if OS(DARWIN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if OS(DARWIN) && 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <Accelerate/Accelerate.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>