mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-08 23:24:43 +02:00
qtwebengine: Fix build with clang-11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 46f0abc66c1d78c60a0415c5cb46852ef3bfa9bb Mon Sep 17 00:00:00 2001
|
||||
From: Nico Weber <thakis@chromium.org>
|
||||
Date: Sat, 8 Feb 2020 21:26:53 -0500
|
||||
Subject: [PATCH] Fix compile error emitted by trunk clang
|
||||
|
||||
../../third_party/perfetto/src/tracing/core/virtual_destructors.cc:33:35:
|
||||
error: destructor cannot be declared using a type alias
|
||||
'perfetto::TracingService::ConsumerEndpoint' (aka
|
||||
'perfetto::ConsumerEndpoint') of the class name
|
||||
TracingService::ConsumerEndpoint::~ConsumerEndpoint() = default;
|
||||
|
||||
Bug: chromium:1050372
|
||||
Change-Id: Icc1a8cca06b72ee3322924dc0825ebb62086f730
|
||||
--- a/chromium/third_party/perfetto/src/tracing/core/virtual_destructors.cc
|
||||
+++ b/chromium/third_party/perfetto/src/tracing/core/virtual_destructors.cc
|
||||
@@ -30,8 +30,8 @@ namespace perfetto {
|
||||
Consumer::~Consumer() = default;
|
||||
Producer::~Producer() = default;
|
||||
TracingService::~TracingService() = default;
|
||||
-TracingService::ConsumerEndpoint::~ConsumerEndpoint() = default;
|
||||
-TracingService::ProducerEndpoint::~ProducerEndpoint() = default;
|
||||
+ConsumerEndpoint::~ConsumerEndpoint() = default;
|
||||
+ProducerEndpoint::~ProducerEndpoint() = default;
|
||||
SharedMemory::~SharedMemory() = default;
|
||||
SharedMemory::Factory::~Factory() = default;
|
||||
SharedMemoryArbiter::~SharedMemoryArbiter() = default;
|
||||
@@ -176,6 +176,7 @@ SRC_URI += " \
|
||||
file://chromium/0013-chromium-Fix-bison-3.7.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0014-chromium-icu-use-system-library-only-targets.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0015-chromium-Fix-sandbox-Aw-snap-for-syscalls-403-and-40.patch;patchdir=src/3rdparty \
|
||||
file://chromium/0016-chromium-Fix-compiler-error-emitted-with-clang11.patch;patchdir=src/3rdparty \
|
||||
"
|
||||
|
||||
# Patches from https://github.com/meta-qt5/qtwebengine-chromium/commits/80-based
|
||||
|
||||
Reference in New Issue
Block a user