diff options
author | nathanw <nathanw@pkgsrc.org> | 2003-04-17 23:09:52 +0000 |
---|---|---|
committer | nathanw <nathanw@pkgsrc.org> | 2003-04-17 23:09:52 +0000 |
commit | 15ef0e67c076aadc387cda927618b5c60bbf1eea (patch) | |
tree | 6cc6e63f6b194adae575bbec30da5ffeb64f34e5 /sysutils | |
parent | 5e5c7349a95a5b4ad3c757b8add9059db2f9d160 (diff) | |
download | pkgsrc-15ef0e67c076aadc387cda927618b5c60bbf1eea.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/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-ag | 14 |
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) { |