diff options
author | rh <rh@pkgsrc.org> | 2001-04-07 19:00:21 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-04-07 19:00:21 +0000 |
commit | 38fb3a6bdfc259e682057eb9bb96c680e828a1a4 (patch) | |
tree | 86b8201c2ed75cabaa3a14c30465a9a2046a7df2 | |
parent | 09a4ae8cb81cdb3d6d982ae523f44ff02e17d8a5 (diff) | |
download | pkgsrc-38fb3a6bdfc259e682057eb9bb96c680e828a1a4.tar.gz |
Make gnome-vfs-1.4 actually compile: this patch was missing from the
original commit.
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-ab b/sysutils/gnome-vfs/patches/patch-ab new file mode 100644 index 00000000000..476c9af14e6 --- /dev/null +++ b/sysutils/gnome-vfs/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.3 2001/04/07 19:00:21 rh Exp $ + +--- libgnomevfs-pthread/gnome-vfs-job.h.orig Thu Apr 5 17:03:26 2001 ++++ libgnomevfs-pthread/gnome-vfs-job.h +@@ -28,7 +28,11 @@ + + #include "gnome-vfs.h" + #include "gnome-vfs-private.h" ++#ifdef HAVE_SEMAPHORE_H + #include <semaphore.h> ++#else ++#include <pthread.h> ++#endif + + typedef struct GnomeVFSJob GnomeVFSJob; + +@@ -327,7 +331,11 @@ + gboolean failed; + + /* Global lock for accessing data. */ ++#ifdef HAVE_SEMAPHORE_H + sem_t access_lock; ++#else ++ pthread_mutex_t access_lock; ++#endif + + /* This condition is signalled when the master thread gets a + notification and wants to acknowledge it. */ |