openbsd-ports/geo/foxtrotgps/patches/patch-src_main_c
kirby b7148bda52 import foxtrotgps-1.1.1
FoxtrotGPS is an offshoot of Marcus Bauer's excellent Free & Open Source
tangoGPS application, with a focus on cooperation and fostering
community innovation. By default maps tiles are downloaded from the
Openstreetmap project. Map tiles are automatically downloaded and cached
for offline use. To get real-time positioning from a GPS receiver you
need to run gpsd.

With some help from jasper@, input and ok@ from dcoppa@
2012-10-12 14:50:45 +00:00

19 lines
428 B
Plaintext

$OpenBSD: patch-src_main_c,v 1.1.1.1 2012/10/12 14:50:45 kirby Exp $
Properly call gdk_threads_enter() and gdk_threads_leave() to prevent
abort() on startup due to gtk trying to unlock a uninitialized
mutex
--- src/main.c.orig Thu Jun 14 08:41:11 2012
+++ src/main.c Fri Oct 12 17:52:45 2012
@@ -200,7 +200,9 @@ main (int argc, char *argv[])
init();
+ gdk_threads_enter();
gtk_main ();
+ gdk_threads_leave();