aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-08 21:41:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-08 21:41:32 +0000
commita0d196c6eab7b7c2deb50286416c0e21ec8bd895 (patch)
treeee008131516ae97e0ad89fa80d6d17e37d81c0f4 /palm
parent474869f5344cfd7565dbedef6d4662da507587ca (diff)
downloadports-a0d196c6eab7b7c2deb50286416c0e21ec8bd895.tar.gz
ports-a0d196c6eab7b7c2deb50286416c0e21ec8bd895.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/synce-gnomevfs/files/patch-src-libsyncevfs.c26
-rw-r--r--palm/synce-gvfs/files/patch-src-libsyncevfs.c26
2 files changed, 52 insertions, 0 deletions
diff --git a/palm/synce-gnomevfs/files/patch-src-libsyncevfs.c b/palm/synce-gnomevfs/files/patch-src-libsyncevfs.c
new file mode 100644
index 000000000000..6995549fca65
--- /dev/null
+++ b/palm/synce-gnomevfs/files/patch-src-libsyncevfs.c
@@ -0,0 +1,26 @@
+--- src/libsyncevfs.c.orig Sun Aug 22 21:06:29 2004
++++ src/libsyncevfs.c Sat Jan 8 18:40:37 2005
+@@ -126,8 +126,9 @@
+ {
+ if (!initialized_rapi)
+ {
++ HRESULT hr;
+ MUTEX_LOCK (mutex);
+- HRESULT hr = CeRapiInit();
++ hr = CeRapiInit();
+ MUTEX_UNLOCK (mutex);
+
+ if (FAILED(hr))
+@@ -145,9 +146,10 @@
+
+ static int get_location(GnomeVFSURI *uri, gchar **location)/*{{{*/
+ {
+- int result = INDEX_INVALID;
+- *location = NULL;
++ int result;
+ gchar **path = NULL;
++ *location = NULL;
++ result = INDEX_INVALID;
+
+ path = g_strsplit(gnome_vfs_unescape_string(gnome_vfs_uri_get_path(uri),"\\"), "/", 0);
+
diff --git a/palm/synce-gvfs/files/patch-src-libsyncevfs.c b/palm/synce-gvfs/files/patch-src-libsyncevfs.c
new file mode 100644
index 000000000000..6995549fca65
--- /dev/null
+++ b/palm/synce-gvfs/files/patch-src-libsyncevfs.c
@@ -0,0 +1,26 @@
+--- src/libsyncevfs.c.orig Sun Aug 22 21:06:29 2004
++++ src/libsyncevfs.c Sat Jan 8 18:40:37 2005
+@@ -126,8 +126,9 @@
+ {
+ if (!initialized_rapi)
+ {
++ HRESULT hr;
+ MUTEX_LOCK (mutex);
+- HRESULT hr = CeRapiInit();
++ hr = CeRapiInit();
+ MUTEX_UNLOCK (mutex);
+
+ if (FAILED(hr))
+@@ -145,9 +146,10 @@
+
+ static int get_location(GnomeVFSURI *uri, gchar **location)/*{{{*/
+ {
+- int result = INDEX_INVALID;
+- *location = NULL;
++ int result;
+ gchar **path = NULL;
++ *location = NULL;
++ result = INDEX_INVALID;
+
+ path = g_strsplit(gnome_vfs_unescape_string(gnome_vfs_uri_get_path(uri),"\\"), "/", 0);
+