summaryrefslogtreecommitdiff
path: root/net/bind96/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'net/bind96/patches/patch-ag')
-rw-r--r--net/bind96/patches/patch-ag15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/bind96/patches/patch-ag b/net/bind96/patches/patch-ag
new file mode 100644
index 00000000000..dc26c62f0cd
--- /dev/null
+++ b/net/bind96/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.1.1 2009/01/04 00:21:36 adrianp Exp $
+
+--- lib/dns/rbt.c.orig 2004-03-08 21:06:27.000000000 +0000
++++ lib/dns/rbt.c 2005-03-16 13:45:23.000000000 +0000
+@@ -165,6 +165,10 @@
+ static void dns_rbt_printnodename(dns_rbtnode_t *node);
+ #endif
+
++#if !defined(inline) && defined(__powerpc__)
++#define inline /**/
++#endif
++
+ static inline dns_rbtnode_t *
+ find_up(dns_rbtnode_t *node) {
+ dns_rbtnode_t *root;