1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

vulkan: Upgrade 1.0.39.1 -> 1.0.51.0

Remove a patch that's no longer needed

(From OE-Core rev: da21b51ec84080b5e544b197e7fb49cb91642a31)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jussi Kukkonen
2017-07-06 10:54:33 +03:00
committed by Richard Purdie
parent 0224083dae
commit d18c434487
2 changed files with 2 additions and 37 deletions
@@ -1,34 +0,0 @@
From 20525add1df8e1fb13fef90ac068f982def8b958 Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Wed, 8 Mar 2017 13:23:58 +0200
Subject: [PATCH] Use getenv() if secure_getenv() does not exist
musl does not implement secure version: default to getenv() in that
case.
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/1538
Upstream-Status: Pending
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
loader/loader.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/loader/loader.c b/loader/loader.c
index 24758f4..bff79c1 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -54,6 +54,10 @@
#endif
#endif
+#if !defined(__secure_getenv)
+#define __secure_getenv getenv
+#endif
+
struct loader_struct loader = {0};
// TLS for instance for alloc/free callbacks
THREAD_LOCAL_DECL struct loader_instance *tls_instance;
--
2.1.4
@@ -10,11 +10,10 @@ SECTION = "libs"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99c647ca3d4f6a4b9d8628f757aad156 \
file://loader/loader.c;endline=25;md5=a87cd5442291c23d1fce4eece4cfde9d"
SRC_URI = "git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git;branch=sdk-1.0.39 \
SRC_URI = "git://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git;branch=sdk-1.0.51 \
file://demos-Don-t-build-tri-or-cube.patch \
file://0001-Use-getenv-if-secure_getenv-does-not-exist.patch \
"
SRCREV = "9c21ed0fb275589c3af6118aec9ef4f1d1544dc1"
SRCREV = "8d021e4d5a9f91436f4462df1dafb222908e296d"
UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
S = "${WORKDIR}/git"