Make it build on DragonFly.

This commit is contained in:
hasso 2009-06-24 20:44:21 +00:00
parent 6609e229a4
commit 9b44bb9699
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.2 2009/04/21 22:52:37 roy Exp $
$NetBSD: distinfo,v 1.3 2009/06/24 20:44:21 hasso Exp $
SHA1 (pdns-recursor-3.1.7.tar.bz2) = 3e9c46e432d57edd58f767311247e750350883e9
RMD160 (pdns-recursor-3.1.7.tar.bz2) = 359b3e3fff942f9fd14bebe4bc16b9d6cd23d0e3
@ -10,3 +10,4 @@ SHA1 (patch-ad) = a28cdd1a6e860c1c9460c36e2e8acece4b163436
SHA1 (patch-ae) = 54ce9208671928bf4b63331f2a248b601325541e
SHA1 (patch-af) = 23b8dbad8f7f69652d7417ca6dcca4dde4a6fe57
SHA1 (patch-ag) = 952182b856fa0ec995d9ba307124e069c1831049
SHA1 (patch-ah) = 1d8c62313b730afed492b12e6e28c1c0757e9c24

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2009/06/24 20:44:21 hasso Exp $
--- brg_endian.h.orig 2009-06-24 11:27:29 +0300
+++ brg_endian.h 2009-06-24 11:28:15 +0300
@@ -34,7 +34,7 @@
/* Include files where endian defines and byteswap functions may reside */
#if defined( __sun )
# include <sys/isa_defs.h>
-#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
+#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ ) || defined( __DragonFly__ )
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 ) || defined( __APPLE__ ) || \
defined( __CYGWIN32__ ) || defined( __DJGPP__ ) || defined( __osf__ )