external/skia: Missing include
...at least when building with Visual Studio 2022 Preview 17.4.0, > In file included from workdir/UnpackedTarball/skia/src/core/SkKeyHelpers.cpp:14: > workdir/UnpackedTarball/skia\src/core/SkShaderCodeDictionary.h(45,43): error: no type named 'string' in namespace 'std' > using GenerateGlueCodeForEntry = std::string (*)(const std::string& resultName, > ~~~~~^ etc. Change-Id: Idd8dafb4e57e04088ee60954ecfa601cc7588e55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141833 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
+1
@@ -39,6 +39,7 @@ skia_patches := \
|
||||
vk_mem_alloc.patch.1 \
|
||||
tdf148624.patch.1 \
|
||||
constexpr-template.patch.0 \
|
||||
missing-include.patch.0 \
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_set_patchlevel,skia,1))
|
||||
|
||||
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
--- src/core/SkShaderCodeDictionary.h
|
||||
+++ src/core/SkShaderCodeDictionary.h
|
||||
@@ -9,6 +9,7 @@
|
||||
#define SkShaderCodeDictionary_DEFINED
|
||||
|
||||
#include <array>
|
||||
+#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
#include "include/core/SkSpan.h"
|
||||
Reference in New Issue
Block a user