summaryrefslogtreecommitdiff
path: root/net/host/patches
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-10-03 14:25:55 +0000
committerschwarz <schwarz>2006-10-03 14:25:55 +0000
commit9a95dd3f57668a6dcde56c4361f5093411a7d4d3 (patch)
tree88f3e579f19f2f1a808a8c4b7279876ebb92b68f /net/host/patches
parent70b0de164d9b3666ab3a20dcbfedf001e46d7b66 (diff)
downloadpkgsrc-9a95dd3f57668a6dcde56c4361f5093411a7d4d3.tar.gz
added support for IRIX 5
Diffstat (limited to 'net/host/patches')
-rw-r--r--net/host/patches/patch-aa15
-rw-r--r--net/host/patches/patch-ac13
2 files changed, 25 insertions, 3 deletions
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
+