pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/cstream Fix build on Solaris, based on PR 22889 b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5a282189964
branches: trunk
changeset: 461835:e5a282189964
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Sep 22 12:30:24 2003 +0000
description:
Fix build on Solaris, based on PR 22889 by Jonathan Perkin.
diffstat:
misc/cstream/Makefile | 8 +++++++-
misc/cstream/distinfo | 3 ++-
misc/cstream/patches/patch-aa | 16 ++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r 8b467e9461db -r e5a282189964 misc/cstream/Makefile
--- a/misc/cstream/Makefile Mon Sep 22 12:30:15 2003 +0000
+++ b/misc/cstream/Makefile Mon Sep 22 12:30:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 21:48:51 grant Exp $
+# $NetBSD: Makefile,v 1.4 2003/09/22 12:30:24 wiz Exp $
DISTNAME= cstream-2.2
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 8b467e9461db -r e5a282189964 misc/cstream/distinfo
--- a/misc/cstream/distinfo Mon Sep 22 12:30:15 2003 +0000
+++ b/misc/cstream/distinfo Mon Sep 22 12:30:24 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/09/19 05:24:27 gmcgarry Exp $
+$NetBSD: distinfo,v 1.2 2003/09/22 12:30:24 wiz Exp $
SHA1 (cstream-2.2.tar.gz) = aef89176123f1ae6cb824e66b2e9b3aa3be7644e
Size (cstream-2.2.tar.gz) = 43124 bytes
+SHA1 (patch-aa) = 68f73e1052731342f59cbd3baaf772d45e62cacd
diff -r 8b467e9461db -r e5a282189964 misc/cstream/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/cstream/patches/patch-aa Mon Sep 22 12:30:24 2003 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2003/09/22 12:30:24 wiz Exp $
+
+--- cstream.c.orig Wed Jul 11 17:13:05 2001
++++ cstream.c
+@@ -93,6 +93,11 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+
++/* Solaris needs this */
++#ifndef INADDR_NONE
++#define INADDR_NONE 0xffffffff
++#endif
++
+ #ifndef NORESOLV
+ #include <netdb.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index