[Libreoffice-commits] core.git: external/skia
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 27 13:16:19 UTC 2019
external/skia/UnpackedTarball_skia.mk | 1 +
external/skia/Wdeprecated-copy.patch.0 | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
New commits:
commit 73d3bb1c581d8a2d95fef8e082350d62f6c3a448
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Nov 27 14:01:15 2019 +0100
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Wed Nov 27 14:13:38 2019 +0100
external/skia: -Werror,-Wdeprecated-copy
> In file included from vcl/skia/gdiimpl.cxx:20:
> In file included from vcl/inc/skia/gdiimpl.hxx:28:
> In file included from workdir/UnpackedTarball/skia/include/core/SkSurface.h:13:
> workdir/UnpackedTarball/skia/include/core/SkSurfaceProps.h:66:5: error: definition of implicit copy assignment operator for 'SkSurfaceProps' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
> SkSurfaceProps(const SkSurfaceProps& other);
> ^
> workdir/UnpackedTarball/skia/tools/sk_app/DisplayParams.h:16:8: note: in implicit copy assignment operator for 'SkSurfaceProps' first required here
> struct DisplayParams {
> ^
> workdir/UnpackedTarball/skia/tools/sk_app/VulkanWindowContext.h:57:24: note: in implicit copy assignment operator for 'sk_app::DisplayParams' first required here
> fDisplayParams = params;
> ^
with recent Clang 10 trunk, similar to ae71a0adef64b292ab01194817d2d763f7c85433
"Remove some redundantly user-declared copy ctors and assignment ops"
Change-Id: I71263d8b3725478afc3a72f6f3ee9d73a277a8fd
Reviewed-on: https://gerrit.libreoffice.org/83907
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
Tested-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/external/skia/UnpackedTarball_skia.mk b/external/skia/UnpackedTarball_skia.mk
index 22a1a0d40720..acbd68d87c9e 100644
--- a/external/skia/UnpackedTarball_skia.mk
+++ b/external/skia/UnpackedTarball_skia.mk
@@ -23,6 +23,7 @@ skia_patches := \
libvulkan-name.patch.1 \
share-grcontext.patch.1 \
c++20-comparison.patch.0 \
+ Wdeprecated-copy.patch.0 \
$(eval $(call gb_UnpackedTarball_set_patchlevel,skia,1))
diff --git a/external/skia/Wdeprecated-copy.patch.0 b/external/skia/Wdeprecated-copy.patch.0
new file mode 100644
index 000000000000..4e0682bcebd9
--- /dev/null
+++ b/external/skia/Wdeprecated-copy.patch.0
@@ -0,0 +1,24 @@
+--- include/core/SkSurfaceProps.h
++++ include/core/SkSurfaceProps.h
+@@ -63,7 +63,6 @@
+ };
+ SkSurfaceProps(InitType);
+ SkSurfaceProps(uint32_t flags, InitType);
+- SkSurfaceProps(const SkSurfaceProps& other);
+
+ uint32_t flags() const { return fFlags; }
+ SkPixelGeometry pixelGeometry() const { return fPixelGeometry; }
+--- src/image/SkSurface.cpp
++++ src/image/SkSurface.cpp
+@@ -52,11 +52,6 @@
+ : fFlags(flags), fPixelGeometry(pg)
+ {}
+
+-SkSurfaceProps::SkSurfaceProps(const SkSurfaceProps& other)
+- : fFlags(other.fFlags)
+- , fPixelGeometry(other.fPixelGeometry)
+-{}
+-
+ ///////////////////////////////////////////////////////////////////////////////
+
+ SkSurface_Base::SkSurface_Base(int width, int height, const SkSurfaceProps* props)
More information about the Libreoffice-commits
mailing list