From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/nfs-utils/musl-getservbyport.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 opt/nfs-utils/musl-getservbyport.patch (limited to 'opt/nfs-utils/musl-getservbyport.patch') diff --git a/opt/nfs-utils/musl-getservbyport.patch b/opt/nfs-utils/musl-getservbyport.patch new file mode 100644 index 0000000..6a491d4 --- /dev/null +++ b/opt/nfs-utils/musl-getservbyport.patch @@ -0,0 +1,18 @@ +Musl will always return something with getservbyport so we cannot skip +ports that returns non-null. + +diff --git a/utils/statd/rmtcall.c b/utils/statd/rmtcall.c +index fd576d9..d72a0bf 100644 +--- a/utils/statd/rmtcall.c ++++ b/utils/statd/rmtcall.c +@@ -93,8 +93,10 @@ + __func__); + break; + } ++#if defined(__GLIBC__) + se = getservbyport(sin.sin_port, "udp"); + if (se == NULL) ++#endif + break; + + if (retries == MAX_BRP_RETRIES) { -- cgit v1.3.1