Subject: Re: BIND problems after upgrade
To: Christos Zoulas <christos@astron.com>
From: Radek Kujawa <radoslaw.kujawa@altkom.pl>
List: port-macppc
Date: 03/10/2007 20:34:10
Christos Zoulas wrote:
> Can you try to disable the thread code?
>   
In a private mail, one nice person sent me following patch:

--- rbt.c-orig  2006-07-13 15:02:18.000000000 -0700
+++ rbt.c       2007-03-06 22:06:16.000000000 -0800
@@ -166,6 +166,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;


This patch comes from pkgsrc/net/bind9/patches/ . It fixed my named, now 
it works like a charm. I can build non-threaded version of BIND and 
check what's going to happen, if it will help.

Radek