ports/66409: Current comms/grig port will not compile

Matt Dawson matt at mattsnetwork.co.uk
Sun May 9 07:10:24 UTC 2004


>Number:         66409
>Category:       ports
>Synopsis:       Current comms/grig port will not compile
>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:   Sun May 09 00:10:23 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matt Dawson
>Release:        FreeBSD 5.2.1-RELEASE-p4 i386
>Organization:
n/a
>Environment:
System: FreeBSD central.local.mattsnetwork.co.uk 5.2.1-RELEASE-p4 FreeBSD 5.2.1-RELEASE-p4 #0: Mon Apr 12 18:01:17 BST 2004 root at central.local.mattsnetwork.co.uk:/usr/obj/usr/src/sys/CENTRAL i386

hamlib-1.2 required to compile the updated port. The old hamlib 1.1.4 wiil not
work.

>Description:
The new hamlib port (1.2) has a change in the longlat2locator function which
requires an extra function to be passed. This patch simply tacks the correct
value on the end of the line that fails.

>How-To-Repeat:
Portupgrade hamlib and try to compile grig.

>Fix:
Apply the patch to the port. I am the maintainer for this port.

--- grig-0.2.2_2.diff begins here ---
diff -ruN /usr/ports/comms/grig/Makefile grig/Makefile
--- /usr/ports/comms/grig/Makefile	Wed Feb  4 05:18:57 2004
+++ grig/Makefile	Sun May  9 07:46:48 2004
@@ -6,7 +6,7 @@
 
 PORTNAME=	grig
 PORTVERSION=	0.2.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	comms
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	groundstation
diff -ruN /usr/ports/comms/grig/files/patch-aa grig/files/patch-aa
--- /usr/ports/comms/grig/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ grig/files/patch-aa	Sun May  9 07:43:31 2004
@@ -0,0 +1,13 @@
+--- src/grig-druid-loc.c.orig	Sun May  9 07:18:50 2004
++++ src/grig-druid-loc.c	Sun May  9 07:16:04 2004
+@@ -293,9 +293,9 @@
+ 	*/
+ 	if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (radll))) {
+ 		longlat2locator (g_strtod (gtk_entry_get_text (GTK_ENTRY (lonwdg)), NULL),
+ 				 g_strtod (gtk_entry_get_text (GTK_ENTRY (latwdg)), NULL),
+-				 loc);
++				 loc, 3);
+ 		gtk_entry_set_text (GTK_ENTRY (locatorwdg), g_strdup (loc));
+ 	}
+ #endif
+ }
--- grig-0.2.2_2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list