diff --git a/vkmark-cstdint-include.patch b/vkmark-cstdint-include.patch new file mode 100644 index 0000000..611bfa3 --- /dev/null +++ b/vkmark-cstdint-include.patch @@ -0,0 +1,11 @@ +diff -Naur a/src/scene.h b/src/scene.h +--- a/src/scene.h 2022-09-09 06:29:28.000000000 -0500 ++++ b/src/scene.h 2023-03-27 19:37:12.627735253 -0500 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + class SceneOption + { diff --git a/vkmark.changes b/vkmark.changes index 6f15bce..0301cac 100644 --- a/vkmark.changes +++ b/vkmark.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 28 00:53:01 UTC 2023 - malcolmlewis@opensuse.org + +- Add vkmark-cstdint-include.patch: Add missing cstdint include in + scene.h, (gh#vkmark/vkmark#51). + ------------------------------------------------------------------- Thu Feb 2 01:32:52 UTC 2023 - malcolmlewis@opensuse.org diff --git a/vkmark.spec b/vkmark.spec index fb33267..6a18fda 100644 --- a/vkmark.spec +++ b/vkmark.spec @@ -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-UPSTREAM vkmark-cstdint-include.patch gh#vkmark/vkmark#51 malcolmlewis@opensuse.org Add missing cstdint include in scene.h. +Patch0: vkmark-cstdint-include.patch BuildRequires: gcc-c++ BuildRequires: glm-devel BuildRequires: meson >= 0.45 @@ -41,7 +43,7 @@ ExcludeArch: %{arm} %{ix86} An extensible Vulkan benchmarking suite with targeted, configurable scenes. %prep -%autosetup +%autosetup -p1 %build %meson