<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b7c80ff151f103c2b39ae453e798c2a0d5e6e551">https://github.com/macports/macports-ports/commit/b7c80ff151f103c2b39ae453e798c2a0d5e6e551</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 b7c80ff151f scriptix: fix broken build (#15921)
</span>b7c80ff151f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b7c80ff151f103c2b39ae453e798c2a0d5e6e551
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon May 29 08:16:56 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> scriptix: fix broken build (#15921)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/Papierkorb/bindgen/issues/77
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/ivmai/bdwgc/issues/268
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65727
</span>---
devel/scriptix/Portfile | 51 +++++++++++++++++-----
.../{patch-Makefile.am => patch-Makefile.am.diff} | 0
.../{patch-Makefile.in => patch-Makefile.in.diff} | 0
devel/scriptix/files/patch-missing-headers.diff | 10 +++++
4 files changed, 50 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/scriptix/Portfile b/devel/scriptix/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a96858ea2af..19e819805c9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/scriptix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/scriptix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,23 +1,52 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span>
name scriptix
version 0.31
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories devel
license BSD
maintainers nomaintainer
description scripting system coded in C++
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Scriptix is a scripting system coded in C++, designed solely \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for embedding in other C++ applications. Scriptix doesn't \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pretend to be a stand-alone language.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.awemud.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Scriptix is a scripting system coded in C++, designed solely \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for embedding in other C++ applications. Scriptix doesn't \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pretend to be a stand-alone language.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://sourceforge.net/projects/awemud/
</span> master_sites sourceforge:awemud
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 62cfa278d9580d17bedce9d67365cc93
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6286fdffaf324d0f754340d921bb191f9dd8c82c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2b38ca0cad98f3794b9460ea1ee3f6f57ce3fd225a2854f32ad50eab6f403c47 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 386220
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib port:boehmgc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.am patch-Makefile.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.am.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-Makefile.in.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-missing-headers.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s|shrext_cmds|shrext|g ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s|shrext_cmds|shrext|g ${worksrcpath}/configure
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 10 && ${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Newer gcc and clang fail to build it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # apple-gcc-4.2 builds through 10.11.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:apple-gcc42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.compiler apple-gcc-4.2
</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;'>+ if {${os.major} > 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ known_fail yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} requires MacOS 10.11 or earlier"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS version"
</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> configure.args --with-gc=${prefix}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See: https://github.com/ivmai/bdwgc/issues/268
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -lgccpp
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/scriptix/files/patch-Makefile.am b/devel/scriptix/files/patch-Makefile.am.diff
</span>similarity index 100%
rename from devel/scriptix/files/patch-Makefile.am
rename to devel/scriptix/files/patch-Makefile.am.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/scriptix/files/patch-Makefile.in b/devel/scriptix/files/patch-Makefile.in.diff
</span>similarity index 100%
rename from devel/scriptix/files/patch-Makefile.in
rename to devel/scriptix/files/patch-Makefile.in.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/scriptix/files/patch-missing-headers.diff b/devel/scriptix/files/patch-missing-headers.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c30ab7298d0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/scriptix/files/patch-missing-headers.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/string.cc.orig 2005-11-13 13:11:17.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/string.cc 2023-05-29 07:24:40.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <iostream>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cstring>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "scriptix.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "system.h"
</span></pre><pre style='margin:0'>
</pre>