openbsd-ports/net/powerdns/patches/patch-pdns_dns_hh
sthen d72e2bdbfd From Brad:
- Update the autoconf script now that our gcc properly obeys -rdynamic
- Improve patch for dns.hh header

From me:

- Add an rc script
2011-10-24 19:47:55 +00:00

13 lines
389 B
Plaintext

$OpenBSD: patch-pdns_dns_hh,v 1.4 2011/10/24 19:47:55 sthen Exp $
--- pdns/dns.hh.orig Sat Nov 15 15:05:43 2008
+++ pdns/dns.hh Fri Oct 21 08:37:48 2011
@@ -173,7 +173,7 @@ enum {
#ifdef WIN32
#define BYTE_ORDER 1
#define LITTLE_ENDIAN 1
-#elif __FreeBSD__ || __APPLE__
+#elif __FreeBSD__ || __APPLE__ || __OpenBSD__
#include <machine/endian.h>
#elif __linux__
# include <endian.h>