pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/dgpsip Fix build on Solaris and FreeBSD-2.1.5. Fr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d7a3fb0e3b46
branches: trunk
changeset: 461840:d7a3fb0e3b46
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Sep 22 13:43:04 2003 +0000
description:
Fix build on Solaris and FreeBSD-2.1.5. From Jonathan Perkin in PR 22890.
diffstat:
misc/dgpsip/Makefile | 8 +++++++-
misc/dgpsip/distinfo | 3 ++-
misc/dgpsip/patches/patch-aa | 19 +++++++++++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
diffs (53 lines):
diff -r 6926ed3574c0 -r d7a3fb0e3b46 misc/dgpsip/Makefile
--- a/misc/dgpsip/Makefile Mon Sep 22 13:23:57 2003 +0000
+++ b/misc/dgpsip/Makefile Mon Sep 22 13:43:04 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/02/17 18:08:57 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2003/09/22 13:43:04 wiz Exp $
DISTNAME= dgpsip-1.28
CATEGORIES= misc
@@ -10,4 +10,10 @@
GNU_CONFIGURE= YES
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl -lresolv
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff -r 6926ed3574c0 -r d7a3fb0e3b46 misc/dgpsip/distinfo
--- a/misc/dgpsip/distinfo Mon Sep 22 13:23:57 2003 +0000
+++ b/misc/dgpsip/distinfo Mon Sep 22 13:43:04 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 13:52:10 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/09/22 13:43:05 wiz Exp $
SHA1 (dgpsip-1.28.tar.gz) = e646fa8dfcb93a33cf374de00ba222c7499dde6a
Size (dgpsip-1.28.tar.gz) = 63830 bytes
+SHA1 (patch-aa) = 21a3f1b076fd5bca27edec47322c2321ae378250
diff -r 6926ed3574c0 -r d7a3fb0e3b46 misc/dgpsip/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/dgpsip/patches/patch-aa Mon Sep 22 13:43:04 2003 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2003/09/22 13:43:06 wiz Exp $
+
+--- dgpsip.c.orig Wed Aug 25 20:20:19 1999
++++ dgpsip.c Mon Sep 22 14:09:26 2003
+@@ -79,6 +79,14 @@
+ #define BUFSZ (4 * 1024)
+ #define NMEABUFSZ (4 * 1024)
+
++#ifndef AF_INET6 /* for freebsd 2.1.5 */
++#define AF_INET6 0x6666 /* IP version 6 */
++#endif
++
++#ifndef INADDR_NONE /* for solaris 5.7 */
++#define INADDR_NONE 0xffffffff
++#endif
++
+ int verbose = 0;
+
+ void usage(void);
Home |
Main Index |
Thread Index |
Old Index