summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-12 14:33:34 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-12 14:33:34 +0800
commit4a2f9c6f5f0764eb39cbffe8e2acee023b99d973 (patch)
tree207054d9751807ecff1990e56ed94c2b950cf4c1
parentdec96c6d94ae296887d32fba1606a0eca6a1a42e (diff)
downloadmarcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.tar
marcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.tar.gz
marcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.tar.bz2
marcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.tar.lz
marcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.tar.xz
marcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.tar.zst
marcuscom-ports-4a2f9c6f5f0764eb39cbffe8e2acee023b99d973.zip
Fix build with smbclient-3.0.20.
Reported by: ade git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4825 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--devel/gnome-vfs/files/patch-modules_smb-method.c11
-rw-r--r--devel/gnomevfs2/files/patch-modules_smb-method.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/gnome-vfs/files/patch-modules_smb-method.c b/devel/gnome-vfs/files/patch-modules_smb-method.c
new file mode 100644
index 000000000..416dae018
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-modules_smb-method.c
@@ -0,0 +1,11 @@
+--- modules/smb-method.c.orig Mon Sep 12 02:29:46 2005
++++ modules/smb-method.c Mon Sep 12 02:30:57 2005
+@@ -1486,7 +1486,7 @@ do_close (GnomeVFSMethod *method,
+
+ /* 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 ();
+ }
+
diff --git a/devel/gnomevfs2/files/patch-modules_smb-method.c b/devel/gnomevfs2/files/patch-modules_smb-method.c
new file mode 100644
index 000000000..416dae018
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-modules_smb-method.c
@@ -0,0 +1,11 @@
+--- modules/smb-method.c.orig Mon Sep 12 02:29:46 2005
++++ modules/smb-method.c Mon Sep 12 02:30:57 2005
+@@ -1486,7 +1486,7 @@ do_close (GnomeVFSMethod *method,
+
+ /* 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 ();
+ }
+