[neon/snap-packaging/kf6-core-sdk] patches/karchive: Add force shared patch.

Scarlett Moore null at kde.org
Sun Jun 9 16:13:25 BST 2024


Git commit b133eb4de4cf067551bea2d4d7e6db372ede1519 by Scarlett Moore.
Committed on 09/06/2024 at 15:13.
Pushed by scarlettmoore into branch 'master'.

Add force shared patch.

A  +13   -0    patches/karchive/force_shared.patch
A  +1    -0    patches/karchive/series

https://invent.kde.org/neon/snap-packaging/kf6-core-sdk/-/commit/b133eb4de4cf067551bea2d4d7e6db372ede1519

diff --git a/patches/karchive/force_shared.patch b/patches/karchive/force_shared.patch
new file mode 100644
index 0000000..ec66298
--- /dev/null
+++ b/patches/karchive/force_shared.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e4b9d6f..00ac486 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.16)
+ set(KF_VERSION "6.4.0") # handled by release scripts
+ project(KArchive VERSION ${KF_VERSION})
+ 
++option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
++
+ include(FeatureSummary)
+ find_package(ECM 6.3.0  NO_MODULE)
+ set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules")
diff --git a/patches/karchive/series b/patches/karchive/series
new file mode 100644
index 0000000..84e3ff5
--- /dev/null
+++ b/patches/karchive/series
@@ -0,0 +1 @@
+force_shared.patch


More information about the Neon-commits mailing list