El día Sunday, April 28, 2013 a las 08:01:35PM +0200, Matthias Apitz escribió:
> > Hello, > > Foxtrotgps crashes on start on 10-CURRENT r235646 during > 'pthread_mutex_unlock', > details follow below; > Thanks > Hi, The attached patch (to be placed in astro/foxtrotgps/files/patch-src-main before 'make install') fixes the bug; HIH matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards
--- src/main.c.orig 2012-06-14 06:41:11.000000000 +0200 +++ src/main.c 2013-04-29 17:19:50.000000000 +0200 @@ -200,9 +200,17 @@ init(); - gtk_main (); - - - + /* Properly call gdk_threads_enter() and gdk_threads_leave() to prevent + abort() on startup due to gtk trying to unlock a uninitialized + mutex + see also: http://openbsd.7691.n7.nabble.com/geo-tangogps-abort-trap-td147777.html + */ + + gdk_threads_enter(); + + gtk_main (); + + gdk_threads_leave(); + return 0; }
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"