<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[131267] trunk/dports/www/webkit-gtk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/131267">131267</a></dd>
<dt>Author</dt> <dd>jeremyhu@macports.org</dd>
<dt>Date</dt> <dd>2015-01-07 19:53:03 -0800 (Wed, 07 Jan 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>webkit-gtk: Bump to 2.4.8 and fix Leopard build issues</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportswwwwebkitgtkPortfile">trunk/dports/www/webkit-gtk/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportswwwwebkitgtkfilesleopardmallocpatch">trunk/dports/www/webkit-gtk/files/leopard-malloc.patch</a></li>
<li><a href="#trunkdportswwwwebkitgtkfilesleopardplatformpatch">trunk/dports/www/webkit-gtk/files/leopard-platform.patch</a></li>
<li><a href="#trunkdportswwwwebkitgtkfilesruby18patch">trunk/dports/www/webkit-gtk/files/ruby-1.8.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportswwwwebkitgtkPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/www/webkit-gtk/Portfile (131266 => 131267)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/webkit-gtk/Portfile        2015-01-08 03:03:29 UTC (rev 131266)
+++ trunk/dports/www/webkit-gtk/Portfile        2015-01-08 03:53:03 UTC (rev 131267)
</span><span class="lines">@@ -12,8 +12,7 @@
</span><span class="cx"> 
</span><span class="cx"> name        webkit-gtk
</span><span class="cx"> epoch       2
</span><del>-version     2.4.7
-revision    1
</del><ins>+version     2.4.8
</ins><span class="cx"> description Apple's WebKit HTML rendering library for GTK+
</span><span class="cx"> long_description ${description}
</span><span class="cx"> maintainers jeremyhu devans
</span><span class="lines">@@ -28,9 +27,9 @@
</span><span class="cx"> 
</span><span class="cx"> dist_subdir webkit-gtk
</span><span class="cx"> 
</span><del>-checksums           sha1    10d4cd1c1f7454adc576c6b97fa3d262b6665764 \
-                    rmd160  25e1732f7e04ee0e15d7292aa5ef693d5c25679d \
-                    sha256  f5cf26e39abf1d6b2d25f1398348fef6bbe6c03fb4f99e11c569091c05197d38
</del><ins>+checksums           sha1    44c6bbe52108297126830525619c1df047886a6f \
+                    rmd160  24f812f3989baa67e165c1076923020c37df9501 \
+                    sha256  68f11559cb178679ca92acc9e3a3d7febede7acb7b98afd7fb761875bbc6bd23
</ins><span class="cx"> 
</span><span class="cx"> depends_lib \
</span><span class="cx">         path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span><span class="lines">@@ -51,12 +50,16 @@
</span><span class="cx"> 
</span><span class="cx"> depends_build   \
</span><span class="cx">         port:gtk-doc \
</span><del>-        port:pkgconfig
</del><ins>+        port:pkgconfig \
+        port:python27 \
+        port:py27-simplejson
</ins><span class="cx"> 
</span><ins>+configure.python    ${prefix}/bin/python2.7
+
</ins><span class="cx"> # case-insensitive.patch: https://bugs.webkit.org/show_bug.cgi?id=65811
</span><span class="cx"> # our-icu.patch: No upstream bug report, probably not wanted
</span><ins>+# ruby-1.8.patch: https://bugs.webkit.org/show_bug.cgi?id=126327
</ins><span class="cx"> # quartz-webcore.patch: https://bugs.webkit.org/show_bug.cgi?id=126326
</span><del>-# quartz-duplicate-symbols.patch: https://bugs.webkit.org/show_bug.cgi?id=126821
</del><span class="cx"> # clang-check.patch: https://bugs.webkit.org/show_bug.cgi?id=126324
</span><span class="cx"> # gstreamer.patch: https://bugs.webkit.org/show_bug.cgi?id=126437
</span><span class="cx"> # libedit.patch: https://bugs.webkit.org/show_bug.cgi?id=127059
</span><span class="lines">@@ -65,17 +68,16 @@
</span><span class="cx">         clang-assertions.patch \
</span><span class="cx">         case-insensitive.patch \
</span><span class="cx">         our-icu.patch \
</span><del>-        quartz-duplicate-symbols.patch \
</del><ins>+        ruby-1.8.patch \
</ins><span class="cx">         quartz-webcore.patch \
</span><span class="cx">         clang-check.patch \
</span><span class="cx">         gstreamer.patch \
</span><ins>+        leopard-platform.patch \
+        leopard-malloc.patch \
</ins><span class="cx">         libedit.patch
</span><span class="cx"> 
</span><span class="cx"> conflicts_build     google-test
</span><span class="cx"> 
</span><del>-# https://trac.macports.org/ticket/36329
-configure.python    /usr/bin/python
-
</del><span class="cx"> # --disable-webkit2: https://bugs.webkit.org/show_bug.cgi?id=126416
</span><span class="cx"> # --disable-web-audio: https://bugs.webkit.org/show_bug.cgi?id=126438
</span><span class="cx"> # --disable-jit: https://bugs.webkit.org/show_bug.cgi?id=133293
</span></span></pre></div>
<a id="trunkdportswwwwebkitgtkfilesleopardmallocpatch"></a>
<div class="addfile"><h4>Added: trunk/dports/www/webkit-gtk/files/leopard-malloc.patch (0 => 131267)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/webkit-gtk/files/leopard-malloc.patch                                (rev 0)
+++ trunk/dports/www/webkit-gtk/files/leopard-malloc.patch        2015-01-08 03:53:03 UTC (rev 131267)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+--- Source/WTF/wtf/FastMalloc.cpp.orig        2015-01-07 16:04:31.000000000 -0800
++++ Source/WTF/wtf/FastMalloc.cpp        2015-01-07 16:06:05.000000000 -0800
+@@ -5095,8 +5095,13 @@ void* FastMallocZone::zoneRealloc(malloc
+ extern &quot;C&quot; {
+ malloc_introspection_t jscore_fastmalloc_introspection = { &amp;FastMallocZone::enumerate, &amp;FastMallocZone::goodSize, &amp;FastMallocZone::check, &amp;FastMallocZone::print,
+     &amp;FastMallocZone::log, &amp;FastMallocZone::forceLock, &amp;FastMallocZone::forceUnlock, &amp;FastMallocZone::statistics
++
++#if OS(IOS) || __MAC_OS_X_VERSION_MAX_ALLOWED &gt;= 1060
+     , 0 // zone_locked will not be called on the zone unless it advertises itself as version five or higher.
++#endif
++#if OS(IOS) || __MAC_OS_X_VERSION_MAX_ALLOWED &gt;= 1070
+     , 0, 0, 0, 0 // These members will not be used unless the zone advertises itself as version seven or higher.
++#endif

+     };
+ }
</ins></span></pre></div>
<a id="trunkdportswwwwebkitgtkfilesleopardplatformpatch"></a>
<div class="addfile"><h4>Added: trunk/dports/www/webkit-gtk/files/leopard-platform.patch (0 => 131267)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/webkit-gtk/files/leopard-platform.patch                                (rev 0)
+++ trunk/dports/www/webkit-gtk/files/leopard-platform.patch        2015-01-08 03:53:03 UTC (rev 131267)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+--- Source/WTF/wtf/Platform.h.orig        2015-01-06 13:30:52.000000000 -0800
++++ Source/WTF/wtf/Platform.h        2015-01-06 13:42:15.000000000 -0800
+@@ -587,11 +587,14 @@

+ #if OS(DARWIN)

++#if __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1060 || PLATFORM(IOS)
+ #define HAVE_DISPATCH_H 1
+-#define HAVE_MADV_FREE 1
+ #define HAVE_MADV_FREE_REUSE 1
+-#define HAVE_MERGESORT 1
+ #define HAVE_PTHREAD_SETNAME_NP 1
++#endif
++
++#define HAVE_MADV_FREE 1
++#define HAVE_MERGESORT 1
+ #define HAVE_READLINE 1
+ #define HAVE_SYS_TIMEB_H 1
+ #define WTF_USE_ACCELERATE 1
</ins></span></pre></div>
<a id="trunkdportswwwwebkitgtkfilesruby18patch"></a>
<div class="addfile"><h4>Added: trunk/dports/www/webkit-gtk/files/ruby-1.8.patch (0 => 131267)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/www/webkit-gtk/files/ruby-1.8.patch                                (rev 0)
+++ trunk/dports/www/webkit-gtk/files/ruby-1.8.patch        2015-01-08 03:53:03 UTC (rev 131267)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+--- Source/JavaScriptCore/offlineasm/offsets.rb.orig        2012-11-23 14:12:16.000000000 -0600
++++ Source/JavaScriptCore/offlineasm/offsets.rb        2013-01-22 19:35:47.000000000 -0600
+@@ -109,7 +109,11 @@
+     File.open(file, &quot;r&quot;) {
+         | inp |
+         loop {
+-            byte = inp.getbyte
++            if RUBY_VERSION &gt;= '1.8.7'
++              byte = inp.getbyte
++            else
++              byte = inp.getc
++            end
+             break unless byte
+             fileBytes &lt;&lt; byte
+         }
</ins></span></pre>
</div>
</div>

</body>
</html>