[csw-devel] SF.net SVN: gar:[20222] csw/mgar/pkg/samba/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Jan 26 14:40:17 CET 2013


Revision: 20222
          http://gar.svn.sourceforge.net/gar/?rev=20222&view=rev
Author:   dmichelsen
Date:     2013-01-26 13:40:17 +0000 (Sat, 26 Jan 2013)
Log Message:
-----------
samba/trunk: Add patch

Modified Paths:
--------------
    csw/mgar/pkg/samba/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/samba/trunk/files/0001-Use-correct-struct-fields-in-vfs_commit.c.patch

Modified: csw/mgar/pkg/samba/trunk/Makefile
===================================================================
--- csw/mgar/pkg/samba/trunk/Makefile	2013-01-26 09:03:49 UTC (rev 20221)
+++ csw/mgar/pkg/samba/trunk/Makefile	2013-01-26 13:40:17 UTC (rev 20222)
@@ -22,6 +22,10 @@
 # This is taken from the old Samba package
 DISTFILES += cswkrb5.conf
 
+# Use patch until this is fixed:
+#   https://bugzilla.samba.org/show_bug.cgi?id=9604
+PATCHFILES += 0001-Use-correct-struct-fields-in-vfs_commit.c.patch
+
 BUILD_DEP_PKGS += CSWlibtalloc-dev
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 

Added: csw/mgar/pkg/samba/trunk/files/0001-Use-correct-struct-fields-in-vfs_commit.c.patch
===================================================================
--- csw/mgar/pkg/samba/trunk/files/0001-Use-correct-struct-fields-in-vfs_commit.c.patch	                        (rev 0)
+++ csw/mgar/pkg/samba/trunk/files/0001-Use-correct-struct-fields-in-vfs_commit.c.patch	2013-01-26 13:40:17 UTC (rev 20222)
@@ -0,0 +1,30 @@
+From 66bde8fc0a71ada36fe80f44a998b22f83fd34af Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Sat, 26 Jan 2013 11:40:51 +0100
+Subject: [PATCH] Use correct struct fields in vfs_commit.c
+
+---
+ source3/modules/vfs_commit.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
+index 865250a..c9c0a05 100644
+--- a/source3/modules/vfs_commit.c
++++ b/source3/modules/vfs_commit.c
+@@ -307,10 +307,10 @@ static int commit_ftruncate(
+ static struct vfs_fn_pointers vfs_commit_fns = {
+         .open_fn = commit_open,
+         .close_fn = commit_close,
+-        .write = commit_write,
+-        .pwrite = commit_pwrite,
++        .write_fn = commit_write,
++        .pwrite_fn = commit_pwrite,
+         .connect_fn = commit_connect,
+-        .ftruncate = commit_ftruncate
++        .ftruncate_fn = commit_ftruncate
+ };
+ 
+ NTSTATUS vfs_commit_init(void);
+-- 
+1.8.0
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list