<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cd2c9d0da801a359f456efc50a3aeeaf6dd86596">https://github.com/macports/macports-ports/commit/cd2c9d0da801a359f456efc50a3aeeaf6dd86596</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cd2c9d0da801a359f456efc50a3aeeaf6dd86596
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat Oct 8 05:16:52 2022 +0800
<span style='display:block; white-space:pre;color:#404040;'> ragel: update to 7.0.4
</span>---
lang/ragel/Portfile | 39 ++++++++++++++++++++++++++---------
lang/ragel/files/patch-lafiles.diff | 41 +++++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ragel/Portfile b/lang/ragel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f093a29ef44..919a7f9a8ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ragel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ragel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,12 +1,13 @@
</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:#ffe0e0;'>-name ragel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 7.0.0.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Please keep commit-based set-up until next release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup adrian-thurston ragel d4577c924451b331c73c8ed0af04f6efd35ac0b4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 7.0.4
</span> revision 0
categories lang devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license MIT
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,14 +22,32 @@ long_description Ragel compiles executable finite state machines from \
</span> language.
homepage http://www.colm.net/open-source/ragel/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://www.colm.net/files/ragel/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 39f37e804b9cc8b5a117350a5643791458c2b2b3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3999ef97fb108b39d11d9b96986f5e05c74bd95de8dd474301d86c5aca887a74 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1543127
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 838fb6f2803e7c166f2a98ec4de8eaf9f0c9ad19 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2208c0e2a4ec575f1e8bf27a0563f0bbf4afb3a28a97bed01c2376f1d75759a0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 455645
</span>
depends_lib-append port:colm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {ragel-(\d+(?:\.\d+)*).tar.gz}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-lafiles.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoconf.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-colm=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -L${prefix}/lib -lfsm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Rosetta gets it wrong otherwise
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --build=powerpc-apple-darwin${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ragel/files/patch-lafiles.diff b/lang/ragel/files/patch-lafiles.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7fff726a028
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ragel/files/patch-lafiles.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,41 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/adrian-thurston/ragel/pull/85
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2021-12-29 04:19:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2022-10-08 06:19:57.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -47,13 +47,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS="-I$withval/include ${CPPFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS="-I$withval/include/aapl ${CPPFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="-L$withval/lib ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBCOLM_LA="$withval/lib/libcolm.la"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBFSM_LA="$withval/lib/libfsm.la"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COLM_SHARE="$withval/share/colm"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ []
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_LIB(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [colm],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [colm_run_program],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [LIBCOLM_LA=-lcolm],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [AC_ERROR([libcolm is required to build ragel])]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_CHECK_LIB(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [fsm],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [LIBFSM_LA=-lfsm],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [AC_ERROR([libfsm is required to build ragel])]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_FILES(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [$COLM],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makefile.am.orig 2021-12-29 04:19:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makefile.am 2022-10-08 06:05:53.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -40,7 +40,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parse.c rlreduce.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ragel_LDADD = $(LIBFSM_LA) $(LIBCOLM_LA) libragel.la
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-ragel_DEPENDENCIES = $(LIBFSM_LA) $(LIBCOLM_LA) libragel.la
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BUILT_SOURCES = \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version.h \
</span></pre><pre style='margin:0'>
</pre>