1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/comms/locator/files/patch-conv_fn.cc
Pav Lucistnik e65e8bc6cb This is a program for translating mainhead grid squares to and from lat/long.
This is of most use to Amateur Radio operators but may be useful to GPS users.

PR:		ports/82862
Submitted by:	Diane Bruce <db@db.net>
2005-07-03 11:31:29 +00:00

11 lines
299 B
C++

--- conv_fn.cc.orig Thu Jun 30 15:10:32 2005
+++ conv_fn.cc Thu Jun 30 15:11:11 2005
@@ -5,6 +5,7 @@
#include <ctype.h>
#include <math.h>
+#include <string.h>
int GPStoLOCATOR(float gps_long, float gps_lat, char *locator) {
/* gps_long and gps_lat are the longitutes (-180 to +180) and */