<!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>[40101] trunk/dports/lang/erlang</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="http://trac.macports.org/changeset/40101">40101</a></dd>
<dt>Author</dt> <dd>pguyot@kallisys.net</dd>
<dt>Date</dt> <dd>2008-09-20 11:03:54 -0700 (Sat, 20 Sep 2008)</dd>
</dl>

<h3>Log Message</h3>
<pre>lang/erlang: update to R12B4 (#16457)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangerlangPortfile">trunk/dports/lang/erlang/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportslangerlangfilespatcherts_emulator_sys_unix_ddllc">trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_ddll.c</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportslangerlangfilespatcherts_emulator_drivers_unix_unix_efilec">trunk/dports/lang/erlang/files/patch-erts_emulator_drivers_unix_unix_efile.c</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangerlangPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/erlang/Portfile (40100 => 40101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/erlang/Portfile        2008-09-20 17:11:26 UTC (rev 40100)
+++ trunk/dports/lang/erlang/Portfile        2008-09-20 18:03:54 UTC (rev 40101)
</span><span class="lines">@@ -2,8 +2,8 @@
</span><span class="cx"> 
</span><span class="cx"> PortSystem 1.0
</span><span class="cx"> name                erlang
</span><del>-version                R12B-3
-revision        2
</del><ins>+version                R12B-4
+revision    1
</ins><span class="cx"> categories        lang erlang
</span><span class="cx"> maintainers        bfulgham@macports.org
</span><span class="cx"> platforms        darwin
</span><span class="lines">@@ -32,18 +32,18 @@
</span><span class="cx">                 otp_doc_man_${version}${extract.suffix}                \
</span><span class="cx">                 otp_doc_html_${version}${extract.suffix}
</span><span class="cx"> 
</span><del>-checksums       otp_src_R12B-3.tar.gz \
-                    md5     c2e7f0ad54b8fadebde2d94106608d97 \
-                    sha1    ea5f202cc35ed6ef2796727b95d62c9bbe6ad5e5 \
-                    rmd160  e7b5da985b939e51ef4e2d19fb96cff1781ce263 \
-                otp_doc_man_R12B-3.tar.gz \
-                    md5     13098954c9d5804bb8394fe7badb3d0d \
-                    sha1    8ea4c9fa7d941c339c73bb417f88ee939d6989eb \
-                    rmd160  7e0c27391f42b1e58c7bb1472594e9fe6f7ac414 \
-                otp_doc_html_R12B-3.tar.gz \
-                    md5     8865d406c256abbff63eaff62d2216aa \
-                    sha1    194003607113c84aef5b5daad7ca8b8901d1d80a \
-                    rmd160  8295d4e94952bad6458f2038415c474e687631cb
</del><ins>+checksums       otp_src_R12B-4.tar.gz \
+                    md5     ae81edda4a17506af7a9d73abca033b2 \
+                    sha1    4e42454c3f560ce6efd3c917a79a5b288664e329 \
+                    rmd160  3c57ae04388c0493d97c76529c57c50de639bdce \
+                otp_doc_man_R12B-4.tar.gz \
+                    md5     ef8f96d1721a2345cc87b208cde3de06 \
+                    sha1    b954711b493e384606ce23d32a6d980017637b10 \
+                    rmd160  f14eb1f542ebecceddd6ac70aa4ed325f91b0b24 \
+                otp_doc_html_R12B-4.tar.gz \
+                    md5     f633cd418d8260af7a11c998aa88072b \
+                    sha1    cbe6bc52a5000b21de5cac5f9b2672b935e94ed7 \
+                    rmd160  bf05981ddf2e97910141739980cee09572b1c34d
</ins><span class="cx"> 
</span><span class="cx"> extract.only        otp_src_${version}${extract.suffix}
</span><span class="cx"> 
</span><span class="lines">@@ -51,10 +51,10 @@
</span><span class="cx"> 
</span><span class="cx"> patchfiles        patch-toolbar.erl \
</span><span class="cx">                 patch-erts_emulator_Makefile.in \
</span><del>-                patch-erts_emulator_drivers_unix_unix_efile.c \
</del><span class="cx">                 patch-lib_ssl_c_src_esock_openssl.c \
</span><span class="cx">                 patch-lib_ssl_c_src_Makefile.dist \
</span><del>-                patch-lib_ssl_c_src_Makefile.in
</del><ins>+                patch-lib_ssl_c_src_Makefile.in \
+                patch-erts_emulator_sys_unix_ddll.c
</ins><span class="cx"> 
</span><span class="cx"> configure.args  --prefix=${destroot}${prefix}        \
</span><span class="cx">                 --enable-kernel-poll            \
</span><span class="lines">@@ -94,7 +94,7 @@
</span><span class="cx">         system &quot;tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}&quot;
</span><span class="cx">         system &quot;tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}&quot;
</span><span class="cx">  
</span><del>-        set erts_dir   erts-5.6.3
</del><ins>+        set erts_dir   erts-5.6.4
</ins><span class="cx"> 
</span><span class="cx">         reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/erl
</span><span class="cx">         reinplace s|${destroot}|| ${destroot}${prefix}/lib/erlang/bin/start
</span></span></pre></div>
<a id="trunkdportslangerlangfilespatcherts_emulator_drivers_unix_unix_efilec"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/erlang/files/patch-erts_emulator_drivers_unix_unix_efile.c (40100 => 40101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/erlang/files/patch-erts_emulator_drivers_unix_unix_efile.c        2008-09-20 17:11:26 UTC (rev 40100)
+++ trunk/dports/lang/erlang/files/patch-erts_emulator_drivers_unix_unix_efile.c        2008-09-20 18:03:54 UTC (rev 40101)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>---- erts/emulator/drivers/unix/unix_efile.c.orig        2008-08-06 22:13:42.000000000 -0700
-+++ erts/emulator/drivers/unix/unix_efile.c        2008-08-06 22:18:36.000000000 -0700
-@@ -44,6 +44,14 @@
- #endif
- #endif /* _OSE_ */

-+#if defined(__APPLE__) &amp;&amp; defined(__MACH__) &amp;&amp; !defined(__DARWIN__)
-+#define DARWIN 1
-+#endif
-+
-+#ifdef DARWIN
-+#include &lt;fcntl.h&gt;
-+#endif /* DARWIN */
-+
- #ifdef VXWORKS
- #include &lt;ioLib.h&gt;
- #include &lt;dosFsLib.h&gt;
-@@ -818,7 +826,11 @@
-   undefined fsync
- #endif /* VXWORKS */
- #else
-+#if defined(DARWIN) &amp;&amp; defined(F_FULLFSYNC)
-+    return check_error(fcntl(fd, F_FULLFSYNC), errInfo);
-+#else
-     return check_error(fsync(fd), errInfo);
-+#endif /* DARWIN */
- #endif /* NO_FSYNC */
- }

