summaryrefslogtreecommitdiff
path: root/geography/garmin-utils
diff options
context:
space:
mode:
authorhasso <hasso>2009-08-01 05:26:24 +0000
committerhasso <hasso>2009-08-01 05:26:24 +0000
commit3a22bb3c17ae0820e2e707c28deb95157ad92e49 (patch)
treed9accaf2e33069bcfc09ebb1ab70874d2f76e3e1 /geography/garmin-utils
parenta3328c4960c79e0b9e4625887c7447ba1045d50d (diff)
downloadpkgsrc-3a22bb3c17ae0820e2e707c28deb95157ad92e49.tar.gz
Make it build on DragonFly and probably some others.
Diffstat (limited to 'geography/garmin-utils')
-rw-r--r--geography/garmin-utils/distinfo4
-rw-r--r--geography/garmin-utils/patches/patch-ab12
-rw-r--r--geography/garmin-utils/patches/patch-ac16
3 files changed, 31 insertions, 1 deletions
diff --git a/geography/garmin-utils/distinfo b/geography/garmin-utils/distinfo
index 657a1b459af..3f706b02983 100644
--- a/geography/garmin-utils/distinfo
+++ b/geography/garmin-utils/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.11 2009/02/22 22:07:52 gdt Exp $
+$NetBSD: distinfo,v 1.12 2009/08/01 05:26:24 hasso Exp $
SHA1 (garmin-utils-2.5.tar.gz) = 1b7ee9936a691bf5e5466a3efd052f71dd3cb63c
RMD160 (garmin-utils-2.5.tar.gz) = c32dd4b9efaef80fb203059ac399e52d0cd86fbe
Size (garmin-utils-2.5.tar.gz) = 174336 bytes
SHA1 (patch-aa) = 3a04f974bd0eae012977dc3a8090b19032463ce7
+SHA1 (patch-ab) = d67baae2dc895a0c0c770ae5f73538d9aa460116
+SHA1 (patch-ac) = 81cec0bdcf3eff6c75ad5f13fc6a3e0e9bd3bc79
diff --git a/geography/garmin-utils/patches/patch-ab b/geography/garmin-utils/patches/patch-ab
new file mode 100644
index 00000000000..a05e18a0c92
--- /dev/null
+++ b/geography/garmin-utils/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.5 2009/08/01 05:26:24 hasso Exp $
+
+--- lib/gps1.c.orig 2009-07-30 23:13:40 +0300
++++ lib/gps1.c 2009-07-30 23:14:17 +0300
+@@ -23,6 +23,7 @@
+ /*
+ * Define the various serial I/O types
+ */
++#undef BSD
+ #define BSD 0
+ #define Linux 1
+
diff --git a/geography/garmin-utils/patches/patch-ac b/geography/garmin-utils/patches/patch-ac
new file mode 100644
index 00000000000..a8113b1265d
--- /dev/null
+++ b/geography/garmin-utils/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.3 2009/08/01 05:26:24 hasso Exp $
+
+--- lib/gpsdisplay.c.orig 2009-07-31 00:20:09 +0300
++++ lib/gpsdisplay.c 2009-07-31 00:20:20 +0300
+@@ -10,11 +10,7 @@
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <strings.h>
+-
+-#ifdef LINUX
+-/* Linux puts memset(3) in string.h */
+ #include <string.h>
+-#endif
+
+
+ #include "gpslib.h"