<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b79a1f7228f2aba7b72ae2d812963d23acf30678">https://github.com/macports/macports-ports/commit/b79a1f7228f2aba7b72ae2d812963d23acf30678</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 b79a1f7 New port ucommon, replaces commoncpp2
</span>b79a1f7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b79a1f7228f2aba7b72ae2d812963d23acf30678
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed May 22 17:17:31 2019 +1000
<span style='display:block; white-space:pre;color:#404040;'> New port ucommon, replaces commoncpp2
</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/51874
</span>---
devel/commoncpp2/Portfile | 24 +++---------------------
devel/commoncpp2/files/patch-src_applog.cpp | 11 -----------
devel/{commoncpp2 => ucommon}/Portfile | 21 +++++++++------------
devel/ucommon/files/thread.cpp.patch | 28 ++++++++++++++++++++++++++++
4 files changed, 40 insertions(+), 44 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/commoncpp2/Portfile b/devel/commoncpp2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 83d5ba5..2027a74 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/commoncpp2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/commoncpp2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,31 +1,13 @@
</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 obsolete 1.0
</span>
name commoncpp2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by ucommon
</span> version 1.8.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel
license GPL-2+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description GNU Common C++ 2 Framework
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description C++ framework offering portable support for threading, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sockets, file access, daemons, persistence, serial I/O, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- XML parsing, and system services.
</span>
homepage https://www.gnu.org/software/commoncpp/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites gnu:commonc++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 4804b184e609154ba2bc0aa9f61dc6ef \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 0d5cec0493944b922f0f44618facec9f236862fb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 af613320ec9572d590127f854dc40a9b5240ae16
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libxml2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src_applog.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --infodir=${prefix}/share/info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.distname ${name}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/commoncpp2/files/patch-src_applog.cpp b/devel/commoncpp2/files/patch-src_applog.cpp
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 2b15057..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/commoncpp2/files/patch-src_applog.cpp
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/applog.cpp.orig 2010-11-01 10:11:55.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/applog.cpp 2011-03-01 06:37:36.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -45,6 +45,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <cstdlib>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdarg.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <errno.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // TODO sc: test if has to move up now that it is into commoncpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // NOTE: the order of inclusion is important do not move following include line
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/commoncpp2/Portfile b/devel/ucommon/Portfile
</span>similarity index 52%
copy from devel/commoncpp2/Portfile
copy to devel/ucommon/Portfile
<span style='display:block; white-space:pre;color:#808080;'>index 83d5ba5..1717f4e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/commoncpp2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ucommon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,30 +2,27 @@
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name commoncpp2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.8.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name ucommon
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 7.0.0
</span> categories devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-3+ {GPL-2+ Permissive}
</span> platforms darwin
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description GNU Common C++ 2 Framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description GNU uCommon C++ Framework
</span>
long_description C++ framework offering portable support for threading, \
sockets, file access, daemons, persistence, serial I/O, \
XML parsing, and system services.
homepage https://www.gnu.org/software/commoncpp/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites gnu:commonc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites gnu:commoncpp
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 4804b184e609154ba2bc0aa9f61dc6ef \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 0d5cec0493944b922f0f44618facec9f236862fb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 af613320ec9572d590127f854dc40a9b5240ae16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7af41f1dc3d965ac165cce56f19164aa18482f24 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6ac9f76c2af010f97e916e4bae1cece341dc64ca28e3881ff4ddc3bc334060d7
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:gettext port:gnutls
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src_applog.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --infodir=${prefix}/share/info
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles thread.cpp.patch
</span>
livecheck.distname ${name}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ucommon/files/thread.cpp.patch b/devel/ucommon/files/thread.cpp.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b0c79a8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ucommon/files/thread.cpp.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,28 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- corelib/thread.cpp.orig 2015-12-13 22:28:25.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ corelib/thread.cpp 2019-05-22 17:04:09.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdarg.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/sysctl.h>
</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;'>+ #if _POSIX_PRIORITY_SCHEDULING > 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sched.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static int realtime_policy = SCHED_FIFO;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1311,9 +1316,10 @@ size_t Thread::cache(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ free(buffer);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return line_size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- size_t line_size = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- size_t sizeof_line_size = sizeof(line_size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sysctlbyname("hw.cachelinesize", &line_size, &sizeof_line_size, 0, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ size_t temp_line_size = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ size_t sizeof_line_size = sizeof(temp_line_size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sysctlbyname("hw.cachelinesize", &temp_line_size, &sizeof_line_size, 0, 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ line_size = temp_line_size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return line_size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(_SC_LEVEL1_DCACHE_LINESIZE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ line_size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE);
</span></pre><pre style='margin:0'>
</pre>