diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-12 14:16:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-12 14:16:54 +0000 |
commit | 35038f4a2af51efed7265a064fd4a43ffd8a4b95 (patch) | |
tree | 781c3633801f9fb3abfe269f57e2dc09df0bf8d6 /main/nfs-utils/0005-exportfs-define-_GNU_SOURCE-for-stat64.patch | |
parent | 31c5760db1020fee1de508e573f21a284c11c8e4 (diff) | |
download | aports-35038f4a2af51efed7265a064fd4a43ffd8a4b95.tar.bz2 aports-35038f4a2af51efed7265a064fd4a43ffd8a4b95.tar.xz |
main/nfs-utils: build fixes for musl
Diffstat (limited to 'main/nfs-utils/0005-exportfs-define-_GNU_SOURCE-for-stat64.patch')
-rw-r--r-- | main/nfs-utils/0005-exportfs-define-_GNU_SOURCE-for-stat64.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/nfs-utils/0005-exportfs-define-_GNU_SOURCE-for-stat64.patch b/main/nfs-utils/0005-exportfs-define-_GNU_SOURCE-for-stat64.patch new file mode 100644 index 0000000000..29f094ca0b --- /dev/null +++ b/main/nfs-utils/0005-exportfs-define-_GNU_SOURCE-for-stat64.patch @@ -0,0 +1,28 @@ +From 2ab92ce00f420d98e10f2b04eee229ffcf540015 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed, 12 Feb 2014 14:00:50 +0000 +Subject: [PATCH 5/7] exportfs: define _GNU_SOURCE for stat64 + +Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> +--- + utils/exportfs/exportfs.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c +index 8c86790..1feadaa 100644 +--- a/utils/exportfs/exportfs.c ++++ b/utils/exportfs/exportfs.c +@@ -12,6 +12,10 @@ + #include <config.h> + #endif + ++#ifndef _GNU_SOURCE ++#define _GNU_SOURCE ++#endif ++ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/vfs.h> +-- +1.8.5.3 + |