Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391630 Details for
Bug 532514
net-fs/nfs-utils-1.3.0-r1: add support for building against sys-libs/musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0006-mountd-define-_GNU_SOURCE-for-statfs64-and-use-stand.patch
0006-mountd-define-_GNU_SOURCE-for-statfs64-and-use-stand.patch (text/plain), 988 bytes, created by
DaggyStyle
on 2014-12-13 21:49:46 UTC
(
hide
)
Description:
0006-mountd-define-_GNU_SOURCE-for-statfs64-and-use-stand.patch
Filename:
MIME Type:
Creator:
DaggyStyle
Created:
2014-12-13 21:49:46 UTC
Size:
988 bytes
patch
obsolete
>From c4e7010b9d25b07650ed965243512190f75e8b9c Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Wed, 12 Feb 2014 14:04:30 +0000 >Subject: [PATCH 6/7] mountd: define _GNU_SOURCE for statfs64 and use standard > dev_t > >Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> >--- > utils/mountd/cache.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c >index ca35de2..0a4eba5 100644 >--- a/utils/mountd/cache.c >+++ b/utils/mountd/cache.c >@@ -11,6 +11,10 @@ > #include <config.h> > #endif > >+#ifndef _GNU_SOURCE >+#define _GNU_SOURCE >+#endif >+ > #include <sys/types.h> > #include <sys/select.h> > #include <sys/stat.h> >@@ -1334,7 +1338,7 @@ static int cache_export_ent(char *domain, struct exportent *exp, char *path) > */ > struct stat stb; > size_t l = strlen(exp->e_path); >- __dev_t dev; >+ dev_t dev; > > if (strlen(path) <= l || path[l] != '/' || > strncmp(exp->e_path, path, l) != 0) >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 532514
:
391610
|
391612
|
391614
|
391616
|
391618
|
391620
|
391622
|
391624
|
391626
|
391628
| 391630 |
391632
|
391634
|
391636
|
391638
|
391640
|
391642