<pre style='margin:0'>
Daniel J. Luke (danielluke) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1bc4851ac99bc0136cd2ec3d1d2b870794761d9a">https://github.com/macports/macports-ports/commit/1bc4851ac99bc0136cd2ec3d1d2b870794761d9a</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 1bc4851ac99 bind9: restore rwloc patch, update it to changed source (#25055)
</span>1bc4851ac99 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1bc4851ac99bc0136cd2ec3d1d2b870794761d9a
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Jul 26 12:28:39 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> bind9: restore rwloc patch, update it to changed source (#25055)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * bind9: restore rwloc patch, update it to changed source
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * revbump
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> ---------
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Co-authored-by: Sergey Fedorov <barracuda@macos-powerpc.org>
</span><span style='display:block; white-space:pre;color:#404040;'> Co-authored-by: Daniel J. Luke <dluke@geeklair.net>
</span>---
net/bind9/Portfile | 5 +++--
net/bind9/files/fix-rwlock.patch | 27 +++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/bind9/Portfile b/net/bind9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 23d7e730641..7dab63fbfa0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/bind9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/bind9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name bind9
version 9.20.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories net
maintainers {geeklair.net:dluke @danielluke} {jmr @jmroot}
platforms {darwin >= 11} freebsd sunos
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,7 +61,8 @@ compiler.blacklist \
</span>
patchfiles atomics.patch \
lib_dns_Makefile.in.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- setrlimit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ setrlimit.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fix-rwlock.patch
</span>
# tests require `sudo bin/tests/system/ifconfig.sh up`
test.run yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/bind9/files/fix-rwlock.patch b/net/bind9/files/fix-rwlock.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3c16bbd52f1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/bind9/files/fix-rwlock.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 7fcfd79123dac967037bdce45c0bac6fd4718d26 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Sergey Fedorov <barracuda@macos-powerpc.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri, 26 Jul 2024 05:42:55 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] pause.h: unbreak for macOS powerpc
</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;'>+ lib/isc/include/isc/pause.h | 6 +++++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 5 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git lib/isc/include/isc/pause.h lib/isc/include/isc/pause.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 8d7fa57682..8daccc63cd 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/isc/include/isc/pause.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/isc/include/isc/pause.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -30,8 +30,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif (defined(__sparc) || defined(__sparc__)) && HAVE_SPARC_PAUSE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define isc_pause() __asm__ __volatile__("pause")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(__ppc__) || defined(_ARCH_PPC) || defined(_ARCH_PWR) || \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- defined(_ARCH_PWR2) || defined(_POWER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ defined(_ARCH_PWR2) || defined(_POWER) || defined(__POWERPC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define isc_pause() __asm__ volatile("or r27,r27,r27")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define isc_pause() __asm__ volatile("or 27,27,27")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define isc_pause() sched_yield()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span></pre><pre style='margin:0'>
</pre>