pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/powerdns net/powerdns: Add DragonFly support
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac8f78de0eeb
branches: trunk
changeset: 604021:ac8f78de0eeb
user: marino <marino%pkgsrc.org@localhost>
date: Sun May 20 19:37:49 2012 +0000
description:
net/powerdns: Add DragonFly support
diffstat:
net/powerdns/distinfo | 6 +++++-
net/powerdns/patches/patch-pdns_aes_brg_endian.h | 14 ++++++++++++++
net/powerdns/patches/patch-pdns_dns.hh | 13 +++++++++++++
net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c | 14 ++++++++++++++
net/powerdns/patches/patch-pdns_pdns_recursor.cc | 14 ++++++++++++++
5 files changed, 60 insertions(+), 1 deletions(-)
diffs (89 lines):
diff -r 00de16dc814b -r ac8f78de0eeb net/powerdns/distinfo
--- a/net/powerdns/distinfo Sun May 20 19:28:19 2012 +0000
+++ b/net/powerdns/distinfo Sun May 20 19:37:49 2012 +0000
@@ -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 @@
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 -r 00de16dc814b -r ac8f78de0eeb net/powerdns/patches/patch-pdns_aes_brg_endian.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns/patches/patch-pdns_aes_brg_endian.h Sun May 20 19:37:49 2012 +0000
@@ -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 -r 00de16dc814b -r ac8f78de0eeb net/powerdns/patches/patch-pdns_dns.hh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns/patches/patch-pdns_dns.hh Sun May 20 19:37:49 2012 +0000
@@ -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 -r 00de16dc814b -r ac8f78de0eeb net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns/patches/patch-pdns_ext_nedmalloc_malloc.c Sun May 20 19:37:49 2012 +0000
@@ -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 -r 00de16dc814b -r ac8f78de0eeb net/powerdns/patches/patch-pdns_pdns_recursor.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns/patches/patch-pdns_pdns_recursor.cc Sun May 20 19:37:49 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index