<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cfe5796949996f68826572e3ef4b534624eac432">https://github.com/macports/macports-ports/commit/cfe5796949996f68826572e3ef4b534624eac432</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new cfe57969499 libast: Update to 0.8
</span>cfe57969499 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cfe5796949996f68826572e3ef4b534624eac432
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Dec 7 01:37:05 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> libast: Update to 0.8
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Update to 0.8 and fix implicit declaration of functions.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61753
</span>---
devel/libast/Portfile | 22 +++++------
devel/libast/files/implicit.patch | 61 ++++++++++++++++++++++++++++++
devel/libast/files/patch-configure.ac.diff | 17 ---------
3 files changed, 71 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libast/Portfile b/devel/libast/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6bc926b3029..454ccad810e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libast/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libast/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mej libast 0.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 1c560da57516a63f2e600ed19855f97a80f0449a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d4851879c53bd2ef4fe969bcdec6fa9f265db39c6131102a3b59c9c7606f34f0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 254188
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name libast
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span> description LibAST is the Library of Assorted Spiffy Things.
long_description LibAST is the Library of Assorted Spiffy Things. \
It contains manyspiffy things, and it is a library. \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,24 +21,18 @@ categories devel x11
</span> license X11
platforms darwin
homepage http://www.eterm.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}download/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 a9ec3b2da317f35869316e6d9571d296 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 82dedafc23668f0bbecbf09433676d4b31e9e154
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span>
depends_build \
port:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:curl \
</span> port:xorg-libXt \
port:imlib2 \
port:pcre \
port:freetype
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span>
use_autoreconf yes
autoreconf.args -fvi
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libast/files/implicit.patch b/devel/libast/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c6a4250466a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libast/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,61 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/mej/libast/pull/5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libast.m4.orig 2020-02-28 14:20:00.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libast.m4 2020-12-07 01:29:23.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -505,10 +505,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int i;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (i=0; i<7; i++) ovbuf[i]='x';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ snprintf(ovbuf, 4,"foo%s", "bar");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if (ovbuf[5]!='x') exit(1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if (ovbuf[5]!='x') return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ snprintf(ovbuf, 4,"foo%d", 666);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if (ovbuf[5]!='x') exit(1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-exit(0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if (ovbuf[5]!='x') return 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } >>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ changequote([, ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ , dps_cv_snprintf_bug=0, dps_cv_snprintf_bug=1, dps_cv_snprintf_bug=2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -550,10 +550,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char ovbuf[8] = "xxxxxxx";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int i;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prnt(ovbuf, "foo%s", "bar");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (ovbuf[5]!='x') {fprintf(stderr, "buffer: %s\n", ovbuf); exit(1);}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (ovbuf[5]!='x') {fprintf(stderr, "buffer: %s\n", ovbuf); return 1;}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prnt(ovbuf, "foo%d", 666);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (ovbuf[5]!='x') {fprintf(stderr, "buffer: %s\n", ovbuf); exit(1);}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit(0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (ovbuf[5]!='x') {fprintf(stderr, "buffer: %s\n", ovbuf); return 1;}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } >>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ changequote([, ])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ , dps_cv_vsnprintf_bug=0, dps_cv_vsnprintf_bug=1, dps_cv_vsnprintf_bug=2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -651,10 +651,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_TRY_RUN(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ changequote(<<, >>)dnl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* HAVE_STDLIB_H */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef HAVE_SIGNAL_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_SIGNAL_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <signal.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* HAVE_SIGNAL_H */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -699,10 +699,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_TRY_RUN(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ changequote(<<, >>)dnl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* HAVE_STDLIB_H */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef HAVE_SIGNAL_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_SIGNAL_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <signal.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* HAVE_SIGNAL_H */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libast/files/patch-configure.ac.diff b/devel/libast/files/patch-configure.ac.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index f1561e76b1b..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libast/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,17 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.ac.orig 2006-01-16 22:23:49.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure.ac 2014-11-22 06:00:59.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -18,10 +18,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SAVE_AUTOHEADER="$AUTOHEADER"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SAVE_AUTOMAKE="$AUTOMAKE"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--AC_INIT(configure.in)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--AM_INIT_AUTOMAKE(libast, 0.7)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_INIT([LibAST], [0.7])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CONFIG_SRCDIR([configure.ac])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AM_INIT_AUTOMAKE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--AM_CONFIG_HEADER(config.h include/libast/sysdefs.h)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CONFIG_HEADERS([config.h include/libast/sysdefs.h])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LIBTOOLIZE="${SAVE_LIBTOOLIZE:-libtoolize}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ACLOCAL="${SAVE_ACLOCAL:-aclocal}"
</span></pre><pre style='margin:0'>
</pre>