FreeBSD Bugzilla – Attachment 179043 Details for
Bug 216071
dns/powerdns and dns/powerdns-recursor: fail to build with clang 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-pdns-recursor
patch-pdns-recursor.diff (text/plain), 2.10 KB, created by
Carlos J. Puga Medina
on 2017-01-18 18:24:50 UTC
(
hide
)
Description:
patch-pdns-recursor
Filename:
MIME Type:
Creator:
Carlos J. Puga Medina
Created:
2017-01-18 18:24:50 UTC
Size:
2.10 KB
patch
obsolete
>Index: dns/powerdns-recursor/Makefile >=================================================================== >--- dns/powerdns-recursor/Makefile (revision 431818) >+++ dns/powerdns-recursor/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= recursor > PORTVERSION= 4.0.4 >+PORTREVISION= 1 > CATEGORIES= dns ipv6 > MASTER_SITES= http://downloads.powerdns.com/releases/ > PKGNAMEPREFIX= powerdns- >Index: dns/powerdns-recursor/files/patch-ext_json11_json11.cpp >=================================================================== >--- dns/powerdns-recursor/files/patch-ext_json11_json11.cpp (nonexistent) >+++ dns/powerdns-recursor/files/patch-ext_json11_json11.cpp (working copy) >@@ -0,0 +1,37 @@ >+--- 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<Json::NUL, std::nullptr_t> { >++class JsonNull final : public Value<Json::NUL, NullStruct> { >+ public: >+- JsonNull() : Value(nullptr) {} >++ JsonNull() : Value({}) {} >+ }; >+ >+ /* * * * * * * * * * * * * * * * * * * * > >Property changes on: dns/powerdns-recursor/files/patch-ext_json11_json11.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tremere
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 216071
:
179042
| 179043