aboutsummaryrefslogtreecommitdiffstats
path: root/main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-08-06 09:52:50 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-08-06 09:54:46 +0300
commit87c34001006b65b2be65cb87168b498c915390e1 (patch)
treebba7637346cb2a8a230234fc1c04b481f88e372a /main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch
parent910ce2ae3ff7e550d4f532c7d74d3e96526bc368 (diff)
downloadaports-87c34001006b65b2be65cb87168b498c915390e1.tar.bz2
aports-87c34001006b65b2be65cb87168b498c915390e1.tar.xz
main/nfs-utils: upgrade to 1.3.1-rc3 and refresh musl patches
use patch series sent to linux-nfs mailing list, and add one more patch to address accessing /proc/net/rpc.
Diffstat (limited to 'main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch')
-rw-r--r--main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch b/main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch
new file mode 100644
index 0000000000..9f87eec597
--- /dev/null
+++ b/main/nfs-utils/0008-Only-work-around-glibc-bugs-on-glibc.patch
@@ -0,0 +1,26 @@
+From 21a0c6b3ace23acd0236339582366bb128065347 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Thu, 24 Apr 2014 14:25:23 +0200
+Subject: [PATCH] Only work around glibc bugs on glibc
+
+Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
+---
+ utils/mountd/svc_run.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/utils/mountd/svc_run.c b/utils/mountd/svc_run.c
+index 1938a67..a572441 100644
+--- a/utils/mountd/svc_run.c
++++ b/utils/mountd/svc_run.c
+@@ -60,7 +60,7 @@
+ void cache_set_fds(fd_set *fdset);
+ int cache_process_req(fd_set *readfds);
+
+-#if LONG_MAX != INT_MAX
++#if defined(__GLIBC__) && LONG_MAX != INT_MAX
+ /* bug in glibc 2.3.6 and earlier, we need
+ * our own svc_getreqset
+ */
+--
+2.0.4
+