</del></span></pre></div>
<a id="trunkdportslangerlangfilespatcherts_emulator_sys_unix_ddllc"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_ddll.c (0 => 40101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_ddll.c                                (rev 0)
+++ trunk/dports/lang/erlang/files/patch-erts_emulator_sys_unix_ddll.c        2008-09-20 18:03:54 UTC (rev 40101)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+--- erts/emulator/sys/unix/erl_unix_sys_ddll.c        2007-11-26 20:01:23.000000000 +0100
++++ erts/emulator/sys/unix/erl_unix_sys_ddll.c        2008-09-07 10:13:54.000000000 +0200
+@@ -127,6 +127,7 @@
+             } else {
+                 ret = ERL_DE_ERROR_UNSPECIFIED;
+             }
++                NSDestroyObjectFileImage(ofile);
+             break;
+         /* XXX:PaN should anything return something else ? */
+         /*case NSObjectFileImageInappropriateFile:
+@@ -240,7 +241,15 @@
+ int erts_sys_ddll_close(void *handle)
+ {
+ #if defined(HAVE_MACH_O_DYLD_H)
+-    return ERL_DE_NO_ERROR; /* XXX:PaN No close functionality in MacOSX??? */
++    {
++        int ret;
++        if (NSUnLinkModule((NSModule) handle, NSUNLINKMODULE_OPTION_NONE)) {
++            ret = ERL_DE_NO_ERROR;
++        } else {
++            ret = ERL_DE_ERROR_UNSPECIFIED;
++        }
++        return ret;
++    }
+ #elif defined(HAVE_DLOPEN)
+     {
+         int ret;
</ins></span></pre>
</div>
</div>

</body>
</html>