<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/0db5a2243c326772ac80a2312883abd965c5f6d1">https://github.com/macports/macports-ports/commit/0db5a2243c326772ac80a2312883abd965c5f6d1</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 0db5a2243c3 libcommuni: new port in devel
</span>0db5a2243c3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0db5a2243c326772ac80a2312883abd965c5f6d1
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Jul 2 02:32:10 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> libcommuni: new port in devel
</span>---
devel/libcommuni/Portfile | 42 +++++++++++++++++++++++++++
devel/libcommuni/files/patch-irccore_p.h.diff | 11 +++++++
2 files changed, 53 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libcommuni/Portfile b/devel/libcommuni/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..12c29fd2568
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libcommuni/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup qmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Please do not upgrade unless these are fixed:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/communi/libcommuni/issues/117
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/communi/libcommuni/issues/118
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup communi libcommuni 3.6.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel net irc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Cross-platform IRC framework for Qt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://communi.github.io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e689974400c25446a94280e5805f14f88a49c37e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c598e4ec23211f58bcb8dd3a9905a45d38c02f4c5c17cfc27cf724cd7b3edb9c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 472634
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:qt4-mac \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:uchardet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# For w/e reason, clang pre-processor cannot handle this:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-irccore_p.h.diff
</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;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${qt_lrelease_cmd} ${name}.pro"
</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;'>+# Install normal dylibs:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -config qt_no_framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libcommuni/files/patch-irccore_p.h.diff b/devel/libcommuni/files/patch-irccore_p.h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..551004f1a47
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libcommuni/files/patch-irccore_p.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- include/IrcCore/irccore_p.h.orig 2020-10-30 04:02:01.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ include/IrcCore/irccore_p.h 2023-07-01 20:26:25.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -70,7 +70,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef Q_FALLTHROUGH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# if (defined(Q_CC_GNU) && Q_CC_GNU >= 700) && !defined(Q_CC_INTEL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if (defined(Q_CC_GNU) && !defined(Q_CC_INTEL))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define Q_FALLTHROUGH() __attribute__((fallthrough))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define Q_FALLTHROUGH() (void)0
</span></pre><pre style='margin:0'>
</pre>