svn commit: r426987 - in head/dns/powerdns-recursor: . files
Jan Beich
jbeich at FreeBSD.org
Thu Nov 24 02:30:23 UTC 2016
Author: jbeich
Date: Thu Nov 24 02:30:22 2016
New Revision: 426987
URL: https://svnweb.freebsd.org/changeset/ports/426987
Log:
dns/powerdns-recursor: work around crash with boost 1.62
Assertion failed: (this != &x), function operator=, file /usr/local/include/boost/container/string.hpp, line 830.
PR: 214470
Approved by: Ralf van der Enden <tremere at cainites.net> (maintainer)
Added:
head/dns/powerdns-recursor/files/patch-dnsname.hh (contents, props changed)
Modified:
head/dns/powerdns-recursor/Makefile (contents, props changed)
Modified: head/dns/powerdns-recursor/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile Thu Nov 24 00:29:09 2016 (r426986)
+++ head/dns/powerdns-recursor/Makefile Thu Nov 24 02:30:22 2016 (r426987)
@@ -3,7 +3,7 @@
PORTNAME= recursor
PORTVERSION= 4.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/
PKGNAMEPREFIX= powerdns-
Added: head/dns/powerdns-recursor/files/patch-dnsname.hh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/powerdns-recursor/files/patch-dnsname.hh Thu Nov 24 02:30:22 2016 (r426987)
@@ -0,0 +1,22 @@
+https://github.com/PowerDNS/pdns/issues/2955
+
+--- dnsname.hh.orig 2016-09-06 12:50:29 UTC
++++ dnsname.hh
+@@ -30,7 +30,7 @@
+ #include <boost/version.hpp>
+
+ // it crashes on OSX and doesn't compile on OpenBSD
+-#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
++#if BOOST_VERSION >= 104800 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
+ #include <boost/container/string.hpp>
+ #endif
+
+@@ -133,7 +133,7 @@ public:
+ inline bool canonCompare(const DNSName& rhs) const;
+ bool slowCanonCompare(const DNSName& rhs) const;
+
+-#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
++#if BOOST_VERSION >= 104800 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
+ typedef boost::container::string string_t;
+ #else
+ typedef std::string string_t;
More information about the svn-ports-all
mailing list