Author: randy
Date: 2005-09-10 21:56:24 -0600 (Sat, 10 Sep 2005)
New Revision: 1110

Added:
   trunk/gnome-vfs/gnome-vfs-2.12.0-samba_3.0.20-1.patch
Log:
Added a patch for GNOME-VFS which fixes a problem linking with libsmbclient if 
using Samba version greater than 3.0.14a

Added: trunk/gnome-vfs/gnome-vfs-2.12.0-samba_3.0.20-1.patch
===================================================================
--- trunk/gnome-vfs/gnome-vfs-2.12.0-samba_3.0.20-1.patch       2005-09-11 
00:30:57 UTC (rev 1109)
+++ trunk/gnome-vfs/gnome-vfs-2.12.0-samba_3.0.20-1.patch       2005-09-11 
03:56:24 UTC (rev 1110)
@@ -0,0 +1,21 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2005-09-10
+Initial Package Version: 2.12.0
+Upstream Status:         Unknown
+Origin:                  Randy McMurchy
+Description:             Fixes linking to libsmbclient if you have Samba
+                         version greater than 3.0.14a
+
+
+diff -Naur gnome-vfs-2.12.0-orig/modules/smb-method.c 
gnome-vfs-2.12.0/modules/smb-method.c
+--- gnome-vfs-2.12.0-orig/modules/smb-method.c 2005-06-08 07:19:54.000000000 
+0000
++++ gnome-vfs-2.12.0/modules/smb-method.c      2005-09-11 03:33:39.000000000 
+0000
+@@ -1486,7 +1486,7 @@
+ 
+               /* Important: perform_authentication leaves and re-enters the 
lock! */
+               while (perform_authentication (&actx) > 0) {
+-                      r = smb_context->close (smb_context, handle->file);
++                      r = smb_context->close_fn (smb_context, handle->file);
+                       actx.res = (r >= 0) ? GNOME_VFS_OK : 
gnome_vfs_result_from_errno ();
+               }
+ 

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to