summaryrefslogtreecommitdiff
path: root/net-fs/samba/files/samba-4.9.2-timespec.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-07 00:30:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-07 00:30:42 +0100
commit6f8c0fe54f3340a62a5a97c1fff0a56b3f82f7d3 (patch)
treeb26bc9c2a0a6d37d169d7f4c80a6d54a3e07abda /net-fs/samba/files/samba-4.9.2-timespec.patch
parent67f393d8d75db82abeca44eec6d1e3ba7d59ab41 (diff)
net-fs/samba : version bump
Diffstat (limited to 'net-fs/samba/files/samba-4.9.2-timespec.patch')
-rw-r--r--net-fs/samba/files/samba-4.9.2-timespec.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-4.9.2-timespec.patch b/net-fs/samba/files/samba-4.9.2-timespec.patch
new file mode 100644
index 00000000..c82f4af4
--- /dev/null
+++ b/net-fs/samba/files/samba-4.9.2-timespec.patch
@@ -0,0 +1,21 @@
+From 11e8c14b78e2423041f3846882f74cd6490a3e44 Mon Sep 17 00:00:00 2001
+From: Joan Karadimov <joan@profuzdigital.com>
+Date: Thu, 18 Oct 2018 18:16:17 +0300
+Subject: [PATCH] Fix compatibility issues with the timespec struct
+
+---
+ source3/include/libsmbclient.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
+index 5e4a1715402..6487ea7a8aa 100644
+--- a/source3/include/libsmbclient.h
++++ b/source3/include/libsmbclient.h
+@@ -78,6 +78,7 @@ extern "C" {
+ #include <sys/statvfs.h>
+ #include <stdint.h>
+ #include <fcntl.h>
++#include <time.h>
+ #include <utime.h>
+
+ #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */