<!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>[126199] trunk/dports/devel/cssc</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/126199">126199</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2014-10-05 00:59:46 -0700 (Sun, 05 Oct 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>cssc: add upstream patches to fix build failure on OS X &lt;= 10.6 (#45258); become maintainer</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdevelcsscPortfile">trunk/dports/devel/cssc/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/devel/cssc/files/</li>
<li><a href="#trunkdportsdevelcsscfilespatchconfighdiff">trunk/dports/devel/cssc/files/patch-config.h.diff</a></li>
<li><a href="#trunkdportsdevelcsscfilespatchsrcversionccindiff">trunk/dports/devel/cssc/files/patch-src-version.cc.in.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdevelcsscPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/cssc/Portfile (126198 => 126199)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/cssc/Portfile        2014-10-05 05:26:12 UTC (rev 126198)
+++ trunk/dports/devel/cssc/Portfile        2014-10-05 07:59:46 UTC (rev 126199)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> version             1.4.0
</span><span class="cx"> categories          devel
</span><span class="cx"> platforms           darwin
</span><del>-maintainers         nomaintainer
</del><ins>+maintainers         ryandesign openmaintainer
</ins><span class="cx"> license             GPL-3+
</span><span class="cx"> 
</span><span class="cx"> description         SCCS replacement
</span><span class="lines">@@ -23,6 +23,9 @@
</span><span class="cx"> checksums           rmd160  6619af3566de003ed171bd9f3f2a0c216f47e99a \
</span><span class="cx">                     sha256  30146f96c26c2a4c6b742bc8a498993ec6ea9f289becaaf566866488600b2994
</span><span class="cx"> 
</span><ins>+patchfiles          patch-config.h.diff \
+                    patch-src-version.cc.in.diff
+
</ins><span class="cx"> configure.args      --enable-binary
</span><span class="cx"> 
</span><span class="cx"> livecheck.distname  CSSC
</span></span></pre></div>
<a id="trunkdportsdevelcsscfilespatchconfighdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/devel/cssc/files/patch-config.h.diff (0 => 126199)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/cssc/files/patch-config.h.diff                                (rev 0)
+++ trunk/dports/devel/cssc/files/patch-config.h.diff        2014-10-05 07:59:46 UTC (rev 126199)
</span><span class="lines">@@ -0,0 +1,766 @@
</span><ins>+http://lists.gnu.org/archive/html/bug-cssc/2014-09/msg00003.html
+http://git.savannah.gnu.org/cgit/cssc.git/commit/?id=9737f41b5d2a49e61061e9f896b5a9ae19e3a3ac
+--- auxfiles/Makefile.in        2014-07-11 07:32:58.000000000 -0500
++++ auxfiles/Makefile.in        2014-10-05 02:24:06.000000000 -0500
+@@ -799,7 +799,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-EXTRA_DIST = check-testfiles.sh
++EXTRA_DIST = check-testfiles.sh firstinclude.sed
+ all: all-am

+ .SUFFIXES:
+--- dev/null
++++ auxfiles/firstinclude.sed
+@@ -0,0 +1,19 @@
++/^ *# *include [&quot;&lt;].*[&quot;&gt;]/ {
++s/^ *# *include [&quot;&lt;]\(.*\)[&quot;&gt;]/\1/ 
++t YESREALLY
++i\
++Internal error - regexes are inconsistent
++q
++: YESREALLY
++#s/^\(config\|cssc\).h$//
++s/^config\.h$//
++t OK
++=
++i\
++config.h should be #included first
++: OK
++# q with an exit code is a GNU extension, don't use it.
++q
++}
++
++   
+--- src/Makefile.in        2014-07-11 07:33:00.000000000 -0500
++++ src/Makefile.in        2014-10-05 02:24:06.000000000 -0500
+@@ -1615,6 +1615,20 @@
+ sccsdiff: sccsdiff.sh
+         sed -e 's:__csscutildir__:$(csscutildir):g' &lt; sccsdiff.sh &gt; $@ &amp;&amp; chmod a+x $@ || { rm -f $@; false; }

