Files
pkgsrc-ng/net/bind910/patches/patch-lib_dns_rbt.c
2016-11-18 22:39:22 +01:00

18 lines
376 B
C

$NetBSD: patch-lib_dns_rbt.c,v 1.5 2016/07/19 01:08:05 taca Exp $
* Disable inline on powerpc.
--- lib/dns/rbt.c.orig 2016-07-13 23:58:03.000000000 +0000
+++ lib/dns/rbt.c
@@ -348,6 +348,10 @@ hexdump(const char *desc, unsigned char
}
#endif /* DEBUG */
+#if !defined(inline) && defined(__powerpc__)
+#define inline /**/
+#endif
+
#ifdef DNS_RBT_USEHASH
/*