<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/56ed4a879db546c812e3fc1f9e9b4046165dd07c">https://github.com/macports/macports-ports/commit/56ed4a879db546c812e3fc1f9e9b4046165dd07c</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 56ed4a879db notcurses: update to 3.0.9, fix build, fix tests
</span>56ed4a879db is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 56ed4a879db546c812e3fc1f9e9b4046165dd07c
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Aug 6 13:39:00 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> notcurses: update to 3.0.9, fix build, fix tests
</span>---
devel/notcurses/Portfile | 25 ++++++++++++++--------
...ypes.h-needs-__STDC_FORMAT_MACROS-defined.patch | 23 ++++++++++++++++++++
2 files changed, 39 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/notcurses/Portfile b/devel/notcurses/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 86b58ea516e..d122a4963b0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/notcurses/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/notcurses/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,12 +5,11 @@ PortGroup cmake 1.1
</span> PortGroup github 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup dankamongmen notcurses 3.0.7 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup dankamongmen notcurses 3.0.9 v
</span> github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license Apache-2
maintainers {linux.com:nickblack @dankamongmen} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,13 +26,13 @@ master_sites-append https://github.com/dankamongmen/${name}/releases/download/v$
</span> distfiles-append ${name}-doc-${version}${extract.suffix}:bootstrap
checksums ${distname}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 78c32c968f584f6c23408f3e33534012cca075d2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 db461c6ba07a8e3735a51a1d2e706d249ae30436519f543fa5931d414019c770 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 10145650 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 05b4d9bef689fe9348245c27edd23cd7c5524055 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e5cc02aea82814b843cdf34dedd716e6e1e9ca440cf0f899853ca95e241bd734 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 10148050 \
</span> ${name}-doc-${version}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 6701964c921bbdb7cf978650354f4092be89e383 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 51e46198d02f45d302ac7b2ebc9c0f1391cf37f329bd5aa3857c9ccde5f3dac1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 149228
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 f00189a7b7859e829c8471b3eb045cdb6c7072f7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a40d7d5c4b948e3423bfdfc24b1c10a823dee146540ab7da03e932b80c161432 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 162750
</span>
extract.only ${distname}${extract.suffix}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,6 +47,9 @@ post-extract {
</span> # requires clock_gettime()
legacysupport.newest_darwin_requires_legacy 15
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/dankamongmen/notcurses/pull/2724
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append 0001-inttypes.h-needs-__STDC_FORMAT_MACROS-defined.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 2011
compiler.cxx_standard \
2017
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,4 +74,9 @@ post-destroot {
</span> ${destroot}${prefix}/share/man/man3
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# dyld: Library not loaded: @rpath/libnotcurses++.3.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pre_args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/notcurses/files/0001-inttypes.h-needs-__STDC_FORMAT_MACROS-defined.patch b/devel/notcurses/files/0001-inttypes.h-needs-__STDC_FORMAT_MACROS-defined.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..048b2ced6c6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/notcurses/files/0001-inttypes.h-needs-__STDC_FORMAT_MACROS-defined.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 164a86eaa1adc4a8b8f62322f9ae78bf1977bbc0 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: barracuda156 <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 6 Aug 2023 13:33:21 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] inttypes.h needs __STDC_FORMAT_MACROS defined
</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/lib/internal.h | 3 +++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 3 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/lib/internal.h src/lib/internal.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index fc304fd4d..cb6174128 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/lib/internal.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/lib/internal.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -35,6 +35,9 @@ extern "C" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <wctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pthread.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdbool.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <unictype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef __MINGW32__
</span></pre><pre style='margin:0'>
</pre>