external/skia/missing-include.patch.0 | 10 ++++++++++ 1 file changed, 10 insertions(+)
New commits: commit 81e8d1c30bdf3d2e6c9d1a742c3470cc58e22c3e Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Jan 16 08:16:00 2023 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Jan 31 14:53:32 2023 +0000 external/skia: Missing include > In file included from workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.cpp:27: > In file included from workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/GrVulkanMemoryAllocator.h:35: > workdir/UnpackedTarball/skia/third_party/vulkanmemoryallocator/include/vk_mem_alloc.h:2817:9: error: use of undeclared identifier 'snprintf' > snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num)); > ^ etc. Change-Id: I4f13c8a137f23ef62d67c3b4dfa8f1c0ddfc5ec9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145552 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> (cherry picked from commit 5877c6b118c99c9ec807a111471bfd67720a5086) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146328 Reviewed-by: Sam James <s...@gentoo.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/external/skia/missing-include.patch.0 b/external/skia/missing-include.patch.0 index 6b15e87590b5..5d1d0609b989 100644 --- a/external/skia/missing-include.patch.0 +++ b/external/skia/missing-include.patch.0 @@ -8,3 +8,13 @@ #include <unordered_map> #include <vector> #include "include/core/SkSpan.h" +--- third_party/vulkanmemoryallocator/include/vk_mem_alloc.h ++++ third_party/vulkanmemoryallocator/include/vk_mem_alloc.h +@@ -2570,6 +2570,7 @@ + #include <cstring> + #include <utility> + #include <type_traits> ++#include <stdio.h> + + #ifdef _MSC_VER + #include <intrin.h> // For functions like __popcnt, _BitScanForward etc.