spacefm: make this work with glib>=2.41 (close #563).

This commit is contained in:
Juan RP 2014-09-25 11:36:28 +02:00
parent 5a4c552fec
commit da0b44d2f5
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
glib-2.41 is stricter checking for (un)locking mutexes, and aborts()
when attempting to unrelease an unlocked mutex.
--- src/main.c.orig 2014-09-25 11:34:24.970339238 +0200
+++ src/main.c 2014-09-25 11:34:39.034443191 +0200
@@ -1442,6 +1442,7 @@ int main ( int argc, char *argv[] )
#endif
g_thread_init( NULL );
gdk_threads_init ();
+ gdk_threads_enter ();
#if HAVE_HAL
/* If the user wants to mount/umount/eject a device */

View File

@ -1,7 +1,7 @@
# Template file for 'spacefm'
pkgname=spacefm
version=0.9.4
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel startup-notification-devel libudev-devel"