summaryrefslogtreecommitdiff
path: root/net-libs/davix/files/davix-0.8.5-gcc14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/davix/files/davix-0.8.5-gcc14.patch')
-rw-r--r--net-libs/davix/files/davix-0.8.5-gcc14.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-libs/davix/files/davix-0.8.5-gcc14.patch b/net-libs/davix/files/davix-0.8.5-gcc14.patch
new file mode 100644
index 000000000000..2e2c8bd663ac
--- /dev/null
+++ b/net-libs/davix/files/davix-0.8.5-gcc14.patch
@@ -0,0 +1,12 @@
+Fix bundled rapidjson build with GCC 14.
+
+--- a/src/libs/rapidjson/document.h
++++ b/src/libs/rapidjson/document.h
+@@ -316,8 +316,6 @@ struct GenericStringRef {
+
+ GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
+
+- GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
+-
+ //! implicit conversion to plain CharType pointer
+ operator const Ch *() const { return s; }