summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2020-03-19 00:49:18 -0400
committerNick Sarnie <sarnex@gentoo.org>2020-03-19 00:49:18 -0400
commitbe543b3840affdfcff76472b80cf94f46d3b78cc (patch)
tree5b8d008d71bf5d1923c2c729072880cb04ea1671 /media-libs/vulkan-layers
parentdev-perl/DBD-mysql-4.50.0: add ~alpha , bug 692372 (diff)
downloadgentoo-be543b3840affdfcff76472b80cf94f46d3b78cc.tar.gz
gentoo-be543b3840affdfcff76472b80cf94f46d3b78cc.tar.bz2
gentoo-be543b3840affdfcff76472b80cf94f46d3b78cc.zip
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 <sarnex@gentoo.org>
Diffstat (limited to 'media-libs/vulkan-layers')
-rw-r--r--media-libs/vulkan-layers/files/vulkan-layers-1.2.133-Fix-build.patch22
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild2
2 files changed, 24 insertions, 0 deletions
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 <hedmoo@yahoo.com>
+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 <limits>
+ #include <map>
+ #include <utility>
++#include <cstdint>
+
+ #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