<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8fa8309d92f3f021387c3819592e6ba5fad5e6d2">https://github.com/macports/macports-ports/commit/8fa8309d92f3f021387c3819592e6ba5fad5e6d2</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 8fa8309d92f catgirl: update to 2.2a
</span>8fa8309d92f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8fa8309d92f3f021387c3819592e6ba5fad5e6d2
</span>Author: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
AuthorDate: Sun Aug 4 07:34:12 2024 +0300
<span style='display:block; white-space:pre;color:#404040;'> catgirl: update to 2.2a
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * fix build on macOS <10.9
</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/67214
</span>---
net/catgirl/Portfile | 25 +++++++++++++++----------
net/catgirl/files/patch-explicit-bzero.diff | 23 +++++++++++++++++++++++
2 files changed, 38 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/catgirl/Portfile b/net/catgirl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea8fd84d341..ec0486003f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/catgirl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/catgirl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,12 @@ PortSystem 1.0
</span> PortGroup legacysupport 1.1
PortGroup makefile 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# getline
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> name catgirl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.2a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories net
license GPL-3+
license_noconflict openssl libressl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +26,16 @@ long_description catgirl is a TLS-only terminal IRC client. Its features \
</span> homepage https://git.causal.agency/catgirl/
master_sites ${homepage}snapshot/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b546d4a2aa4ce62b77f558350d26a54d4ed57e9a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fb6d04a099303af05d278c705c1542e7ee61643c030d6a0b68dec5371080a3c7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 69835
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 77a6187f371f9d181a1dd94ab0524564a1bd1a12 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c6d760aaee134e052586def7a9103543f7281fde6531fbcb41086470794297c2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 69660
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/67214
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Modern explicit_bzero uses memset_s, which is not
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# available on macOS <10.9.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-explicit-bzero.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
depends_build port:pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,11 +49,6 @@ configure.post_args --enable-sandman \
</span> --prefix=${prefix} \
--mandir=${prefix}/share/man
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# FIXME: needs an implementation of memset_s:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/67214
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See also:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/66087
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
test.target check
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/catgirl/files/patch-explicit-bzero.diff b/net/catgirl/files/patch-explicit-bzero.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..56a47065ccf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/catgirl/files/patch-explicit-bzero.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Copied from https://github.com/ansemjo/tinyssh-convert/blob/9028c16d99c6ab36aa3e51ac4f3c0b505ebfdff5/utilities.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- chat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ chat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -460,3 +460,7 @@ int getopt_config(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int argc, char *const *argv,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char *optstring, const struct option *longopts, int *longindex
</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;'>++/* volatile memset to try & avoid optmising it away */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static void * (* const volatile volatile_memset)(void *, int, size_t) = memset;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define memzero(ptr, size) volatile_memset(ptr, 0, size)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -49,8 +49,7 @@ case "$(uname)" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo 'OBJS += compat_readpassphrase.o'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cflags -D__STDC_WANT_LIB_EXT1__=1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cflags "-D'explicit_bzero(b,l)=memset_s((b),(l),0,(l))'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cflags "-D'explicit_bzero(b,l)=memzero((b),(l))'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ config libtls ncursesw
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ defvar OPENSSL_BIN openssl exec_prefix /bin/openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span></pre><pre style='margin:0'>
</pre>