diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-10-03 14:25:55 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-10-03 14:25:55 +0000 |
commit | 2f2acfdf848f2ab5841a93ed624daa11f8dd88ca (patch) | |
tree | 88f3e579f19f2f1a808a8c4b7279876ebb92b68f /net/host | |
parent | 23056ede212308739dc068a24e4a5c45974062f3 (diff) | |
download | pkgsrc-2f2acfdf848f2ab5841a93ed624daa11f8dd88ca.tar.gz |
added support for IRIX 5
Diffstat (limited to 'net/host')
-rw-r--r-- | net/host/Makefile | 7 | ||||
-rw-r--r-- | net/host/distinfo | 5 | ||||
-rw-r--r-- | net/host/patches/patch-aa | 15 | ||||
-rw-r--r-- | net/host/patches/patch-ac | 13 |
4 files changed, 34 insertions, 6 deletions
diff --git a/net/host/Makefile b/net/host/Makefile index 9403cdd7c33..af219163702 100644 --- a/net/host/Makefile +++ b/net/host/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/10/03 09:04:10 schwarz Exp $ +# $NetBSD: Makefile,v 1.15 2006/10/03 14:25:55 schwarz Exp $ DISTNAME= host-20040812 CATEGORIES= net @@ -15,11 +15,16 @@ MAKE_FILE= Makefile.BSD MAKE_FLAGS+= __NetBSD__=1 +USE_TOOLS+= nroff + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" CPPFLAGS+= -DBIND_8_COMPAT BUILDLINK_TRANSFORM+= rm:-Wl,--warn-common BUILDLINK_TRANSFORM+= rm:-static .endif +.if !empty(LOWER_OPSYS:Mirix5*) +CPPFLAGS+= -DIRIX5 +.endif .include "../../mk/bsd.pkg.mk" diff --git a/net/host/distinfo b/net/host/distinfo index 31a941ca8c0..273b928ab4b 100644 --- a/net/host/distinfo +++ b/net/host/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.8 2006/03/16 17:32:03 joerg Exp $ +$NetBSD: distinfo,v 1.9 2006/10/03 14:25:55 schwarz Exp $ SHA1 (host-20040812.tar.gz) = 02027effe88a851e6cecf133cef8ba096af48258 RMD160 (host-20040812.tar.gz) = d8fc5a0a4218eae75bcd14cce4353f82f049175e Size (host-20040812.tar.gz) = 147758 bytes -SHA1 (patch-aa) = bf2d0b44271feed9a1e595d78e34304052e34ab5 +SHA1 (patch-aa) = d8f3d0e446463338d6fc7328990895ba9c8246f9 SHA1 (patch-ab) = 4a5cde3d31deb4855f25a31af0d429d1278689c0 +SHA1 (patch-ac) = 35cf473a23b32b2f13f46bc6faba826c1ea3ae7c diff --git a/net/host/patches/patch-aa b/net/host/patches/patch-aa index fe4c2a9f38f..3e0f8b15aca 100644 --- a/net/host/patches/patch-aa +++ b/net/host/patches/patch-aa @@ -1,7 +1,16 @@ -$NetBSD: patch-aa,v 1.3 2005/03/26 05:19:20 christos Exp $ +$NetBSD: patch-aa,v 1.4 2006/10/03 14:25:55 schwarz Exp $ ---- port.h.orig 2003-06-04 21:00:07.000000000 -0400 -+++ port.h 2005-03-24 16:00:55.000000000 -0500 +--- port.h.orig 2003-06-05 03:00:07.000000000 +0200 ++++ port.h 2006-10-03 16:23:18.000000000 +0200 +@@ -76,7 +76,7 @@ + * Every other conceivable version of the BIND-based resolvers should have one + * or both of __BIND and/or __NAMESER defined to define their API version. + */ +-#if !defined(__BIND) && !defined(__NAMESER) ++#if !defined(__BIND) && !defined(__NAMESER) && !defined(IRIX5) + # define BIND_4_8 1 /* XXX this should be ``#include "ERROR!!!"''*/ + #endif + @@ -154,7 +154,8 @@ */ #if defined(__NAMESER) && (!defined(__GLIBC__) || ((__RES - 0) > 19991006)) && \ diff --git a/net/host/patches/patch-ac b/net/host/patches/patch-ac new file mode 100644 index 00000000000..d224c3c3552 --- /dev/null +++ b/net/host/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.4 2006/10/03 14:25:55 schwarz Exp $ + +--- host.h.orig 2006-10-03 15:54:29.000000000 +0200 ++++ host.h 2006-10-03 15:55:13.000000000 +0200 +@@ -151,7 +151,7 @@ + extern int h_errno; /* defined in the resolver library */ + #endif + +-#ifndef _res ++#if !defined(_res) && !defined(IRIX5) + extern res_state_t _res; /* defined in res_init.c */ + #endif + |