<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cd25e60916e52a31e3b2ff23addeb45cefff5832">https://github.com/macports/macports-ports/commit/cd25e60916e52a31e3b2ff23addeb45cefff5832</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cd25e60916e52a31e3b2ff23addeb45cefff5832
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Wed Nov 18 10:50:03 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> arc: fix implicit function declarations
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Cleanup MacPorts < 2.6.0 handling
</span>---
archivers/arc/Portfile | 9 +--------
archivers/arc/files/{patch-marc.c => patch-marc.c.diff} | 12 +++++++-----
2 files changed, 8 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/arc/Portfile b/archivers/arc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a3d1d3d6863..938064e2522 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/arc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/arc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,22 +20,15 @@ patchfiles patch-gcc-warnings.diff \
</span> patch-Makefile.diff \
patch-man-spelling.diff \
patch-manpage-section.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-marc.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-marc.c.diff
</span>
use_configure no
variant universal {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[vercmp [macports_version] 2.5.99] >= 0} {
</span> build.env-append "CC=${configure.cc} [get_canonical_archflags cc]" \
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" \
PREFIX=${prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS='${configure.cflags} [get_canonical_archflags cc]' \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS='${configure.ldflags} [get_canonical_archflags ld]' \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PREFIX='${prefix}'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span>
destroot {
xinstall -W ${worksrcpath} ${name} m${name} ${destroot}${prefix}/bin
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/arc/files/patch-marc.c b/archivers/arc/files/patch-marc.c.diff
</span>similarity index 50%
rename from archivers/arc/files/patch-marc.c
rename to archivers/arc/files/patch-marc.c.diff
<span style='display:block; white-space:pre;color:#808080;'>index 7e1ddf730a1..d575c4f6ea0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/arc/files/patch-marc.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/arc/files/patch-marc.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +1,20 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- marc.c.orig 2007-04-11 11:52:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ marc.c 2007-04-11 11:53:14.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -53,7 +53,6 @@ main(nargs,arg) /* system entry
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- marc.c.orig 2010-08-07 08:06:42.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ marc.c 2020-11-18 14:44:43.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -54,7 +54,7 @@ main(nargs,arg) /* system entry
</span> int nargs; /* number of arguments */
char *arg[]; /* pointers to arguments */
{
- char *makefnam();
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *makefnam(char *rawfn, char *template, char *result);
</span> char *envfind();
#if !_MTS
<span style='display:block; white-space:pre;background:#ffe0e0;'>- char *arctemp2, *mktemp(); /* temp file stuff */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -319,7 +318,6 @@ int n; /* number of entry to e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *arctemp2; /* temp file stuff */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -326,7 +326,7 @@ int n; /* number of entry to e
</span> char buf[100]; /* input buffer */
int x; /* index */
char *p = lst[n]+1; /* filename pointer */
- char *makefnam();
<span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *makefnam(char *rawfn, char *template, char *result);
</span>
if(*p) /* use name if one was given */
{ makefnam(p,".CMD",buf);
</pre><pre style='margin:0'>
</pre>