summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authornathanw <nathanw>2003-04-17 23:09:52 +0000
committernathanw <nathanw>2003-04-17 23:09:52 +0000
commit5138f2521cb3bdf5fd64139741774d441c1e4240 (patch)
tree6cc6e63f6b194adae575bbec30da5ffeb64f34e5 /sysutils
parent44bd789d2faed436c547e89597fd9a6f5aff8e16 (diff)
downloadpkgsrc-5138f2521cb3bdf5fd64139741774d441c1e4240.tar.gz
Pull in a change similar to one in gnome CVS, to initialize
the g_thread subsystem before calling G_LOCK(). Fixes a case of unlocking a mutex that isn't locked.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-vfs/distinfo3
-rw-r--r--sysutils/gnome-vfs/patches/patch-ag14
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/gnome-vfs/distinfo b/sysutils/gnome-vfs/distinfo
index e7ba3b15024..e1d75191f2f 100644
--- a/sysutils/gnome-vfs/distinfo
+++ b/sysutils/gnome-vfs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2003/01/09 09:47:30 rh Exp $
+$NetBSD: distinfo,v 1.12 2003/04/17 23:09:52 nathanw Exp $
SHA1 (gnome-vfs-1.0.5.tar.gz) = 41156323969d44e3f14ce481b81bfdb5d1deba49
Size (gnome-vfs-1.0.5.tar.gz) = 1048954 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-ab) = 6d038601f881185f8a4c55a604f7baccb8693ffe
SHA1 (patch-ac) = 4da6d9b46d059710dcd8248dd9d23cb79e5253e1
SHA1 (patch-ae) = a0906ba19a6953aca3b173f03fb1b2d9bf742a09
SHA1 (patch-af) = c76c64801b643828f6cb8751131447335d39c28e
+SHA1 (patch-ag) = a9560b6a284abaafd6793a899da15c7fcdf4dd95
diff --git a/sysutils/gnome-vfs/patches/patch-ag b/sysutils/gnome-vfs/patches/patch-ag
new file mode 100644
index 00000000000..cc0a90fb723
--- /dev/null
+++ b/sysutils/gnome-vfs/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.8 2003/04/17 23:09:53 nathanw Exp $
+
+--- libgnomevfs/gnome-vfs-init.c.orig 2003-04-17 18:42:59.000000000 -0400
++++ libgnomevfs/gnome-vfs-init.c 2003-04-17 18:46:06.000000000 -0400
+@@ -46,6 +46,9 @@
+ gboolean retval;
+ char *bogus_argv[2] = { "dummy", NULL };
+
++ if (!g_thread_supported ())
++ g_thread_init (NULL);
++
+ G_LOCK (vfs_already_initialized);
+
+ if (!vfs_already_initialized) {