--- dns/powerdns-recursor/Makefile +++ dns/powerdns-recursor/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= recursor -PORTVERSION= 4.0.4 -PORTREVISION= 3 +PORTVERSION= 4.0.5 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- @@ -21,7 +20,7 @@ BROKEN_armv6= fails to compile: use of BROKEN_sparc64= fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string -USES= compiler:c++11-lib cpe gmake localbase pkgconfig ssl tar:bzip2 +USES= autoreconf compiler:c++11-lib cpe gmake libtool localbase pkgconfig ssl tar:bzip2 GNU_CONFIGURE= YES CXXFLAGS+= -D_GLIBCXX_USE_C99 --- dns/powerdns-recursor/distinfo +++ dns/powerdns-recursor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1484621032 -SHA256 (pdns-recursor-4.0.4.tar.bz2) = 2338778f49ccd03401e65f6f4b39047890e691c8ff6d810ecee45321fb4f1e4d -SIZE (pdns-recursor-4.0.4.tar.bz2) = 1050596 +TIMESTAMP = 1498467562 +SHA256 (pdns-recursor-4.0.5.tar.bz2) = ba43ce4280b3a06afebe58c5d63680f51dd525c63d1de7f3b229b380e6b1b7af +SIZE (pdns-recursor-4.0.5.tar.bz2) = 1066145 --- dns/powerdns-recursor/files/patch-broken-configure-gh-issue-5401 +++ dns/powerdns-recursor/files/patch-broken-configure-gh-issue-5401 @@ -0,0 +1,11 @@ +--- m4/pdns_check_os.m4.orig 2017-06-13 11:58:51.000000000 +0200 ++++ m4/pdns_check_os.m4 2017-06-26 14:31:43.581292095 +0200 +@@ -39,7 +39,7 @@ AC_DEFUN([PDNS_CHECK_OS],[ + mips* | powerpc* ) + AX_CHECK_LINK_FLAG([-latomic], + [ : ], +- AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) ++ [ AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) ] + ) + LDFLAGS="-latomic $LDFLAGS" + ;; --- dns/powerdns-recursor/files/patch-ext_json11_json11.cpp +++ dns/powerdns-recursor/files/patch-ext_json11_json11.cpp @@ -1,37 +0,0 @@ ---- ext/json11/json11.cpp.orig 2017-01-18 18:06:37 UTC -+++ ext/json11/json11.cpp -@@ -37,11 +37,21 @@ using std::make_shared; - using std::initializer_list; - using std::move; - -+/* Helper for representing null - just a do-nothing struct, plus comparison -+ * operators so the helpers in JsonValue work. We can't use nullptr_t because -+ * it may not be orderable. -+*/ -+ -+struct NullStruct { -+ bool operator==(NullStruct) const { return true; } -+ bool operator<(NullStruct) const { return false; } -+}; -+ - /* * * * * * * * * * * * * * * * * * * * - * Serialization - */ - --static void dump(std::nullptr_t, string &out) { -+static void dump(NullStruct, string &out) { - out += "null"; - } - -@@ -204,9 +214,9 @@ public: - explicit JsonObject(Json::object &&value) : Value(move(value)) {} - }; - --class JsonNull final : public Value { -+class JsonNull final : public Value { - public: -- JsonNull() : Value(nullptr) {} -+ JsonNull() : Value({}) {} - }; - - /* * * * * * * * * * * * * * * * * * * *