Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/files/, net-fs/samba/
Date: Fri, 16 Nov 2018 07:46:49
Message-Id: 1542354391.3b72a744702238e2aedb7cad6f57ee95096a1fed.polynomial-c@gentoo
1 commit: 3b72a744702238e2aedb7cad6f57ee95096a1fed
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 12 03:32:28 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 16 07:46:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b72a744
7
8 net-fs/samba: Fix compatibility issues with the timespec struct
9
10 Closes: https://bugs.gentoo.org/666548
11 Package-Manager: Portage-2.3.51, Repoman-2.3.12
12 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
13 Closes: https://github.com/gentoo/gentoo/pull/10396
14 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
15
16 net-fs/samba/files/samba-4.9.2-timespec.patch | 21 +++++++++++++++++++++
17 .../{samba-4.9.2.ebuild => samba-4.9.2-r1.ebuild} | 1 +
18 2 files changed, 22 insertions(+)
19
20 diff --git a/net-fs/samba/files/samba-4.9.2-timespec.patch b/net-fs/samba/files/samba-4.9.2-timespec.patch
21 new file mode 100644
22 index 00000000000..c82f4af4e7e
23 --- /dev/null
24 +++ b/net-fs/samba/files/samba-4.9.2-timespec.patch
25 @@ -0,0 +1,21 @@
26 +From 11e8c14b78e2423041f3846882f74cd6490a3e44 Mon Sep 17 00:00:00 2001
27 +From: Joan Karadimov <joan@×××××××××××××.com>
28 +Date: Thu, 18 Oct 2018 18:16:17 +0300
29 +Subject: [PATCH] Fix compatibility issues with the timespec struct
30 +
31 +---
32 + source3/include/libsmbclient.h | 1 +
33 + 1 file changed, 1 insertion(+)
34 +
35 +diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h
36 +index 5e4a1715402..6487ea7a8aa 100644
37 +--- a/source3/include/libsmbclient.h
38 ++++ b/source3/include/libsmbclient.h
39 +@@ -78,6 +78,7 @@ extern "C" {
40 + #include <sys/statvfs.h>
41 + #include <stdint.h>
42 + #include <fcntl.h>
43 ++#include <time.h>
44 + #include <utime.h>
45 +
46 + #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */
47
48 diff --git a/net-fs/samba/samba-4.9.2.ebuild b/net-fs/samba/samba-4.9.2-r1.ebuild
49 similarity index 99%
50 rename from net-fs/samba/samba-4.9.2.ebuild
51 rename to net-fs/samba/samba-4.9.2-r1.ebuild
52 index 474ff007b0b..9552e026df2 100644
53 --- a/net-fs/samba/samba-4.9.2.ebuild
54 +++ b/net-fs/samba/samba-4.9.2-r1.ebuild
55 @@ -132,6 +132,7 @@ S="${WORKDIR}/${MY_P}"
56 PATCHES=(
57 "${FILESDIR}/${PN}-4.4.0-pam.patch"
58 "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch"
59 + "${FILESDIR}/${PN}-4.9.2-timespec.patch"
60 )
61
62 #CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"