<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/42c8e932c0eb5389f391c4c8a3191932941d06a6">https://github.com/macports/macports-ports/commit/42c8e932c0eb5389f391c4c8a3191932941d06a6</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 42c8e93 kerberos5: fix version 1.15 build issue under 10.5.8 (and below)
</span>42c8e93 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 42c8e932c0eb5389f391c4c8a3191932941d06a6
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Mon Dec 5 15:46:35 2016 -0600
<span style='display:block; white-space:pre;color:#404040;'> kerberos5: fix version 1.15 build issue under 10.5.8 (and below)
</span>---
net/kerberos5/Portfile | 5 ++++
.../files/patch-src-lib-apputils-net-server.c.diff | 29 ++++++++++++++++++++++
2 files changed, 34 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/kerberos5/Portfile b/net/kerberos5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dd4ecd3..61645a0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/kerberos5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/kerberos5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +44,11 @@ patchfiles patch-util__verto__Makefile.in-use-nonzero-compat-ve
</span> patch-lib_rpc_Makefile.in-explicitly-link-krb5support.diff \
no-Werror.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# AI_NUMERICSERV not available for OS X < 10.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-src-lib-apputils-net-server.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_autoreconf yes
# kerberos5 fails to build in its own presence, see #23769, #37944
# remove ${prefix}/lib from configure.ldflags to allow linking against its own libs first
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/kerberos5/files/patch-src-lib-apputils-net-server.c.diff b/net/kerberos5/files/patch-src-lib-apputils-net-server.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..dcc39be
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/kerberos5/files/patch-src-lib-apputils-net-server.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/apputils/net-server.c.orig 2016-12-01 16:31:24.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/apputils/net-server.c 2016-12-05 10:51:19.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -67,6 +67,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* XXX */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define KDC5_NONET (-1779992062L)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* AI_NUMERICSERV as a value for the `ai_flags' member
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* of `struct addrinfo' of header <netdb.h> has only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* been available since:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* POSIX 1003.1-2008, Issue 7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* glibc 2.3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* Mac OS X 10.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* etc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* Fortunately, its main purpose seems to be only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* to optimize calls of `getaddrinfo', and because it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* is meant to be a bit flag, it can therefore be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* [relatively] safely ignored by defining it to have
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++* the value zero.
</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;'>++#ifndef AI_NUMERICSERV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define AI_NUMERICSERV 0
</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;'>+ static int tcp_or_rpc_data_counter;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static int max_tcp_or_rpc_data_connections = 45;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>