openbsd-ports/net/powerdns/patches/patch-pdns_dns_hh
jasper cd55a396b9 import powerdns 2.9.21.1
pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).

original port by dlg@ and robert@, banged into shape by me.
not hooked to the builds as this needs further testing/tweaking
2008-10-02 18:40:41 +00:00

13 lines
355 B
Plaintext

$OpenBSD: patch-pdns_dns_hh,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
--- pdns/dns.hh.orig Sat Apr 21 23:56:36 2007
+++ pdns/dns.hh Sun Aug 3 11:52:57 2008
@@ -173,6 +173,8 @@ typedef enum {
#include <machine/endian.h>
#elif __linux__
# include <endian.h>
+#elif __OpenBSD__
+# include <sys/endian.h>
#else // with thanks to <arpa/nameser.h>