++check-include-order:
++        rv=0; \
++        for f in $(srcdir)/*.cc; \
++        do \
++                msg=&quot;`sed -n -f $(top_srcdir)/auxfiles/firstinclude.sed &lt; $$f`&quot;; \
++                if test -n &quot;$${msg}&quot;; \
++                then \
++                        set -- $${msg} ; line=$${1} ; shift; errmsg=&quot;$${*}&quot;; \
++                        echo &quot;$${f}:$${line}:$${errmsg}&quot; &gt;&amp;2; \
++                        rv=1; \
++                fi \
++        done; \
++        exit $${rv}
++
+ testsplit$(EXEEXT): fnsplit.cc mystring.$(OBJEXT) quit.$(OBJEXT)
+         $(CXXCOMPILE) -DTEST_FNSPLIT -o testsplit$(EXEEXT) \
+                 $(srcdir)/fnsplit.cc mystring.$(OBJEXT) quit.$(OBJEXT)
+--- src/admin.cc
++++ src/admin.cc
+@@ -23,6 +23,8 @@
+  * Administer and create SCCS files.
+  *
+  */
++#include &lt;config.h&gt;
++
+ #include &lt;errno.h&gt;

+ #include &quot;cssc.h&quot;
+--- src/bodyio.cc
++++ src/bodyio.cc
+@@ -23,6 +23,12 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &lt;cstdio&gt;
++#include &lt;cstring&gt;
++
++#include &quot;cssc.h&quot;
+ #include &quot;bodyio.h&quot;
+ #include &quot;quit.h&quot;
+ #include &quot;cssc-assert.h&quot;
+@@ -32,9 +38,6 @@
+ #include &quot;ioerr.h&quot;
+ #include &quot;file.h&quot;

