PKGBUILDs/extra/kdiff3/0001-link-atomic.patch

35 lines
1.2 KiB
Diff
Raw Normal View History

2019-03-09 00:06:57 +00:00
From aef93ed6c8713ca700d99944ec299e1a07e317f2 Mon Sep 17 00:00:00 2001
2018-08-21 13:02:14 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Tue, 21 Aug 2018 06:51:04 -0600
Subject: [PATCH] link atomic
---
src/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2019-03-09 00:06:57 +00:00
index 973eadd..c28d3b3 100644
2018-08-21 13:02:14 +00:00
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
2019-03-09 00:06:57 +00:00
@@ -33,7 +33,7 @@ add_library(kdiff3part MODULE ${kdiff3part_PART_SRCS})
2018-08-21 13:02:14 +00:00
set_target_properties(kdiff3part PROPERTIES DEFINE_SYMBOL KDIFF3_PART)
target_compile_features(kdiff3part PRIVATE ${needed_features})
-target_link_libraries(kdiff3part ${KDiff3_LIBRARIES} KF5::Parts)
+target_link_libraries(kdiff3part ${KDiff3_LIBRARIES} KF5::Parts atomic)
install(TARGETS kdiff3part DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/parts )
2019-03-09 00:06:57 +00:00
@@ -48,7 +48,7 @@ set(kdiff3_SRCS
2018-08-21 13:02:14 +00:00
add_executable(kdiff3 ${kdiff3_SRCS})
-target_link_libraries(kdiff3 KF5::ConfigCore KF5::ConfigGui KF5::Parts ${KDiff3_LIBRARIES} )
+target_link_libraries(kdiff3 KF5::ConfigCore KF5::ConfigGui KF5::Parts ${KDiff3_LIBRARIES} atomic)
target_compile_features(kdiff3 PRIVATE ${needed_features})
install(TARGETS kdiff3 ${INSTALL_TARGETS_DEFAULT_ARGS})
--
2019-03-09 00:06:57 +00:00
2.21.0
2018-08-21 13:02:14 +00:00