diff --git a/vkmark-fix-missing-include.patch b/vkmark-fix-missing-include.patch new file mode 100644 index 0000000..9424962 --- /dev/null +++ b/vkmark-fix-missing-include.patch @@ -0,0 +1,66 @@ +diff -Nuar a/src/scenes/clear_scene.h b/src/scenes/clear_scene.h +--- a/src/scenes/clear_scene.h 2022-05-16 06:07:03.000000000 -0500 ++++ b/src/scenes/clear_scene.h 2022-09-08 19:58:27.886194974 -0500 +@@ -26,6 +26,7 @@ + #include "managed_resource.h" + + #include ++#include + + class ClearScene : public Scene + { +diff -Nuar a/src/scenes/cube_scene.h b/src/scenes/cube_scene.h +--- a/src/scenes/cube_scene.h 2022-05-16 06:07:03.000000000 -0500 ++++ b/src/scenes/cube_scene.h 2022-09-08 21:28:27.850891178 -0500 +@@ -28,6 +28,7 @@ + #define GLM_FORCE_DEPTH_ZERO_TO_ONE + #include + #include ++#include + + class Mesh; + +diff -Nuar a/src/scenes/shading_scene.h b/src/scenes/shading_scene.h +--- a/src/scenes/shading_scene.h 2022-05-16 06:07:03.000000000 -0500 ++++ b/src/scenes/shading_scene.h 2022-09-08 21:25:04.926605452 -0500 +@@ -28,6 +28,7 @@ + #define GLM_FORCE_DEPTH_ZERO_TO_ONE + #include + #include ++#include + + class Mesh; + +diff -Nuar a/src/scenes/texture_scene.h b/src/scenes/texture_scene.h +--- a/src/scenes/texture_scene.h 2022-05-16 06:07:03.000000000 -0500 ++++ b/src/scenes/texture_scene.h 2022-09-08 21:27:43.270815188 -0500 +@@ -29,6 +29,7 @@ + #define GLM_FORCE_DEPTH_ZERO_TO_ONE + #include + #include ++#include + + class Mesh; + +diff -Nuar a/src/scenes/vertex_scene.h b/src/scenes/vertex_scene.h +--- a/src/scenes/vertex_scene.h 2022-05-16 06:07:03.000000000 -0500 ++++ b/src/scenes/vertex_scene.h 2022-09-08 21:26:03.666702531 -0500 +@@ -28,6 +28,7 @@ + #define GLM_FORCE_DEPTH_ZERO_TO_ONE + #include + #include ++#include + + class Mesh; + +diff -Nuar a/src/ws/swapchain_window_system.h b/src/ws/swapchain_window_system.h +--- a/src/ws/swapchain_window_system.h 2022-05-16 06:07:03.000000000 -0500 ++++ b/src/ws/swapchain_window_system.h 2022-09-08 21:22:49.954381004 -0500 +@@ -27,6 +27,7 @@ + #include "managed_resource.h" + + #include ++#include + + class NativeSystem; + diff --git a/vkmark.changes b/vkmark.changes index dabc3da..c97e8f1 100644 --- a/vkmark.changes +++ b/vkmark.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 9 02:29:34 UTC 2022 - malcolmlewis@opensuse.org + +- Add vkmark-fix-missing-include.patch: Add missing memory include + to fix building. + ------------------------------------------------------------------- Tue Jun 28 16:32:42 UTC 2022 - malcolmlewis@opensuse.org diff --git a/vkmark.spec b/vkmark.spec index fc2df9d..275e7fe 100644 --- a/vkmark.spec +++ b/vkmark.spec @@ -2,7 +2,7 @@ # spec file for package vkmark # # Copyright (c) 2022 SUSE LLC -# Copyright (c) 2018-2019 Malcolm J Lewis +# Copyright (c) 2018-2022 Malcolm J Lewis # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Summary: Vulkan benchmark utility License: LGPL-2.1-or-later URL: https://github.com/vkmark/vkmark Source0: %{name}-%{version}.tar.xz +#PATCH-FIX-OPENSUSE vkmark-fix-missing-include.patch malcolmlewis@opensuse.org -- Add missing memory include to fix building +Patch0: vkmark-fix-missing-include.patch BuildRequires: gcc-c++ BuildRequires: glm-devel BuildRequires: meson >= 0.45 @@ -44,7 +46,7 @@ BuildRequires: Mesa-libVulkan-devel An extensible Vulkan benchmarking suite with targeted, configurable scenes. %prep -%autosetup +%autosetup -p1 %build %meson