[Pkg-samba-maint] r3821 - in trunk/samba/debian: . patches

bubulle at alioth.debian.org bubulle at alioth.debian.org
Sun Jun 12 20:09:29 UTC 2011


tags 221618 pending
thanks

Author: bubulle
Date: 2011-06-12 20:09:28 +0000 (Sun, 12 Jun 2011)
New Revision: 3821

Added:
   trunk/samba/debian/patches/bug_221618_precise-64bit-prototype.patch
Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/patches/series
Log:
patches/bug_221618_precise-64bit-prototype.patch: precise
64bits prototype in libsmbclient-dev. Closes: #221618

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2011-06-12 20:05:58 UTC (rev 3820)
+++ trunk/samba/debian/changelog	2011-06-12 20:09:28 UTC (rev 3821)
@@ -5,6 +5,8 @@
   * Add examples/LDAP in examples for the samba package. With this,
     samba.schema will be provided in some way in the package.
     Closes: #190162
+  * patches/bug_221618_precise-64bit-prototype.patch: precise
+    64bits prototype in libsmbclient-dev. Closes: #221618
 
  -- Christian Perrier <bubulle at debian.org>  Sun, 12 Jun 2011 22:01:19 +0200
 

Added: trunk/samba/debian/patches/bug_221618_precise-64bit-prototype.patch
===================================================================
--- trunk/samba/debian/patches/bug_221618_precise-64bit-prototype.patch	                        (rev 0)
+++ trunk/samba/debian/patches/bug_221618_precise-64bit-prototype.patch	2011-06-12 20:09:28 UTC (rev 3821)
@@ -0,0 +1,15 @@
+Index: samba/source3/include/libsmbclient.h
+===================================================================
+--- samba.orig/source3/include/libsmbclient.h
++++ samba/source3/include/libsmbclient.h
+@@ -79,6 +79,10 @@
+ #include <fcntl.h>
+ #include <utime.h>
+ 
++  /* Debian bug #221618 */
++#define _LARGEFILE64_SOURCE
++#define _FILE_OFFSET_BITS 64
++
+ #define SMBC_BASE_FD        10000 /* smallest file descriptor returned */
+ 
+ #define SMBC_WORKGROUP      1

Modified: trunk/samba/debian/patches/series
===================================================================
--- trunk/samba/debian/patches/series	2011-06-12 20:05:58 UTC (rev 3820)
+++ trunk/samba/debian/patches/series	2011-06-12 20:09:28 UTC (rev 3821)
@@ -14,3 +14,4 @@
 bug_574468_upstream_7265.patch
 bug_610678_fix-ftbfs-hurd.patch
 bug_601406_fix-perl-path-in-example.patch
+bug_221618_precise-64bit-prototype.patch





More information about the Pkg-samba-maint mailing list