<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/579ecda365cd8cc41e88220212b0475727f8bb31">https://github.com/macports/macports-ports/commit/579ecda365cd8cc41e88220212b0475727f8bb31</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 579ecda365c mod_gnutls: fix patch-src-gnutls_sni.c.diff
</span>579ecda365c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 579ecda365cd8cc41e88220212b0475727f8bb31
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sun Jun 28 09:31:22 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> mod_gnutls: fix patch-src-gnutls_sni.c.diff
</span>---
www/mod_gnutls/files/patch-src-gnutls_sni.c.diff | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/mod_gnutls/files/patch-src-gnutls_sni.c.diff b/www/mod_gnutls/files/patch-src-gnutls_sni.c.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 00aba397744..62f1bcdb406 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/mod_gnutls/files/patch-src-gnutls_sni.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/mod_gnutls/files/patch-src-gnutls_sni.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,15 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/gnutls_sni.c.orig 2018-11-27 23:37:07.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/gnutls_sni.c 2019-01-24 06:00:09.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -18,7 +18,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/gnutls_sni.c.orig 2019-01-28 13:50:38.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/gnutls_sni.c 2020-06-28 08:19:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,7 +18,14 @@
</span>
#include <apr_lib.h>
#include <apr_strings.h>
-#include <byteswap.h>
+#ifdef __APPLE__
+ #include <libkern/OSByteOrder.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #define __bswap_32 OSSwapInt32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #define bswap_16(x) OSSwapInt16(x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #define bswap_32(x) OSSwapInt32(x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #define bswap_64(x) OSSwapInt64(x)
</span> +#else
+ #include <byteswap.h>
+#endif
</pre><pre style='margin:0'>
</pre>