From 3ef1afc2f4a7dd7a69442b3d659076149990950e750d4610ee3ce65ccdd6ddc4 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 28 Mar 2023 05:27:43 +0000 Subject: [PATCH] Accepting request 1074800 from home:malcolmlewis:branches:benchmark - Add vkmark-cstdint-include.patch: Add missing cstdint include in scene.h, (gh#vkmark/vkmark#51). OBS-URL: https://build.opensuse.org/request/show/1074800 OBS-URL: https://build.opensuse.org/package/show/benchmark/vkmark?expand=0&rev=27 --- vkmark-cstdint-include.patch | 11 +++++++++++ vkmark.changes | 6 ++++++ vkmark.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 vkmark-cstdint-include.patch 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