+-#include &lt;cstdio&gt;
+-#include &lt;cstring&gt;
+-
+ /* Check if we have exceeded the maximum line length.
+  */
+ static bool check_line_len(const char *iname,
+--- src/cap.cc
++++ src/cap.cc
+@@ -23,6 +23,8 @@
+  * Utilities for limiting output to the constraints of the file format.
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;


+--- src/cdc.cc
++++ src/cdc.cc
+@@ -23,6 +23,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;my-getopt.h&quot;
+ #include &quot;fileiter.h&quot;
+--- src/delta-iterator.cc
++++ src/delta-iterator.cc
+@@ -25,6 +25,9 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &quot;cssc.h&quot;
+ #include &quot;delta-iterator.h&quot;
+ #include &quot;delta-table.h&quot;
+ #include &quot;cssc-assert.h&quot;
+--- src/delta-table.cc
++++ src/delta-table.cc
+@@ -22,6 +22,9 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &quot;cssc.h&quot;
+ #include &quot;delta-table.h&quot;
+ #include &quot;delta-iterator.h&quot;

+--- src/delta.cc
++++ src/delta.cc
+@@ -24,6 +24,10 @@
+  *
+  */

++
++#include &lt;config.h&gt;
++
++#include &quot;cssc.h&quot;
+ #include &quot;delta.h&quot;
+ #include &quot;cleanup.h&quot;
+ #include &quot;my-getopt.h&quot;
+--- src/dtbl-prepend.cc
++++ src/dtbl-prepend.cc
+@@ -24,6 +24,9 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &quot;cssc.h&quot;
+ #include &quot;delta-table.h&quot;


+--- src/encoding.cc
++++ src/encoding.cc
+@@ -25,6 +25,9 @@
+  * Compile on its own, defining TEST_CODE, to compile a test program.
+  */

++#include &lt;config.h&gt;
++
++#include &quot;cssc.h&quot;
+ #include &quot;bodyio.h&quot;
+ #include &quot;cssc-assert.h&quot;

+--- src/environment.cc
++++ src/environment.cc
+@@ -22,15 +22,15 @@
+  * sections &quot;Environment&quot; and &quot;Interoperability&quot; in the CSSC manual.
+  *
+  */
++#include &quot;config.h&quot;
++
++#include &lt;cerrno&gt;
++#include &lt;cstdio&gt;
+ #include &lt;cstdlib&gt;
+ #include &lt;cstring&gt;
+-#include &lt;cstdio&gt;
+-#include &lt;cerrno&gt;
+-
+-#include &quot;cssc.h&quot;
+-
+ #include &lt;limits.h&gt;

++#include &quot;cssc.h&quot;

+ bool binary_file_creation_allowed (void)
+ {
+--- src/fatalsig.cc
++++ src/fatalsig.cc
+@@ -22,14 +22,15 @@
+  * Handle fatal signals...
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;cstdlib&gt;
++#include &lt;signal.h&gt;             /* TODO: consider using sigaction(). */

++#include &quot;cssc-assert.h&quot;
+ #include &quot;cssc.h&quot;
+-#include &quot;version.h&quot;
+ #include &quot;quit.h&quot;
+-
+-#include &lt;signal.h&gt;             /* TODO: consider using sigaction(). */
+-#include &quot;cssc-assert.h&quot;
++#include &quot;version.h&quot;


+ /* The expansion of RETSIGTYPE is automatically decided by the configure
+--- src/fdclosed.cc
++++ src/fdclosed.cc
+@@ -31,13 +31,14 @@
+  * the file pointer on our file too).
+  */

+-#include &quot;cssc.h&quot;
+-#include &quot;sysdep.h&quot;
+-#include &quot;defaults.h&quot;                // CONFIG_NULL_FILENAME
++#include &lt;config.h&gt;

+ #include &lt;unistd.h&gt;
+ #include &lt;stdio.h&gt;                /* perror() */

++#include &quot;cssc.h&quot;
++#include &quot;sysdep.h&quot;
++#include &quot;defaults.h&quot;                // CONFIG_NULL_FILENAME

+ class SafeFdCheck
+ {
+--- src/file.cc
++++ src/file.cc
+@@ -23,19 +23,22 @@
+  * System dependent routines for accessing files.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;errno.h&gt;
++#include &lt;sys/types.h&gt;
++#include &lt;sys/stat.h&gt;
++#include &lt;unistd.h&gt;
++#include &lt;stdio.h&gt;
++#include &lt;stdlib.h&gt;

+-#include &quot;cssc.h&quot;
++#include &quot;cssc.h&quot;                /* for CONFIG_CAN_HARD_LINK_AN_OPEN_FILE */
+ #include &quot;cssc-assert.h&quot;
+ #include &quot;sysdep.h&quot;
+ #include &quot;file.h&quot;
+ #include &quot;quit.h&quot;
+ #include &quot;ioerr.h&quot;
+ #include &quot;defaults.h&quot;
+-
+-#include &lt;unistd.h&gt;
+-#include &lt;sys/stat.h&gt;
+-#include &lt;stdio.h&gt;
+ #include &quot;dirent-safer.h&quot;

+ /* Redirects stdout to a &quot;null&quot; file (eg. /dev/null). */
+@@ -152,14 +155,14 @@



++static int unprivileged = 0;
++
+ #ifdef CONFIG_UIDS

+ /* A flag to indicate whether or not the programme is an privileged
+    (effective UID != real UID) or unprivileged (effective UID == real
+    UID). */

+-static int unprivileged = 0;
+-
+ #ifdef SAVED_IDS_OK

+ static uid_t old_euid;
+--- src/file.h
++++ src/file.h
+@@ -33,6 +33,7 @@
+ #include &lt;sys/types.h&gt;

+ #include &quot;filelock.h&quot;
++#include &quot;mystring.h&quot;

+ enum create_mode {
+         CREATE_EXCLUSIVE     =  001,
+--- src/filelock.h
++++ src/filelock.h
+@@ -28,6 +28,7 @@
+ #define CSSC__FILELOCK_H__

+ #include &quot;cleanup.h&quot;
++#include &quot;mystring.h&quot;

+ class file_lock : private cleanup {
+         int locked;
+--- src/fnsplit.cc
++++ src/fnsplit.cc
+@@ -20,6 +20,8 @@
+  * Functions for canonifying filenames.
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;mystring.h&quot;
+ #include &quot;file.h&quot;                // declaration of split_filename.
+--- src/get.cc
++++ src/get.cc
+@@ -23,6 +23,8 @@
+  * Extract a requested delta from a SCCS file.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;errno.h&gt;

+ #include &quot;cssc.h&quot;
+--- src/l-split.cc
++++ src/l-split.cc
+@@ -24,6 +24,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;mylist.h&quot;
+ #include &quot;sccsfile.h&quot;                // declares these functions.
+--- src/linebuf.cc
++++ src/linebuf.cc
+@@ -23,6 +23,8 @@
+  * Members of the class cssc_linebuf.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;cstdio&gt;
+ #include &lt;cstring&gt;
+ #include &lt;climits&gt;
+--- src/pf-add.cc
++++ src/pf-add.cc
+@@ -23,6 +23,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;pfile.h&quot;
+ #include &quot;except.h&quot;
+--- src/pf-del.cc
++++ src/pf-del.cc
+@@ -24,6 +24,8 @@
+  * a p-file.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;utility&gt;

+ #include &quot;cssc.h&quot;
+--- src/pfile.cc
++++ src/pfile.cc
+@@ -23,6 +23,8 @@
+  * Common members of the class sccs_pfile.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;errno.h&gt;

+ #include &quot;cssc.h&quot;
+--- src/prompt.cc
++++ src/prompt.cc
+@@ -24,6 +24,8 @@
+  *
+  */

++#include &quot;config.h&quot;
++
+ #include &lt;cstdio&gt;
+ #include &lt;cstring&gt;
+ #include &lt;cstdio&gt;
+--- src/prs.cc
++++ src/prs.cc
+@@ -24,6 +24,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;fileiter.h&quot;
+ #include &quot;sccsfile.h&quot;
+--- src/prt.cc
++++ src/prt.cc
+@@ -26,6 +26,7 @@
+  */


++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;fileiter.h&quot;
+ #include &quot;sccsfile.h&quot;
+--- src/quit.cc
++++ src/quit.cc
+@@ -23,6 +23,8 @@
+  * Functions for cleaning up and quitting.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;cstdio&gt;
+ #include &lt;cstring&gt;
+ #include &lt;cerrno&gt;
+--- src/rel_list.cc
++++ src/rel_list.cc
+@@ -20,6 +20,7 @@
+  * placed in the Public Domain.
+  *
+  */
++#include &quot;config.h&quot;
+ #include &lt;cstdlib&gt;

+ #include &quot;cssc.h&quot;
+--- src/rl-merge.cc
++++ src/rl-merge.cc
+@@ -22,6 +22,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;rel_list.h&quot;

+--- src/rmdel.cc
++++ src/rmdel.cc
+@@ -25,6 +25,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;fileiter.h&quot;
+ #include &quot;sccsfile.h&quot;
+--- src/run.cc
++++ src/run.cc
+@@ -24,6 +24,8 @@
+  * Routines for running programmes.
+  *
+  */
++#include &quot;config.h&quot;
++
+ #include &lt;cstdio&gt;
+ #include &lt;errno.h&gt;

+--- src/sact.cc
++++ src/sact.cc
+@@ -25,6 +25,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;fileiter.h&quot;
+ #include &quot;pfile.h&quot;
+--- src/sccs-delta.cc
++++ src/sccs-delta.cc
+@@ -25,6 +25,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
+--- src/sccsdate.cc
++++ src/sccsdate.cc
+@@ -24,6 +24,7 @@
+  * Members of the class sccs_date.
+  *
+  */
++#include &lt;config.h&gt;
+ #include &lt;cstring&gt;

+ #include &quot;cssc.h&quot;
+--- src/sccsfile.cc
++++ src/sccsfile.cc
+@@ -25,6 +25,7 @@
+  * the members in this file are used to read from the SCCS file.
+  *
+  */
++#include &lt;config.h&gt;
+ #include &lt;errno.h&gt;

+ #include &quot;cssc.h&quot;
+--- src/sccsname.cc
++++ src/sccsname.cc
+@@ -25,6 +25,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsname.h&quot;
+ #include &quot;cssc-assert.h&quot;
+--- src/seqstate.cc
++++ src/seqstate.cc
+@@ -21,6 +21,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;seqstate.h&quot;

+--- src/sf-add.cc
++++ src/sf-add.cc
+@@ -26,6 +26,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
+--- src/sf-admin.cc
++++ src/sf-admin.cc
+@@ -26,6 +26,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;sl-merge.h&quot;
+--- src/sf-cdc.cc
++++ src/sf-cdc.cc
+@@ -26,6 +26,7 @@
+  *
+  */

++#include &lt;config.h&gt;
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
+--- src/sf-chkid.cc
++++ src/sf-chkid.cc
+@@ -23,13 +23,15 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &lt;string.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;linebuf.h&quot;
+ #include &quot;bodyio.h&quot;

+-#include &lt;string.h&gt;
+-
+ bool
+ is_id_keyword_letter(char ch)
+ {
+--- src/sf-delta.cc
++++ src/sf-delta.cc
+@@ -25,7 +25,10 @@
+  * Members of sccs_file for adding a delta to the SCCS file.
+  *
+  */
++#include &lt;config.h&gt;
++
+ #include &lt;errno.h&gt;
++#include &lt;unistd.h&gt;

+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+@@ -43,9 +46,6 @@

+ #undef JAY_DEBUG

+-#include &lt;unistd.h&gt;
+-
+-

+ class diff_state
+ {
+--- src/sf-get.cc
++++ src/sf-get.cc
+@@ -26,6 +26,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;pfile.h&quot;
+--- src/sf-get2.cc
++++ src/sf-get2.cc
+@@ -25,6 +25,10 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &lt;ctype.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;pfile.h&quot;
+@@ -33,8 +37,6 @@
+ #include &quot;delta-table.h&quot;


+-#include &lt;ctype.h&gt;
+-
+ bool sccs_file::sid_matches(const sid&amp; requested,
+                             const sid&amp; found,
+                             bool get_top_delta) const
+--- src/sf-get3.cc
++++ src/sf-get3.cc
+@@ -25,6 +25,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;seqstate.h&quot;
+--- src/sf-kw.cc
++++ src/sf-kw.cc
+@@ -21,6 +21,8 @@
+  * sccs_file::no_id_keywords()
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;except.h&quot;
+--- src/sf-prs.cc
++++ src/sf-prs.cc
+@@ -27,6 +27,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;seqstate.h&quot;
+--- src/sf-prt.cc
++++ src/sf-prt.cc
+@@ -24,6 +24,8 @@
+  */


++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;seqstate.h&quot;
+--- src/sf-rmdel.cc
++++ src/sf-rmdel.cc
+@@ -26,6 +26,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
+--- src/sf-val.cc
++++ src/sf-val.cc
+@@ -22,7 +22,10 @@
+  * Members of class sccs_file used by &quot;val&quot;.
+  *
+  */
++#include &lt;config.h&gt;
++
+ #include &lt;vector&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
+--- src/sf-write.cc
++++ src/sf-write.cc
+@@ -26,6 +26,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
+--- src/sid.cc
++++ src/sid.cc
+@@ -25,12 +25,14 @@
+  *
+  */

++#include &lt;config.h&gt;
++
++#include &lt;ctype.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sid.h&quot;
+ #include &quot;ioerr.h&quot;

+-#include &lt;ctype.h&gt;
+-
+ mystring sid::as_string() const
+ {
+   char buf[32];
+--- src/unget.cc
++++ src/unget.cc
+@@ -25,6 +25,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;fileiter.h&quot;
+ #include &quot;pfile.h&quot;
+--- src/val.cc
++++ src/val.cc
+@@ -21,6 +21,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;fileiter.h&quot;
+ #include &quot;sccsfile.h&quot;
+--- src/writesubst.cc
++++ src/writesubst.cc
+@@ -22,6 +22,8 @@
+  *
+  */

++#include &lt;config.h&gt;
++
+ #include &quot;cssc.h&quot;
+ #include &quot;sccsfile.h&quot;
+ #include &quot;delta.h&quot;
</ins></span></pre></div>
<a id="trunkdportsdevelcsscfilespatchsrcversionccindiff"></a>
<div class="addfile"><h4>Added: trunk/dports/devel/cssc/files/patch-src-version.cc.in.diff (0 => 126199)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/cssc/files/patch-src-version.cc.in.diff                                (rev 0)
+++ trunk/dports/devel/cssc/files/patch-src-version.cc.in.diff        2014-10-05 07:59:46 UTC (rev 126199)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+--- src/version.cc.in.orig        2010-05-13 18:36:33.000000000 -0500
++++ src/version.cc.in        2014-10-05 02:45:17.000000000 -0500
+@@ -1,3 +1,4 @@
++#include &quot;config.h&quot;
+ #include &lt;stdio.h&gt;
+ #include &quot;version.h&quot;

</ins></span></pre>
</div>
</div>

</body>
</html>