diff options
author | cpm <cpm@FreeBSD.org> | 2017-08-23 04:38:35 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2017-08-23 04:38:35 +0800 |
commit | b992f06cada736cece61fb9ea72140e75f724a85 (patch) | |
tree | 3b65c4c1be3a98caecd9c15fe072d78ac248bc51 /dns/dnsdist/files | |
parent | 7e9400ecb547169a02701cc42181ac652a3d33c4 (diff) | |
download | freebsd-ports-gnome-b992f06cada736cece61fb9ea72140e75f724a85.tar.gz freebsd-ports-gnome-b992f06cada736cece61fb9ea72140e75f724a85.tar.zst freebsd-ports-gnome-b992f06cada736cece61fb9ea72140e75f724a85.zip |
- Update to 1.2.0
- Remove patch that was upstreamed
- Switch from devel/llvm39 to devel/llvm40 when building on 10.3
- Update WWW in pkg-descr
Changes: https://mailman.powerdns.com/pipermail/dnsdist/2017-August/000358.html
MFH: 2017Q3
Security: CVE-2016-7069
Security: CVE-2017-7557
Diffstat (limited to 'dns/dnsdist/files')
-rw-r--r-- | dns/dnsdist/files/patch-ext_json11_json11.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dns/dnsdist/files/patch-ext_json11_json11.cpp b/dns/dnsdist/files/patch-ext_json11_json11.cpp deleted file mode 100644 index 600308eaa51b..000000000000 --- a/dns/dnsdist/files/patch-ext_json11_json11.cpp +++ /dev/null @@ -1,36 +0,0 @@ ---- ext/json11/json11.cpp.orig 2017-01-18 02:13:48 UTC -+++ ext/json11/json11.cpp -@@ -37,11 +37,20 @@ 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 +213,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({}) {} - }; - - /* * * * * * * * * * * * * * * * * * * * |