diff options
author | marino <marino> | 2012-05-20 19:37:49 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-20 19:37:49 +0000 |
commit | 5364ad6be8b3a1500d6037cba9a0cff10efe463b (patch) | |
tree | 97ea5f76851ec992addb8da262d2ea4e10d4a621 /net | |
parent | ee1cf14b937bb4fcce917f79489af0c832d16e91 (diff) | |
download | pkgsrc-5364ad6be8b3a1500d6037cba9a0cff10efe463b.tar.gz |
net/powerdns: Add DragonFly support
Diffstat (limited to 'net')
-rw-r--r-- | net/powerdns/distinfo | 6 | ||||
-rw-r--r-- | net/powerdns/patches/patch-pdns_aes_brg_endian.h | 14 | ||||
-rw-r--r-- | net/powerdns/patches/patch-pdns_dns.hh | 13 | ||||
-rw-r--r-- | net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c | 14 | ||||
-rw-r--r-- | net/powerdns/patches/patch-pdns_pdns_recursor.cc | 14 |
5 files changed, 60 insertions, 1 deletions
diff --git a/net/powerdns/distinfo b/net/powerdns/distinfo index 139ae0dacd5..e569aada808 100644 --- a/net/powerdns/distinfo +++ b/net/powerdns/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2012/01/23 15:11:54 ghen Exp $ +$NetBSD: distinfo,v 1.11 2012/05/20 19:37:49 marino Exp $ SHA1 (pdns-2.9.22.5.tar.gz) = 7a514fe624c110afb8a262f4d76376d0f8e17bea RMD160 (pdns-2.9.22.5.tar.gz) = 8be76a7a63c3366d55724815245e2f955ec0adda @@ -6,4 +6,8 @@ Size (pdns-2.9.22.5.tar.gz) = 1077617 bytes SHA1 (patch-aa) = e31080087d9369349e912c94e7dbfce72c9fc629 SHA1 (patch-ab) = f54ace6ff60162e50119eb11bcb2f5db5e1ea480 SHA1 (patch-configure) = 2a0beb262c421d7887dcabc56102c04b340a920b +SHA1 (patch-pdns_aes_brg_endian.h) = f7e5294251cd0d89e8ff802292f27b0c4cb50be7 +SHA1 (patch-pdns_dns.hh) = f7d95f4c28fd986e76b4c25333b1b063992aa0c5 SHA1 (patch-pdns_dynmessenger.cc) = df89ba91abc96319b323fc19b413b127112f4afb +SHA1 (patch-pdns_ext_nedmalloc_malloc.c) = 979ccbf76edf9ff8ceeded0cf6fc1e401d1c1504 +SHA1 (patch-pdns_pdns_recursor.cc) = f8dff83d9153d8c1eef2aeda23bf9338f9319b1a diff --git a/net/powerdns/patches/patch-pdns_aes_brg_endian.h b/net/powerdns/patches/patch-pdns_aes_brg_endian.h new file mode 100644 index 00000000000..2008f782aaa --- /dev/null +++ b/net/powerdns/patches/patch-pdns_aes_brg_endian.h @@ -0,0 +1,14 @@ +$NetBSD: patch-pdns_aes_brg_endian.h,v 1.1 2012/05/20 19:37:49 marino Exp $ + +--- pdns/aes/brg_endian.h.orig 2012-01-05 13:54:50.000000000 +0000 ++++ pdns/aes/brg_endian.h +@@ -34,7 +34,8 @@ + /* 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__ )
diff --git a/net/powerdns/patches/patch-pdns_dns.hh b/net/powerdns/patches/patch-pdns_dns.hh new file mode 100644 index 00000000000..5327cd49490 --- /dev/null +++ b/net/powerdns/patches/patch-pdns_dns.hh @@ -0,0 +1,13 @@ +$NetBSD: patch-pdns_dns.hh,v 1.1 2012/05/20 19:37:49 marino Exp $ + +--- pdns/dns.hh.orig 2012-05-20 19:14:49.778625000 +0000 ++++ pdns/dns.hh +@@ -173,7 +173,7 @@ enum { + #ifdef WIN32 + #define BYTE_ORDER 1 + #define LITTLE_ENDIAN 1 +-#elif __FreeBSD__ || __APPLE__ ++#elif defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__) + #include <machine/endian.h> + #elif __linux__ + # include <endian.h> diff --git a/net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c b/net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c new file mode 100644 index 00000000000..729da5993ad --- /dev/null +++ b/net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c @@ -0,0 +1,14 @@ +$NetBSD: patch-pdns_ext_nedmalloc_malloc.c,v 1.1 2012/05/20 19:37:49 marino Exp $ + +--- pdns/ext/nedmalloc/malloc.c.orig 2012-05-20 19:21:21.401620000 +0000 ++++ pdns/ext/nedmalloc/malloc.c +@@ -1213,7 +1213,8 @@ int mspace_mallopt(int, int); + #ifndef LACKS_UNISTD_H
+ #include <unistd.h> /* for sbrk */
+ #else /* LACKS_UNISTD_H */
+-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) \
++ && !defined(__DragonFly__)
+ extern void* sbrk(ptrdiff_t);
+ #endif /* FreeBSD etc */
+ #endif /* LACKS_UNISTD_H */
diff --git a/net/powerdns/patches/patch-pdns_pdns_recursor.cc b/net/powerdns/patches/patch-pdns_pdns_recursor.cc new file mode 100644 index 00000000000..1c9a9f73b45 --- /dev/null +++ b/net/powerdns/patches/patch-pdns_pdns_recursor.cc @@ -0,0 +1,14 @@ +$NetBSD: patch-pdns_pdns_recursor.cc,v 1.1 2012/05/20 19:37:49 marino Exp $ + +--- pdns/pdns_recursor.cc.orig 2012-01-05 13:54:51.000000000 +0000 ++++ pdns/pdns_recursor.cc +@@ -70,7 +70,8 @@ bool g_logCommonErrors; + shared_ptr<PowerDNSLua> g_pdl; + using namespace boost; + +-#ifdef __FreeBSD__ // see cvstrac ticket #26 ++// see cvstrac ticket #26 ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #include <pthread.h> + #include <semaphore.h> + #endif |