diff options
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.patch | 26 |
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 + |