www-client/chromium: fix build with gcc-13

Closes: https://bugs.gentoo.org/905778
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2023-05-05 19:25:52 -04:00
parent a9cac53fc6
commit ea9fdbdfa6
2 changed files with 11 additions and 0 deletions
@@ -349,6 +349,7 @@ src_prepare() {
"${FILESDIR}/chromium-113-system-zlib.patch"
"${FILESDIR}/chromium-113-web_view_impl-cstring.patch"
"${FILESDIR}/chromium-113-std-monospace.patch"
"${FILESDIR}/chromium-113-gcc-13-0001-vulkanmemoryallocator.patch"
)
if use ppc64 ; then
@@ -0,0 +1,10 @@
--- a/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
+++ b/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
@@ -2579,6 +2579,7 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(
#undef VMA_IMPLEMENTATION
#include <cstdint>
+#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <utility>