<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b699dbde26efe274fc192b17b57d91baa8e0f320">https://github.com/macports/macports-ports/commit/b699dbde26efe274fc192b17b57d91baa8e0f320</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 b699dbde26e libgcrypt: Support for Tiger
</span>b699dbde26e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b699dbde26efe274fc192b17b57d91baa8e0f320
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Thu Jul 8 12:37:03 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> libgcrypt: Support for Tiger
</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/62431
</span>---
devel/libgcrypt/Portfile | 4 ++++
devel/libgcrypt/files/patch-tiger-random-rndlinux.c.diff | 11 +++++++++++
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 b31235736e9..80085568b2e 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;'>@@ -34,6 +34,10 @@ depends_lib port:libgpg-error
</span> patchfiles patch-configure.diff \
patch-random-rndlinux.c.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-tiger-random-rndlinux.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</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/patch-tiger-random-rndlinux.c.diff b/devel/libgcrypt/files/patch-tiger-random-rndlinux.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..713650bb395
</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/patch-tiger-random-rndlinux.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- rndlinux.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ rndlinux.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,7 +33,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__APPLE__) && defined(__MACH__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <Availability.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __MAC_10_11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <TargetConditionals.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if !defined(TARGET_OS_IPHONE) || TARGET_OS_IPHONE == 0
</span></pre><pre style='margin:0'>
</pre>