From bd63c18654071176db9820619fd0e9c09e6d2926 Mon Sep 17 00:00:00 2001 From: hasso Date: Sat, 1 Aug 2009 05:26:24 +0000 Subject: Make it build on DragonFly and probably some others. --- geography/garmin-utils/distinfo | 4 +++- geography/garmin-utils/patches/patch-ab | 12 ++++++++++++ geography/garmin-utils/patches/patch-ac | 16 ++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 geography/garmin-utils/patches/patch-ab create mode 100644 geography/garmin-utils/patches/patch-ac (limited to 'geography/garmin-utils') 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 + #include + #include +- +-#ifdef LINUX +-/* Linux puts memset(3) in string.h */ + #include +-#endif + + + #include "gpslib.h" -- cgit v1.2.3