summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-10-23 01:12:45 +0200
committerSam James <sam@gentoo.org>2024-10-30 02:54:43 +0000
commit0f6b652f94f4649890a6e54d3aa919f9026edeaa (patch)
treef4a0f06221d1b3a8e61aee09d64f9338a5bb9f8c /dev-qt/qtwebengine/files
parentdev-qt/qtwebengine: 5.15.14_p20240510 Fix compilation on GCC 15 (diff)
downloadgentoo-0f6b652f94f4649890a6e54d3aa919f9026edeaa.tar.gz
gentoo-0f6b652f94f4649890a6e54d3aa919f9026edeaa.tar.bz2
gentoo-0f6b652f94f4649890a6e54d3aa919f9026edeaa.zip
dev-qt/qtwebengine: 5.15.14_p20240510 Fix template-id in ctor
Bug: https://bugs.gentoo.org/938685 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/files')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-gcc15-template-id-cdtor.patch93
1 files changed, 93 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-gcc15-template-id-cdtor.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-gcc15-template-id-cdtor.patch
new file mode 100644
index 000000000000..b1e14c5d3f80
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.14_p20240510-gcc15-template-id-cdtor.patch
@@ -0,0 +1,93 @@
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Wed, 23 Oct 2024 01:04:16 +0200
+Subject: template-id-cdtor
+
+warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
+
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
+--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h
++++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h
+@@ -45,7 +45,7 @@ class StringTypeAdapter<char> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<char>(char buffer) : buffer_(buffer) {}
++ explicit StringTypeAdapter(char buffer) : buffer_(buffer) {}
+
+ unsigned length() const { return 1; }
+ bool Is8Bit() const { return true; }
+@@ -62,7 +62,7 @@ class StringTypeAdapter<LChar> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<LChar>(LChar buffer) : buffer_(buffer) {}
++ explicit StringTypeAdapter(LChar buffer) : buffer_(buffer) {}
+
+ unsigned length() const { return 1; }
+ bool Is8Bit() const { return true; }
+@@ -79,7 +79,7 @@ class StringTypeAdapter<UChar> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<UChar>(UChar buffer) : buffer_(buffer) {}
++ explicit StringTypeAdapter(UChar buffer) : buffer_(buffer) {}
+
+ unsigned length() const { return 1; }
+ bool Is8Bit() const { return buffer_ <= 0xff; }
+@@ -100,7 +100,7 @@ class WTF_EXPORT StringTypeAdapter<char*> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<char*>(char* buffer)
++ explicit StringTypeAdapter(char* buffer)
+ : StringTypeAdapter(buffer, strlen(buffer)) {}
+
+ unsigned length() const { return length_; }
+@@ -110,7 +110,7 @@ class WTF_EXPORT StringTypeAdapter<char*> {
+ void WriteTo(UChar* destination) const;
+
+ private:
+- StringTypeAdapter<char*>(char* buffer, size_t length);
++ StringTypeAdapter(char* buffer, size_t length);
+
+ const char* buffer_;
+ unsigned length_;
+@@ -121,7 +121,7 @@ class WTF_EXPORT StringTypeAdapter<LChar*> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<LChar*>(LChar* buffer);
++ explicit StringTypeAdapter(LChar* buffer);
+
+ unsigned length() const { return length_; }
+ bool Is8Bit() const { return true; }
+@@ -157,7 +157,7 @@ class WTF_EXPORT StringTypeAdapter<const char*> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<const char*>(const char* buffer);
++ explicit StringTypeAdapter(const char* buffer);
+
+ unsigned length() const { return length_; }
+ bool Is8Bit() const { return true; }
+@@ -175,7 +175,7 @@ class WTF_EXPORT StringTypeAdapter<const LChar*> {
+ DISALLOW_NEW();
+
+ public:
+- explicit StringTypeAdapter<const LChar*>(const LChar* buffer);
++ explicit StringTypeAdapter(const LChar* buffer);
+
+ unsigned length() const { return length_; }
+ bool Is8Bit() const { return true; }
+--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h
++++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h
+@@ -115,7 +115,7 @@ class StringTypeAdapter<StringAppend<StringType1, StringType2>> {
+ STACK_ALLOCATED();
+
+ public:
+- StringTypeAdapter<StringAppend<StringType1, StringType2>>(
++ StringTypeAdapter(
+ const StringAppend<StringType1, StringType2>& buffer)
+ : buffer_(buffer) {}
+