commit 621824ac5162661ac06b2189080fda94332fe02b
Author: Uwe Klotz <uwe.klotz(a)gmail.com>
Date: Mon Jul 24 17:37:28 2023 +0200
Patch CMake visibility config
cmake-visibility.patch | 18 ++++++++++++++++++
mixxx.spec | 2 +-
wno-stringop-overflow.patch | 20 --------------------
3 files changed, 19 insertions(+), 21 deletions(-)
---
diff --git a/cmake-visibility.patch b/cmake-visibility.patch
new file mode 100644
index 0000000..0e1c458
--- /dev/null
+++ b/cmake-visibility.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -498,9 +498,9 @@ elseif(GNU_GCC OR LLVM_CLANG)
+ endif()
+ endif()
+
+-set(CMAKE_C_VISIBILITY_PRESET hidden)
+-set(CMAKE_CXX_VISIBILITY_PRESET hidden)
+-set(CMAKE_VISIBILITY_INLINES_HIDDEN TRUE)
++#set(CMAKE_C_VISIBILITY_PRESET hidden)
++#set(CMAKE_CXX_VISIBILITY_PRESET hidden)
++#set(CMAKE_VISIBILITY_INLINES_HIDDEN TRUE)
+
+ if(WIN32)
+ # Add support for lib prefix on Windows
+--
+2.41.0
+
diff --git a/mixxx.spec b/mixxx.spec
index 7b6c6a6..613a5d4 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -37,7 +37,7 @@ Source0:
https://github.com/mixxxdj/%{name}/archive/%{sources}/%{name}-%{
# as a fragment identifier to the URL to populate SOURCE<n> correctly
Source1:
https://github.com/mixxxdj/libkeyfinder/archive/refs/tags/v%{libkeyfinder...
Source2:
https://github.com/xsco/libdjinterop/archive/refs/tags/%{libdjinterop_ver...
-Patch0: wno-stringop-overflow.patch
+Patch0: cmake-visibility.patch
# Build Tools
BuildRequires: desktop-file-utils