aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-05-11 08:15:37 +0800
committermezz <mezz@FreeBSD.org>2004-05-11 08:15:37 +0800
commit6480467ad9e2dbc3a7f515b0d758151beff51269 (patch)
tree4b3785552d6cb3a177b8885dd633687ec7f5c2b0 /comms
parentf8d6342f8395a46a952e3081829ac1dc5c06f6ed (diff)
downloadfreebsd-ports-graphics-6480467ad9e2dbc3a7f515b0d758151beff51269.tar.gz
freebsd-ports-graphics-6480467ad9e2dbc3a7f515b0d758151beff51269.tar.zst
freebsd-ports-graphics-6480467ad9e2dbc3a7f515b0d758151beff51269.zip
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)
Diffstat (limited to 'comms')
-rw-r--r--comms/grig/Makefile2
-rw-r--r--comms/grig/files/patch-src::grig-druid-loc.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/comms/grig/Makefile b/comms/grig/Makefile
index 699cd2b2726..6994d774584 100644
--- a/comms/grig/Makefile
+++ b/comms/grig/Makefile
@@ -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 --git a/comms/grig/files/patch-src::grig-druid-loc.c b/comms/grig/files/patch-src::grig-druid-loc.c
new file mode 100644
index 00000000000..6d0f307914f
--- /dev/null
+++ b/comms/grig/files/patch-src::grig-druid-loc.c
@@ -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
+ }