<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a5ec18798c20d620e2aa6f63921aeacc1d469252">https://github.com/macports/macports-ports/commit/a5ec18798c20d620e2aa6f63921aeacc1d469252</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 a5ec18798c2 newsraft: update to 0.24
</span>a5ec18798c2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a5ec18798c20d620e2aa6f63921aeacc1d469252
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun May 26 17:50:48 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> newsraft: update to 0.24
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Co-authored-by: Ryan Carsten Schmidt <ryandesign@macports.org>
</span>---
net/newsraft/Portfile | 24 +++++++++++++++++-------
net/newsraft/files/patch-makefile.diff | 13 +++++++++++++
2 files changed, 30 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/newsraft/Portfile b/net/newsraft/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e10cccf3d6c..38e26be6e16 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/newsraft/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/newsraft/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,12 +1,12 @@
</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 codeberg 1.0
</span> PortGroup legacysupport 1.1
PortGroup makefile 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup codeberg 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-codeberg.setup newsraft newsraft 0.23 newsraft-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+codeberg.setup newsraft newsraft 0.24 newsraft-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories net
license ISC
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,11 +14,12 @@ maintainers {@sikmir disroot.org:sikmir} openmaintainer
</span> description Feed reader for terminal
long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 cca3f1900994a43caad4c8454c2d97061ad1754e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 22c835f56ff84a4aadc86d9e56a5d8e531cc966ff6a1404f0b3f8f1a1a0655dc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 139740
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 be517ee826b23572d53d91404c362d5ac206c35e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1bc072350cee8960880cef0f749922c9474d91c9df467a0645b1632fbddb48f5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 144186
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig
</span>
depends_lib-append port:curl \
port:expat \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,4 +28,13 @@ depends_lib-append port:curl \
</span> port:sqlite3 \
port:yajl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Otherwise linking to LegacySupport is not done,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and build fails on systems where it is needed.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@CFLAGS@|${configure.cflags} [get_canonical_archflags cc]|" ${worksrcpath}/makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@LDFLAGS@|${configure.ldflags} [get_canonical_archflags ld]|" ${worksrcpath}/makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot.args PREFIX=${prefix}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/newsraft/files/patch-makefile.diff b/net/newsraft/files/patch-makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ba04f1173c8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/newsraft/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile 2024-04-01 04:58:47.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile 2024-05-25 09:15:48.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2,8 +2,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .PHONY: all install install-newsraft install-man install-examples man html clean check cppcheck clang-tidy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC = cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS = -O3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDFLAGS =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS = @CFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LDFLAGS = @LDFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CURL_CFLAGS = `pkg-config --cflags libcurl 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CURL_LIBS = `pkg-config --libs libcurl 2>/dev/null || echo '-lcurl'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CURSES_CFLAGS = `pkg-config --cflags ncursesw 2>/dev/null`
</span></pre><pre style='margin:0'>
</pre>