summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch b/meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch
new file mode 100644
index 000000000..31108f2e8
--- /dev/null
+++ b/meta-oe/recipes-connectivity/samba/samba-3.6.24/bug_221618_precise-64bit-prototype.patch
@@ -0,0 +1,20 @@
1Description: 64 bit fix for libsmbclient
2Author: Christian Perrier <bubulle@debian.org>
3Bug-Debian: http://bugs.debian.org/221618
4Forwarded: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221618#27
5
6Index: samba/source3/include/libsmbclient.h
7===================================================================
8--- samba.orig/source3/include/libsmbclient.h
9+++ samba/source3/include/libsmbclient.h
10@@ -79,6 +79,10 @@
11 #include <fcntl.h>
12 #include <utime.h>
13
14+ /* Debian bug #221618 */
15+#define _LARGEFILE64_SOURCE
16+#define _FILE_OFFSET_BITS 64
17+
18 #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */
19
20 #define SMBC_WORKGROUP 1