ports/179919: Patch astro/foxtrotgps to fix crash [maintainer]
Craig Whipp
crwhipp at gmail.com
Mon Jun 24 04:40:00 UTC 2013
>Number: 179919
>Category: ports
>Synopsis: Patch astro/foxtrotgps to fix crash [maintainer]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 24 04:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Craig Whipp
>Release: 9.1-RELEASE
>Organization:
>Environment:
>Description:
The upstream FoxtrotGPS project has fixed the error, but hasn't cut a new release yet. This file corrects the crash with the change from upstream.
>How-To-Repeat:
>Fix:
Apply the attached patch.
# cd /usr/ports/astro/foxtrotgps
# patch -p1 $PATH_TO_PATCH
Patch attached with submission follows:
diff -rupN foxtrotgps/Makefile foxtrotgps_dev/Makefile
--- foxtrotgps/Makefile 2013-05-02 21:56:40.000000000 -0700
+++ foxtrotgps_dev/Makefile 2013-06-23 21:18:17.000000000 -0700
@@ -3,7 +3,7 @@
PORTNAME= foxtrotgps
PORTVERSION= 1.1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= astro geography
MASTER_SITES= http://www.foxtrotgps.org/releases/
diff -rupN foxtrotgps/files/patch-src-main foxtrotgps_dev/files/patch-src-main
--- foxtrotgps/files/patch-src-main 1969-12-31 17:00:00.000000000 -0700
+++ foxtrotgps_dev/files/patch-src-main 2013-06-17 16:34:39.000000000 -0700
@@ -0,0 +1,22 @@
+=== modified file 'src/main.c'
+--- src/main.c 2013-01-06 01:48:33 +0000
++++ src/main.c 2013-06-12 04:48:57 +0000
+@@ -77,7 +77,7 @@
+ if (!g_thread_supported ())
+ g_thread_init (NULL);
+ gdk_threads_init ();
+-
++ gdk_threads_enter ();
+ gtk_init (&argc, &argv);
+
+ setlocale (LC_NUMERIC, "C");
+@@ -203,7 +203,7 @@
+
+ gtk_main ();
+
+-
++ gdk_threads_leave ();
+
+ return 0;
+ }
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list