mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-emulation/lsfg-vk: add 1.0.0-r1, drop 1.0.0
Fixes wrong __attribute__ position (which caused vulkan methods to be hidden at runtime with gcc) Signed-off-by: Charlie Quinet <w.iron.zombie@gmail.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
diff --git a/include/layer.hpp b/include/layer.hpp
|
||||
index 6ebe903..4ec58ea 100644
|
||||
--- a/include/layer.hpp
|
||||
+++ b/include/layer.hpp
|
||||
@@ -219,8 +219,8 @@ namespace Layer {
|
||||
}
|
||||
|
||||
/// Symbol definition for Vulkan instance layer.
|
||||
-__attribute__((visibility("default")))
|
||||
-extern "C" PFN_vkVoidFunction layer_vkGetInstanceProcAddr(VkInstance instance, const char* pName);
|
||||
+extern "C" __attribute__((visibility("default")))
|
||||
+PFN_vkVoidFunction layer_vkGetInstanceProcAddr(VkInstance instance, const char* pName);
|
||||
/// Symbol definition for Vulkan device layer.
|
||||
-__attribute__((visibility("default")))
|
||||
-extern "C" PFN_vkVoidFunction layer_vkGetDeviceProcAddr(VkDevice device, const char* pName);
|
||||
+extern "C" __attribute__((visibility("default")))
|
||||
+PFN_vkVoidFunction layer_vkGetDeviceProcAddr(VkDevice device, const char* pName);
|
||||
@@ -207,6 +207,10 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/lsfg-vk-1.0.0-fix-visibility.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
use gui || default
|
||||
Reference in New Issue
Block a user