1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Fix the build that the new hamlib port (1.2) has a change in the

longlat2locator function which requires an extra function to be passed.

PR:		ports/66409
Submitted by:	Matt Dawson <matt@mattsnetwork.co.uk> (maintainer)
Approved by:	adamw (mentor)
This commit is contained in:
Jeremy Messenger 2004-05-11 00:15:37 +00:00
parent df8066cafc
commit 8b05b1938e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108879
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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
}