From 34da703f4b129fd6ff13f47f609dc8dc40f6caec5130cbe7e07642082aff1d4e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 15 Nov 2023 10:29:38 +0000 Subject: [PATCH] - Turn off symbol hiding in shared.diff [boo#1217046] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-utility-libraries?expand=0&rev=4 --- shared.diff | 22 ++++++++++++++++++---- vulkan-utility-libraries.changes | 5 +++++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/shared.diff b/shared.diff index b3f7005..a7e41d7 100644 --- a/shared.diff +++ b/shared.diff @@ -3,13 +3,27 @@ Date: 2023-10-27 07:34:46.251955161 +0200 Static libraries are a no-go in our distro. --- + CMakeLists.txt | 2 -- src/layer/CMakeLists.txt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) + 2 files changed, 2 insertions(+), 3 deletions(-) -Index: Vulkan-Utility-Libraries/src/layer/CMakeLists.txt +Index: Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0/CMakeLists.txt =================================================================== ---- Vulkan-Utility-Libraries.orig/src/layer/CMakeLists.txt -+++ Vulkan-Utility-Libraries/src/layer/CMakeLists.txt +--- Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0.orig/CMakeLists.txt ++++ Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0/CMakeLists.txt +@@ -15,8 +15,6 @@ set(CMAKE_CXX_STANDARD 17) + set(CMAKE_CXX_STANDARD_REQUIRED ON) + set(CMAKE_CXX_EXTENSIONS OFF) + set(CMAKE_POSITION_INDEPENDENT_CODE ON) +-set(CMAKE_CXX_VISIBILITY_PRESET "hidden") +-set(CMAKE_C_VISIBILITY_PRESET "hidden") + set(CMAKE_VISIBILITY_INLINES_HIDDEN "YES") + + # This variable enables downstream users to customize the target API +Index: Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0/src/layer/CMakeLists.txt +=================================================================== +--- Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0.orig/src/layer/CMakeLists.txt ++++ Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0/src/layer/CMakeLists.txt @@ -5,8 +5,9 @@ # SPDX-License-Identifier: Apache-2.0 set(CMAKE_FOLDER "${CMAKE_FOLDER}/VulkanLayerSettings") diff --git a/vulkan-utility-libraries.changes b/vulkan-utility-libraries.changes index a0f22c0..be3d111 100644 --- a/vulkan-utility-libraries.changes +++ b/vulkan-utility-libraries.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 15 10:29:10 UTC 2023 - Jan Engelhardt + +- Turn off symbol hiding in shared.diff [boo#1217046] + ------------------------------------------------------------------- Fri Oct 27 05:19:18 UTC 2023 - Jan Engelhardt