aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnfs/fix-includes.patch
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-07-01 11:32:49 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-16 20:55:00 +0000
commitf8ec2d2e84fda3ba4c28fb447f980af22a880502 (patch)
treea2892c6582ff9c33848bba3205bea6147c32ae57 /main/libnfs/fix-includes.patch
parent37caadb3b9d29d0bfab3f7a8df354552fd9e1e7e (diff)
downloadaports-f8ec2d2e84fda3ba4c28fb447f980af22a880502.tar.bz2
aports-f8ec2d2e84fda3ba4c28fb447f980af22a880502.tar.xz
main/libnfs: upgrade to 3.0.0, clarify license
The fix-includes.patch explicitly includes <sys/time.h> in order to resolve incomplete type {a,c,m}time definitions.
Diffstat (limited to 'main/libnfs/fix-includes.patch')
-rw-r--r--main/libnfs/fix-includes.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/libnfs/fix-includes.patch b/main/libnfs/fix-includes.patch
new file mode 100644
index 0000000000..18a3657c64
--- /dev/null
+++ b/main/libnfs/fix-includes.patch
@@ -0,0 +1,10 @@
+--- a/include/nfsc/libnfs.h
++++ b/include/nfsc/libnfs.h
+@@ -24,6 +24,7 @@
+ #define _LIBNFS_H_
+
+ #include <stdint.h>
++#include <sys/time.h>
+ #if defined(__ANDROID__) || defined(AROS) \
+ || ( defined(__APPLE__) && defined(__MACH__) )
+ #include <sys/time.h>