Sat Aug 1 05:26:24 2009 UTC ()
Make it build on DragonFly and probably some others.
(hasso)
diff -r1.11 -r1.12 pkgsrc/geography/garmin-utils/distinfo
diff -r0 -r1.5 pkgsrc/geography/garmin-utils/patches/patch-ab
diff -r0 -r1.3 pkgsrc/geography/garmin-utils/patches/patch-ac
--- pkgsrc/geography/garmin-utils/distinfo 2009/02/22 22:07:52 1.11
+++ pkgsrc/geography/garmin-utils/distinfo 2009/08/01 05:26:24 1.12
| @@ -1,6 +1,8 @@ | | | @@ -1,6 +1,8 @@ |
1 | $NetBSD: distinfo,v 1.11 2009/02/22 22:07:52 gdt Exp $ | | 1 | $NetBSD: distinfo,v 1.12 2009/08/01 05:26:24 hasso Exp $ |
2 | | | 2 | |
3 | SHA1 (garmin-utils-2.5.tar.gz) = 1b7ee9936a691bf5e5466a3efd052f71dd3cb63c | | 3 | SHA1 (garmin-utils-2.5.tar.gz) = 1b7ee9936a691bf5e5466a3efd052f71dd3cb63c |
4 | RMD160 (garmin-utils-2.5.tar.gz) = c32dd4b9efaef80fb203059ac399e52d0cd86fbe | | 4 | RMD160 (garmin-utils-2.5.tar.gz) = c32dd4b9efaef80fb203059ac399e52d0cd86fbe |
5 | Size (garmin-utils-2.5.tar.gz) = 174336 bytes | | 5 | Size (garmin-utils-2.5.tar.gz) = 174336 bytes |
6 | SHA1 (patch-aa) = 3a04f974bd0eae012977dc3a8090b19032463ce7 | | 6 | SHA1 (patch-aa) = 3a04f974bd0eae012977dc3a8090b19032463ce7 |
| | | 7 | SHA1 (patch-ab) = d67baae2dc895a0c0c770ae5f73538d9aa460116 |
| | | 8 | SHA1 (patch-ac) = 81cec0bdcf3eff6c75ad5f13fc6a3e0e9bd3bc79 |
$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
$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"