mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
app-misc/corectrl: add a patch to fix building with libc++
Signed-off-by: Charlie Quinet <w.iron.zombie@gmail.com>
This commit is contained in:
@@ -54,6 +54,11 @@ RDEPEND="${COMMON_DEPEND}
|
||||
"
|
||||
CONFIG_CHECK="~CONNECTOR ~PROC_EVENTS ~NETLINK_DIAG"
|
||||
|
||||
src_prepare() {
|
||||
(clang++ --version 2>&1 | grep -q "libcxx") && eapply "${FILESDIR}/1.4.3-remove_libstdcxxfs_dependency.patch"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
@@ -54,6 +54,11 @@ RDEPEND="${COMMON_DEPEND}
|
||||
"
|
||||
CONFIG_CHECK="~CONNECTOR ~PROC_EVENTS ~NETLINK_DIAG"
|
||||
|
||||
src_prepare() {
|
||||
(clang++ --version 2>&1 | grep -q "libcxx") && eapply "${FILESDIR}/9999-remove_libstdcxxfs_dependency.patch"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 789f15e..69504df 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -373,7 +373,6 @@ target_compile_definitions(corectrl_lib PRIVATE ${APP_COMPILE_DEFINITIONS})
|
||||
target_link_libraries(corectrl_lib PRIVATE
|
||||
Qt5::Core
|
||||
QuaZip::QuaZip
|
||||
- stdc++fs
|
||||
pthread
|
||||
spdlog::spdlog
|
||||
pugixml::pugixml
|
||||
diff --git a/src/helper/CMakeLists.txt b/src/helper/CMakeLists.txt
|
||||
index c262086..2c5ffd8 100644
|
||||
--- a/src/helper/CMakeLists.txt
|
||||
+++ b/src/helper/CMakeLists.txt
|
||||
@@ -101,7 +101,6 @@ target_compile_definitions(corectrl_helper PRIVATE ${HELPER_COMPILE_DEFINITIONS}
|
||||
target_link_libraries(corectrl_helper PRIVATE
|
||||
Qt5::Core
|
||||
Qt5::DBus
|
||||
- stdc++fs
|
||||
pthread
|
||||
spdlog::spdlog
|
||||
${Botan_LIBRARIES}
|
||||
@@ -0,0 +1,24 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 361b4aa..1f61281 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -375,7 +375,6 @@ target_compile_definitions(corectrl_lib PRIVATE ${APP_COMPILE_DEFINITIONS})
|
||||
target_link_libraries(corectrl_lib PRIVATE
|
||||
Qt6::Core
|
||||
QuaZip::QuaZip
|
||||
- stdc++fs
|
||||
pthread
|
||||
spdlog::spdlog
|
||||
pugixml::pugixml
|
||||
diff --git a/src/helper/CMakeLists.txt b/src/helper/CMakeLists.txt
|
||||
index 38deb12..b8ed17e 100644
|
||||
--- a/src/helper/CMakeLists.txt
|
||||
+++ b/src/helper/CMakeLists.txt
|
||||
@@ -106,7 +106,6 @@ target_compile_definitions(corectrl_helper PRIVATE ${HELPER_COMPILE_DEFINITIONS}
|
||||
target_link_libraries(corectrl_helper PRIVATE
|
||||
Qt6::Core
|
||||
Qt6::DBus
|
||||
- stdc++fs
|
||||
pthread
|
||||
spdlog::spdlog
|
||||
${Botan_LIBRARIES}
|
||||
Reference in New Issue
Block a user