<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/209e74d24ccbf670240d814970fb613de54e181c">https://github.com/macports/macports-ports/commit/209e74d24ccbf670240d814970fb613de54e181c</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 209e74d24cc sudo: fix missing definition of minimum() macro
</span>209e74d24cc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 209e74d24ccbf670240d814970fb613de54e181c
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Mon Nov 8 19:27:39 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> sudo: fix missing definition of minimum() macro
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/63858
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://bugzilla.sudo.ws/show_bug.cgi?id=1008
</span>---
sysutils/sudo/Portfile | 5 +++--
sysutils/sudo/files/patch-lib-util-arc4random_buf.diff | 10 ++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/sudo/Portfile b/sysutils/sudo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 39f96ac3019..1dbae85c1a3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/sudo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/sudo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name sudo
epoch 1
version 1.9.8p2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories sysutils security
license ISC
maintainers {mps @Schamschula}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,8 @@ checksums rmd160 b66825f3d371f1a7179443a33a55f80cc191d668 \
</span> size 4302256
patchfiles patch-configure.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-sudoers.in.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-sudoers.in.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-lib-util-arc4random_buf.diff
</span>
depends_lib port:gettext \
path:lib/libssl.dylib:openssl \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/sudo/files/patch-lib-util-arc4random_buf.diff b/sysutils/sudo/files/patch-lib-util-arc4random_buf.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0ed8e763238
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/sudo/files/patch-lib-util-arc4random_buf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/util/arc4random_buf.c.orig 2021-09-20 23:47:55.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/util/arc4random_buf.c 2021-11-08 12:21:43.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,6 +22,7 @@
</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;'>+ #include <config.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define minimum(a, b) ((a) < (b) ? (a) : (b))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef HAVE_ARC4RANDOM_BUF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>