7
0
Files
nodejs-electron/vulkan_memory_allocator-vk_mem_alloc-missing-snprintf.patch
Bruno Pitrus 2b00d0feee Accepting request 1070589 from home:dziobian:gulgul-ultron:19
- New upstream release 22.3.2
  * Fixed window could not go back to maximized state when restored
  * Improved error messages for contents.takeHeapSnapshot
- Disable some debugging code
- Revert disablement of _package_note_file on Fedora
- Switch to default BFD linker on aarch64 Fedora 36
- Fix FTBFS on Rawhide
  * angle-ShaderVars-missing-uint32_t.patch
  * openscreen-gcc13-missing-headers.patch
  * perfetto-uuid-missing-uint8_t.patch
  * swiftshader-LRUCache-missing-uint64_t.patch
  * vulkan_memory_allocator-vk_mem_alloc-missing-snprintf.patch
  * profiler-missing-uintptr_t.patch
  * components-gcc13-missing-headers.patch
  * one_writer_seqlock-missing-uintptr_t.patch
  * bluetooth_uuid-missing-uint8_t.patch
  * broker_file_permission-missing-uint64_t.patch
  * net-third_party-quiche-gcc13-missing-headers.patch
  * webrtc-base64-missing-uint8_t.patch
  * ui-gcc13-missing-headers.patch
  * net-gcc13-missing-headers.patch
  * extensions-gcc13-missing-headers.patch
  * target_property-missing-uint32_t.patch
  * gpu_feature_info-missing-uint32_t.patch
  * blink-gcc13-missing-headers.patch
  * effect_paint_property_node-Wchanges-meaning.patch
- New upstream release 22.3.1
  * no changes
- Actually fix -lz inserted in wrong place in the modules build command line

OBS-URL: https://build.opensuse.org/request/show/1070589
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=65
2023-03-10 06:02:08 +00:00

27 lines
858 B
Diff

From 29d492b60c84ca784ea0943efc7d2e6e0f3bdaac Mon Sep 17 00:00:00 2001
From: Adam Sawicki <adam.sawicki@amd.com>
Date: Thu, 19 Jan 2023 13:19:55 +0100
Subject: [PATCH] Added missing #include <cstdio>
For snprintf, for compatibility with GCC 13.
Fixes #312 - thanks @marxin !
---
include/vk_mem_alloc.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h
index b787c36..0fe459b 100644
--- a/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
+++ b/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
@@ -2403,6 +2403,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString(
#endif
#endif
+#if VMA_STATS_STRING_ENABLED
+ #include <cstdio> // For snprintf
+#endif
+
/*******************************************************************************
CONFIGURATION SECTION