<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5df27d00a78c1ee4e56808f8b2e9435063742d82">https://github.com/macports/macports-ports/commit/5df27d00a78c1ee4e56808f8b2e9435063742d82</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 5df27d00a78 folly: Address some of the build issues on older OSes
</span>5df27d00a78 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5df27d00a78c1ee4e56808f8b2e9435063742d82
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Jun 10 21:26:09 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> folly: Address some of the build issues on older OSes
</span>---
devel/folly/Portfile | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/folly/Portfile b/devel/folly/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b3862944675..cd98557c100 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/folly/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/folly/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,11 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup cmake 1.1
PortGroup boost 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.1
</span>
github.setup facebook folly 2021.06.07.00 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,8 +34,6 @@ checksums rmd160 d5024fce3e2a7fda103284a9ec3a7fda13a3c405 \
</span> sha256 be1ae96ca527d42eeb727a7c3f91f9afe8a4f3fa146f4eccb76f6771cec08f1e \
size 3394796
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#boost.version 1.71
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # doesn't build with libressl as of 2016-09-05
depends_lib-append port:bzip2 \
port:python27 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,6 +49,7 @@ depends_lib-append port:bzip2 \
</span> port:zlib \
port:zstd \
port:libsodium \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libunwind \
</span> port:libfmt
configure.args-append -DBUILD_SHARED_LIBS=ON -DFOLLY_USE_JEMALLOC=0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +57,11 @@ configure.args-append -DBUILD_SHARED_LIBS=ON -DFOLLY_USE_JEMALLOC=0
</span> compiler.cxx_standard 2017
configure.cxxflags-append -std=c++17
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: 'path' is unavailable: introduced in macOS 10.15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {macports-clang-[5-9].0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin {
# https://github.com/facebook/folly/issues/864
if {${os.major} <= 16} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,6 +72,7 @@ platform darwin {
</span> if {${os.major} < 15} {
configure.cxxflags-append -DFOLLY_ALLOW_TFO=0
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -DFOLLY_MOBILE=0
</span> }
variant jemalloc description {Use je_malloc} {
</pre><pre style='margin:0'>
</pre>