Make it build on DragonFly and probably some others.

This commit is contained in:
hasso 2009-08-01 05:26:24 +00:00
parent 25a4db1dcb
commit 68ca1ed990
5 changed files with 45 additions and 2 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.3 2007/06/17 18:47:31 minskim Exp $
$NetBSD: distinfo,v 1.4 2009/08/01 05:28:01 hasso Exp $
SHA1 (dega-1.07.tar.gz) = 1401e5af566bc3e7658a4552940219688c082ce8
RMD160 (dega-1.07.tar.gz) = a20ad5d4ec47b3a8e65e64355557b6018a9dcfc4
Size (dega-1.07.tar.gz) = 85189 bytes
SHA1 (patch-aa) = 92f5e498320b751003f2efb79cafa5f7d96ab119
SHA1 (patch-ab) = ec9f112b62edfa24bb04d37679eb9a903e22e3d0

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1 2009/08/01 05:28:02 hasso Exp $
--- mast/mast.h.orig 2009-07-22 15:50:53 +0300
+++ mast/mast.h 2009-07-22 15:51:18 +0300
@@ -19,7 +19,6 @@ extern "C" {
#endif
// mast.cpp
-extern int dprintf (char *Format,...);
extern int MastVer; // Version number of the library
extern unsigned char MastInput[2]; // Joypads

View file

@ -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

View file

@ -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

View file

@ -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"