From be543b3840affdfcff76472b80cf94f46d3b78cc Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Thu, 19 Mar 2020 00:49:18 -0400 Subject: [PATCH] media-libs/vulkan-layers: Backport build fix Closes: https://bugs.gentoo.org/712800 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Nick Sarnie --- .../vulkan-layers-1.2.133-Fix-build.patch | 22 +++++++++++++++++++ .../vulkan-layers-1.2.133-r1.ebuild | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 media-libs/vulkan-layers/files/vulkan-layers-1.2.133-Fix-build.patch diff --git a/media-libs/vulkan-layers/files/vulkan-layers-1.2.133-Fix-build.patch b/media-libs/vulkan-layers/files/vulkan-layers-1.2.133-Fix-build.patch new file mode 100644 index 000000000000..c3f42539bbee --- /dev/null +++ b/media-libs/vulkan-layers/files/vulkan-layers-1.2.133-Fix-build.patch @@ -0,0 +1,22 @@ +From 511b30622aa9e7859e5b606b25621a8d84888d40 Mon Sep 17 00:00:00 2001 +From: hedmo +Date: Wed, 18 Mar 2020 20:23:13 +0100 +Subject: [PATCH] layers: Update range_vector.h + +Change-Id: I595fb8b5ccf102d652e86846cbf8489c79a1c8e0 +--- + layers/range_vector.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/layers/range_vector.h b/layers/range_vector.h +index 5d650586a..37de88ee7 100644 +--- a/layers/range_vector.h ++++ b/layers/range_vector.h +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + #define RANGE_ASSERT(b) assert(b) + diff --git a/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild index aca531469b7e..83a0302f2c12 100644 --- a/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild +++ b/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild @@ -37,6 +37,8 @@ DEPEND="${PYTHON_DEPS} ) " +PATCHES=( "${FILESDIR}/${PN}-${PV}-Fix-build.patch" ) + multilib_src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -- 2.26.2