pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/host added support for IRIX 5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a55325de38ad
branches:  trunk
changeset: 519462:a55325de38ad
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Tue Oct 03 14:25:55 2006 +0000

description:
added support for IRIX 5

diffstat:

 net/host/Makefile         |   7 ++++++-
 net/host/distinfo         |   5 +++--
 net/host/patches/patch-aa |  15 ++++++++++++---
 net/host/patches/patch-ac |  13 +++++++++++++
 4 files changed, 34 insertions(+), 6 deletions(-)

diffs (80 lines):

diff -r 3e947a2af50f -r a55325de38ad net/host/Makefile
--- a/net/host/Makefile Tue Oct 03 14:22:16 2006 +0000
+++ b/net/host/Makefile Tue Oct 03 14:25:55 2006 +0000
@@ -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_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 -r 3e947a2af50f -r a55325de38ad net/host/distinfo
--- a/net/host/distinfo Tue Oct 03 14:22:16 2006 +0000
+++ b/net/host/distinfo Tue Oct 03 14:25:55 2006 +0000
@@ -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 -r 3e947a2af50f -r a55325de38ad net/host/patches/patch-aa
--- a/net/host/patches/patch-aa Tue Oct 03 14:22:16 2006 +0000
+++ b/net/host/patches/patch-aa Tue Oct 03 14:25:55 2006 +0000
@@ -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 -r 3e947a2af50f -r a55325de38ad net/host/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/host/patches/patch-ac Tue Oct 03 14:25:55 2006 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index