<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/94c08764fc60bd34d8e357c3aa466393ce193089">https://github.com/macports/macports-ports/commit/94c08764fc60bd34d8e357c3aa466393ce193089</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 94c08764fc60bd34d8e357c3aa466393ce193089
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Feb 9 09:16:54 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> libgcrypt: Don't create flat-namespace dylib on Yosemite and later
</span>---
devel/libgcrypt/Portfile | 3 +++
devel/libgcrypt/files/yosemite-libtool.patch | 12 ++++++++++++
2 files changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgcrypt/Portfile b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c0bac99..64b9e51 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup muniversal 1.0
</span>
name libgcrypt
version 1.7.6
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel security
# libs are LGPL, executables and docs are GPL
license {GPL-2+ LGPL-2.1+}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +29,8 @@ checksums rmd160 bc9843aa76a13f3e7ea5ac291717241242d497f0 \
</span>
depends_lib port:libgpg-error
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles yosemite-libtool.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --disable-asm
# Build fix for compilers that default to c99 (clang)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgcrypt/files/yosemite-libtool.patch b/devel/libgcrypt/files/yosemite-libtool.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b5cf24f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgcrypt/files/yosemite-libtool.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2017-01-18 05:41:35.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2017-02-09 09:13:02.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8359,7 +8359,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012][,.]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
</span></pre><pre style='margin:0'>
</pre>