diff options
author | rh <rh@pkgsrc.org> | 2000-11-25 13:57:09 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-11-25 13:57:09 +0000 |
commit | 93d36cbd198455d12da9bf4f79f78bc9b5f2024b (patch) | |
tree | 2b75ef885f1825406f1f399823d2c9cb01d28b9e /sysutils/gnome-vfs/patches | |
parent | 7da6bd1dae47ee42162c414d9537a7406b35a0c9 (diff) | |
download | pkgsrc-93d36cbd198455d12da9bf4f79f78bc9b5f2024b.tar.gz |
Initial import of gnome-vfs-0.4.1, the GNOME virtual file system.
Diffstat (limited to 'sysutils/gnome-vfs/patches')
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-aa | 13 | ||||
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-ab | 12 | ||||
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-ac | 44 |
3 files changed, 69 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-aa b/sysutils/gnome-vfs/patches/patch-aa new file mode 100644 index 00000000000..a374e0f6e2e --- /dev/null +++ b/sysutils/gnome-vfs/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/11/25 13:57:10 rh Exp $ + +--- configure.orig Wed Aug 30 09:22:17 2000 ++++ configure +@@ -4817,7 +4817,7 @@ + cat conftest.$ac_ext >&5 + rm -rf conftest* + CATOBJEXT=.mo +- DATADIRNAME=lib ++ DATADIRNAME=share + fi + rm -f conftest* + INSTOBJEXT=.mo diff --git a/sysutils/gnome-vfs/patches/patch-ab b/sysutils/gnome-vfs/patches/patch-ab new file mode 100644 index 00000000000..69a3b3bc6c0 --- /dev/null +++ b/sysutils/gnome-vfs/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/11/25 13:57:10 rh Exp $ + +--- modules/nfs-method.c.orig Wed Nov 15 13:41:58 2000 ++++ modules/nfs-method.c +@@ -36,6 +36,7 @@ + #include <fcntl.h> + #include <limits.h> + #include <sys/stat.h> ++#include <sys/socket.h> + #include <sys/types.h> + #include <unistd.h> + #include <utime.h> diff --git a/sysutils/gnome-vfs/patches/patch-ac b/sysutils/gnome-vfs/patches/patch-ac new file mode 100644 index 00000000000..5bee6d30607 --- /dev/null +++ b/sysutils/gnome-vfs/patches/patch-ac @@ -0,0 +1,44 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/11/25 13:57:10 rh Exp $ + +--- modules/file-method.c.orig Thu Nov 16 07:57:37 2000 ++++ modules/file-method.c +@@ -37,6 +37,7 @@ + #include <malloc.h> + #include <sys/stat.h> + #include <sys/types.h> ++#include <sys/param.h> + #include <unistd.h> + #include <stdio.h> + #include <utime.h> +@@ -723,9 +724,15 @@ + filter_needs = GNOME_VFS_DIRECTORY_FILTER_NEEDS_NOTHING; + } + ++#if (defined(BSD) && BSD >= 199306) ++ if ((result = readdir (handle->dir)) != NULL) { ++ *handle->current_entry = *result; ++ } ++#else + if (readdir_r (handle->dir, handle->current_entry, &result) != 0) { + return gnome_vfs_result_from_errno (); + } ++#endif + + if (result == NULL) { + return GNOME_VFS_ERROR_EOF; +@@ -1054,9 +1061,15 @@ + + item_buffer = g_malloc (sizeof (struct dirent) + GET_PATH_MAX() + 1); + for (;;) { ++#if (defined(BSD) && BSD >= 199306) ++ if ((item = readdir (directory)) != NULL) { ++ *item_buffer = *item; ++ } ++#else + if (readdir_r (directory, item_buffer, &item) != 0 || item == NULL) { + break; + } ++#endif + + if (gnome_vfs_context_check_cancellation (context)) + break; |