<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/046efe5f4567153d22d847c21b43f55e1fac0ffa">https://github.com/macports/macports-ports/commit/046efe5f4567153d22d847c21b43f55e1fac0ffa</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 046efe5 gnutls: workaround Xcode 11.4 isue
</span>046efe5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 046efe5f4567153d22d847c21b43f55e1fac0ffa
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Tue Mar 31 10:17:14 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> gnutls: workaround Xcode 11.4 isue
</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/60285
</span>---
devel/gnutls/Portfile | 8 ++++++++
devel/gnutls/files/patch-configure.ac.diff | 17 +++++++++++++++++
2 files changed, 25 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnutls/Portfile b/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 20f78d0..96ce9f7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +58,14 @@ depends_lib-append \
</span>
patchfiles patch-lib-system-certs.c.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see: https://trac.macports.org/ticket/60285
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} == 19} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-configure.ac.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;'>+
</span> post-patch {
# Remove comments which confuse at least Leopard's assembler.
reinplace {/^#/d} {*}[glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s]
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnutls/files/patch-configure.ac.diff b/devel/gnutls/files/patch-configure.ac.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d33ed7d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnutls/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2020-03-30 13:50:54.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2020-03-31 09:59:19.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -126,10 +126,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl Try to use -no_weak_imports if available. This makes sure we
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl error out when linking to a function that doesn't exist in the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dnl intended minimum runtime version.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="$LDFLAGS -Wl,-no_weak_imports"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_MSG_CHECKING([whether the linker supports -Wl,-no_weak_imports])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); LDFLAGS="$save_LDFLAGS"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# LDFLAGS="$LDFLAGS -Wl,-no_weak_imports"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# AC_MSG_CHECKING([whether the linker supports -Wl,-no_weak_imports])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); LDFLAGS="$save_LDFLAGS"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *solaris*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ have_elf=yes
</span></pre><pre style='margin:0'>
</pre>