rpms/gnome-vfs2/devel posix.patch, NONE, 1.1 gnome-vfs2.spec, 1.159, 1.160

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Sun Aug 12 01:26:35 UTC 2007


Author: mclasen

Update of /cvs/pkgs/rpms/gnome-vfs2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14498

Modified Files:
	gnome-vfs2.spec 
Added Files:
	posix.patch 
Log Message:
fix the build


posix.patch:

--- NEW FILE posix.patch ---
diff -up gnome-vfs-2.19.3/modules/smb-method.c.posix gnome-vfs-2.19.3/modules/smb-method.c
--- gnome-vfs-2.19.3/modules/smb-method.c.posix	2007-08-11 20:05:43.000000000 -0400
+++ gnome-vfs-2.19.3/modules/smb-method.c	2007-08-11 20:06:17.000000000 -0400
@@ -1546,7 +1546,7 @@ do_open (GnomeVFSMethod *method,
 
 	/* Important: perform_authentication leaves and re-enters the lock! */
 	while (perform_authentication (&actx) > 0) {
-		file = smb_context->open (smb_context, path, unix_mode, 0666);
+		file = (smb_context->open) (smb_context, path, unix_mode, 0666);
 		actx.res = (file != NULL) ? GNOME_VFS_OK : gnome_vfs_result_from_errno ();
 	}
 
@@ -1740,7 +1740,7 @@ do_create (GnomeVFSMethod *method,
 	
 	/* Important: perform_authentication leaves and re-enters the lock! */	
 	while (perform_authentication (&actx) > 0) {
-		file = smb_context->open (smb_context, path, unix_mode, perm);
+		file = (smb_context->open) (smb_context, path, unix_mode, perm);
 		actx.res = (file != NULL) ? GNOME_VFS_OK : gnome_vfs_result_from_errno ();
 	}
 


Index: gnome-vfs2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-vfs2/devel/gnome-vfs2.spec,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -r1.159 -r1.160
--- gnome-vfs2.spec	27 Jul 2007 16:54:22 -0000	1.159
+++ gnome-vfs2.spec	12 Aug 2007 01:26:03 -0000	1.160
@@ -14,8 +14,10 @@
 Summary: The GNOME virtual file-system libraries
 Name: gnome-vfs2
 Version: 2.19.3
-Release: 1%{?dist}
-License: LGPL
+Release: 2%{?dist}
+License: LGPLv2 and LGPL+ and GPL+
+# the daemon and the library are LGPLv2
+# the modules are LGPL+ and GPL+ 
 Group: System Environment/Libraries
 Source0: http://download.gnome.org/source/gnome-vfs/2.19/gnome-vfs-%{version}.tar.bz2
 URL: http://www.gnome.org/
@@ -70,6 +72,8 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=356772
 Patch8: gnome-vfs-2.16.0-no-dbus.patch
 
+# 
+Patch9: posix.patch
 
 %description
 GNOME VFS is the GNOME virtual file system. It is the foundation of
@@ -122,6 +126,7 @@
 %patch201 -p0 -b .console
 
 %patch8 -p1 -b .no-dbus
+%patch9 -p1 -b .posix
 
 %build
 
@@ -193,7 +198,7 @@
 
 %files -f %{po_package}.lang
 %defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc AUTHORS COPYING COPYING.LIB NEWS README
 
 %dir %{_sysconfdir}/gnome-vfs-2.0
 %dir %{_sysconfdir}/gnome-vfs-2.0/modules
@@ -224,6 +229,10 @@
 %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf
 
 %changelog
+* Sat Aug 11 2007 Matthias Clasen <mclasen at redhat.com> - 2.19.3-2
+- Fix the build
+- Update the license field
+
 * Fri Jul 27 2007 Matthias Clasen <mclasen at redhat.com> - 2.19.3-1
 - Update to 2.19.3
 




More information about the fedora-extras-commits mailing list