aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/garmin-utils/Makefile1
-rw-r--r--comms/garmin-utils/files/patch-lib::gpsdisplay.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/garmin-utils/Makefile b/comms/garmin-utils/Makefile
index 4bc357e53924..bc4565a81f97 100644
--- a/comms/garmin-utils/Makefile
+++ b/comms/garmin-utils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= garmin-utils
PORTVERSION= 1.93
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://ftp.snafu.org/pub/
diff --git a/comms/garmin-utils/files/patch-lib::gpsdisplay.c b/comms/garmin-utils/files/patch-lib::gpsdisplay.c
new file mode 100644
index 000000000000..0826b31bdaad
--- /dev/null
+++ b/comms/garmin-utils/files/patch-lib::gpsdisplay.c
@@ -0,0 +1,11 @@
+--- lib/gpsdisplay.c.orig Sun Oct 12 16:24:52 2003
++++ lib/gpsdisplay.c Sun Oct 12 16:23:45 2003
+@@ -11,7 +11,7 @@
+ #include <stdio.h>
+ #include <strings.h>
+
+-#ifdef LINUX
++#if defined(LINUX) || defined(__FreeBSD__)
+ /* Linux puts memset(3) in string.h */
+ #include <string.h>
+ #endif