<!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>[120631] trunk/dports/games/moria</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/120631">120631</a></dd>
<dt>Author</dt> <dd>mf2k@macports.org</dd>
<dt>Date</dt> <dd>2014-06-03 15:34:01 -0700 (Tue, 03 Jun 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>moria: Spacing fixes. Lint fixes. Use modern checksums.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsgamesmoriaPortfile">trunk/dports/games/moria/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsgamesmoriafilespatchsignalscdiff">trunk/dports/games/moria/files/patch-signals.c.diff</a></li>
<li><a href="#trunkdportsgamesmoriafilespatchsource_confighdiff">trunk/dports/games/moria/files/patch-source_config.h.diff</a></li>
<li><a href="#trunkdportsgamesmoriafilespatchtypeshdiff">trunk/dports/games/moria/files/patch-types.h.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportsgamesmoriafilespatchsignalsc">trunk/dports/games/moria/files/patch-signals.c</a></li>
<li><a href="#trunkdportsgamesmoriafilespatchsource_configh">trunk/dports/games/moria/files/patch-source_config.h</a></li>
<li><a href="#trunkdportsgamesmoriafilespatchtypesh">trunk/dports/games/moria/files/patch-types.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsgamesmoriaPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/games/moria/Portfile (120630 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/Portfile        2014-06-03 22:26:46 UTC (rev 120630)
+++ trunk/dports/games/moria/Portfile        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -2,24 +2,30 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem          1.0
</span><ins>+
</ins><span class="cx"> name                moria
</span><span class="cx"> version             5.5.2
</span><span class="cx"> revision            2
</span><span class="cx"> categories          games
</span><span class="cx"> platforms           darwin
</span><span class="cx"> maintainers         nomaintainer
</span><ins>+
</ins><span class="cx"> description         Moria is a Rogue-like dungeon exploration game
</span><span class="cx"> long_description    Moria is a Rogue-like dungeon exploration game similar to Angband.
</span><ins>+
</ins><span class="cx"> homepage            http://www-math.bgsu.edu/~grabine/moria.html
</span><span class="cx"> master_sites        http://www.nic.funet.fi/pub/unix/games/${name}/source/
</span><del>-checksums           md5 04a2852864302c702e82992023d97184
</del><ins>+
+checksums           rmd160  1556c76f151d7ea29da79071a57398f63d0b138b \
+                    sha256  fffab65703c77058a1aadd8647cc1f44bd4349065af0b334702986f36007b2ed
+
</ins><span class="cx"> extract.suffix      .tar.Z
</span><span class="cx"> distname            um${version}
</span><span class="cx"> worksrcdir          umoria
</span><span class="cx"> 
</span><del>-patchfiles          patch-source_config.h \
-                    patch-signals.c \
-                    patch-types.h
</del><ins>+patchfiles          patch-source_config.h.diff \
+                    patch-signals.c.diff \
+                    patch-types.h.diff
</ins><span class="cx"> 
</span><span class="cx"> build.dir           ${worksrcpath}/source
</span><span class="cx"> build.target
</span><span class="lines">@@ -65,7 +71,7 @@
</span><span class="cx">     xinstall -m 644 -c ${worksrcpath}/files/welcome.hlp ${destroot}${prefix}/var/games/moria
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-post-activate { 
</del><ins>+post-activate {
</ins><span class="cx">     if {![file exists ${prefix}/var/games/moria/scores]} {
</span><span class="cx">         if {![variant_isset singleuser]} {
</span><span class="cx">             xinstall -m 464 -g games -c ${worksrcpath}/files/scores ${prefix}/var/games/moria/scores
</span></span></pre></div>
<a id="trunkdportsgamesmoriafilespatchsignalsc"></a>
<div class="delfile"><h4>Deleted: trunk/dports/games/moria/files/patch-signals.c (120630 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/files/patch-signals.c        2014-06-03 22:26:46 UTC (rev 120630)
+++ trunk/dports/games/moria/files/patch-signals.c        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>---- source/signals.c        1994-07-21 21:47:42.000000000 -0400
-+++ source/signals.c        2011-12-30 17:19:16.000000000 -0500
-@@ -114,7 +114,7 @@
-     {
-       if(++signal_count &gt; 10)        /* Be safe. We will die if persistent enough. */
-         (void) signal(sig, SIG_DFL);
--      return;
-+      return 0;
-     }
-   error_sig = sig;

-@@ -145,7 +145,7 @@
-               if (wait_for_more)
-                 put_buffer(&quot; -more-&quot;, MSG_LINE, 0);
-               put_qio();
--              return;                /* OK. We don't quit. */
-+              return 0;                /* OK. We don't quit. */
-             }
-           (void) strcpy(died_from, &quot;Interrupting&quot;);
-         }
</del></span></pre></div>
<a id="trunkdportsgamesmoriafilespatchsignalscdifffromrev120629trunkdportsgamesmoriafilespatchsignalsc"></a>
<div class="copfile"><h4>Copied: trunk/dports/games/moria/files/patch-signals.c.diff (from rev 120629, trunk/dports/games/moria/files/patch-signals.c) (0 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/files/patch-signals.c.diff                                (rev 0)
+++ trunk/dports/games/moria/files/patch-signals.c.diff        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+--- source/signals.c        1994-07-21 21:47:42.000000000 -0400
++++ source/signals.c        2011-12-30 17:19:16.000000000 -0500
+@@ -114,7 +114,7 @@
+     {
+       if(++signal_count &gt; 10)        /* Be safe. We will die if persistent enough. */
+         (void) signal(sig, SIG_DFL);
+-      return;
++      return 0;
+     }
+   error_sig = sig;

+@@ -145,7 +145,7 @@
+               if (wait_for_more)
+                 put_buffer(&quot; -more-&quot;, MSG_LINE, 0);
+               put_qio();
+-              return;                /* OK. We don't quit. */
++              return 0;                /* OK. We don't quit. */
+             }
+           (void) strcpy(died_from, &quot;Interrupting&quot;);
+         }
</ins></span></pre></div>
<a id="trunkdportsgamesmoriafilespatchsource_configh"></a>
<div class="delfile"><h4>Deleted: trunk/dports/games/moria/files/patch-source_config.h (120630 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/files/patch-source_config.h        2014-06-03 22:26:46 UTC (rev 120630)
+++ trunk/dports/games/moria/files/patch-source_config.h        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>---- source/config.h.orig        2006-09-12 20:34:36.000000000 -0400
-+++ source/config.h        2006-09-12 20:41:56.000000000 -0400
-@@ -6,6 +6,10 @@
-    not for profit purposes provided that this copyright and statement are
-    included in all such copies. */

-+#define unix
-+#include &lt;sys/ioctl_compat.h&gt;
-+#include &lt;unistd.h&gt;
-+
- #define CONFIG_H_INCLUDED
- #ifdef CONSTANT_H_INCLUDED
- Constant.h should always be included after config.h, because it uses
-@@ -200,16 +204,16 @@

- /* This must be unix; change MORIA_LIB as appropriate.  */
- #define MORIA_SAV        &quot;moria.save&quot;
--#define MORIA_LIB(xxx)  &quot;/home/math/grabiner/moria/files/xxx&quot;
--#define MORIA_HOU        MORIA_LIB(hours)
--#define MORIA_MOR        MORIA_LIB(news)
--#define MORIA_TOP        MORIA_LIB(scores)
--#define MORIA_HELP        MORIA_LIB(roglcmds.hlp)
--#define MORIA_ORIG_HELP        MORIA_LIB(origcmds.hlp)
--#define MORIA_WIZ_HELP        MORIA_LIB(rwizcmds.hlp)
--#define MORIA_OWIZ_HELP        MORIA_LIB(owizcmds.hlp)
--#define MORIA_WELCOME        MORIA_LIB(welcome.hlp)
--#define MORIA_VER        MORIA_LIB(version.hlp)
-+
-+#define MORIA_HOU        &quot;/home/math/grabiner/moria/files/hours&quot;
-+#define MORIA_MOR        &quot;home/math/grabiner/moria/files/news&quot;
-+#define MORIA_TOP        &quot;/home/math/grabiner/moria/files/scores&quot;
-+#define MORIA_HELP        &quot;/home/math/grabiner/moria/files/roglcmds.hlp&quot;
-+#define MORIA_ORIG_HELP        &quot;/home/math/grabiner/moria/files/origcmds.hlp&quot;
-+#define MORIA_WIZ_HELP        &quot;/home/math/grabiner/moria/files/rwizcmds.hlp&quot;
-+#define MORIA_OWIZ_HELP        &quot;/home/math/grabiner/moria/files/owizcmds.hlp&quot;
-+#define MORIA_WELCOME        &quot;/home/math/grabiner/moria/files/welcome.hlp&quot;
-+#define MORIA_VER        &quot;/home/math/grabiner/moria/files/version.hlp&quot;

- #endif
- #endif
</del></span></pre></div>
<a id="trunkdportsgamesmoriafilespatchsource_confighdifffromrev120629trunkdportsgamesmoriafilespatchsource_configh"></a>
<div class="copfile"><h4>Copied: trunk/dports/games/moria/files/patch-source_config.h.diff (from rev 120629, trunk/dports/games/moria/files/patch-source_config.h) (0 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/files/patch-source_config.h.diff                                (rev 0)
+++ trunk/dports/games/moria/files/patch-source_config.h.diff        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+--- source/config.h.orig        2006-09-12 20:34:36.000000000 -0400
++++ source/config.h        2006-09-12 20:41:56.000000000 -0400
+@@ -6,6 +6,10 @@
+    not for profit purposes provided that this copyright and statement are
+    included in all such copies. */

++#define unix
++#include &lt;sys/ioctl_compat.h&gt;
++#include &lt;unistd.h&gt;
++
+ #define CONFIG_H_INCLUDED
+ #ifdef CONSTANT_H_INCLUDED
+ Constant.h should always be included after config.h, because it uses
+@@ -200,16 +204,16 @@

+ /* This must be unix; change MORIA_LIB as appropriate.  */
+ #define MORIA_SAV        &quot;moria.save&quot;
+-#define MORIA_LIB(xxx)  &quot;/home/math/grabiner/moria/files/xxx&quot;
+-#define MORIA_HOU        MORIA_LIB(hours)
+-#define MORIA_MOR        MORIA_LIB(news)
+-#define MORIA_TOP        MORIA_LIB(scores)
+-#define MORIA_HELP        MORIA_LIB(roglcmds.hlp)
+-#define MORIA_ORIG_HELP        MORIA_LIB(origcmds.hlp)
+-#define MORIA_WIZ_HELP        MORIA_LIB(rwizcmds.hlp)
+-#define MORIA_OWIZ_HELP        MORIA_LIB(owizcmds.hlp)
+-#define MORIA_WELCOME        MORIA_LIB(welcome.hlp)
+-#define MORIA_VER        MORIA_LIB(version.hlp)
++
++#define MORIA_HOU        &quot;/home/math/grabiner/moria/files/hours&quot;
++#define MORIA_MOR        &quot;home/math/grabiner/moria/files/news&quot;
++#define MORIA_TOP        &quot;/home/math/grabiner/moria/files/scores&quot;
++#define MORIA_HELP        &quot;/home/math/grabiner/moria/files/roglcmds.hlp&quot;
++#define MORIA_ORIG_HELP        &quot;/home/math/grabiner/moria/files/origcmds.hlp&quot;
++#define MORIA_WIZ_HELP        &quot;/home/math/grabiner/moria/files/rwizcmds.hlp&quot;
++#define MORIA_OWIZ_HELP        &quot;/home/math/grabiner/moria/files/owizcmds.hlp&quot;
++#define MORIA_WELCOME        &quot;/home/math/grabiner/moria/files/welcome.hlp&quot;
++#define MORIA_VER        &quot;/home/math/grabiner/moria/files/version.hlp&quot;

+ #endif
+ #endif
</ins></span></pre></div>
<a id="trunkdportsgamesmoriafilespatchtypesh"></a>
<div class="delfile"><h4>Deleted: trunk/dports/games/moria/files/patch-types.h (120630 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/files/patch-types.h        2014-06-03 22:26:46 UTC (rev 120630)
+++ trunk/dports/games/moria/files/patch-types.h        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>---- source/types.h        1994-07-21 21:47:49.000000000 -0400
-+++ source/types.h        2011-12-30 17:25:47.000000000 -0500
-@@ -6,11 +6,12 @@
-    not for profit purposes provided that this copyright and statement are
-    included in all such copies. */

--typedef unsigned long  int32u;
--typedef long               int32;
--typedef unsigned short int16u;
--typedef short               int16;
--typedef unsigned char  int8u;
-+#include &lt;inttypes.h&gt;
-+typedef uint32_t          int32u;
-+typedef int32_t                int32;
-+typedef uint16_t        int16u;
-+typedef int16_t                int16;
-+typedef uint8_t                int8u;
- /* some machines will not accept 'signed char' as a type, and some accept it
-    but still treat it like an unsigned character, let's just avoid it,
-    any variable which can ever hold a negative value must be 16 or 32 bits */
</del></span></pre></div>
<a id="trunkdportsgamesmoriafilespatchtypeshdifffromrev120629trunkdportsgamesmoriafilespatchtypesh"></a>
<div class="copfile"><h4>Copied: trunk/dports/games/moria/files/patch-types.h.diff (from rev 120629, trunk/dports/games/moria/files/patch-types.h) (0 => 120631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/games/moria/files/patch-types.h.diff                                (rev 0)
+++ trunk/dports/games/moria/files/patch-types.h.diff        2014-06-03 22:34:01 UTC (rev 120631)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+--- source/types.h        1994-07-21 21:47:49.000000000 -0400
++++ source/types.h        2011-12-30 17:25:47.000000000 -0500
+@@ -6,11 +6,12 @@
+    not for profit purposes provided that this copyright and statement are
+    included in all such copies. */

+-typedef unsigned long  int32u;
+-typedef long               int32;
+-typedef unsigned short int16u;
+-typedef short               int16;
+-typedef unsigned char  int8u;
++#include &lt;inttypes.h&gt;
++typedef uint32_t          int32u;
++typedef int32_t                int32;
++typedef uint16_t        int16u;
++typedef int16_t                int16;
++typedef uint8_t                int8u;
+ /* some machines will not accept 'signed char' as a type, and some accept it
+    but still treat it like an unsigned character, let's just avoid it,
+    any variable which can ever hold a negative value must be 16 or 32 bits */
</ins></span></pre>
</div>
</div>

</body>
</html>