[packages/taskwarrior] updated link patch
atler
atler at pld-linux.org
Fri Jan 29 23:18:44 CET 2021
commit 3f0674e5bda1262811656f6614f0f718c7b863e9
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jan 29 23:18:00 2021 +0100
updated link patch
taskwarrior-link.patch | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/taskwarrior-link.patch b/taskwarrior-link.patch
index d02e7a4..7a67fd5 100644
--- a/taskwarrior-link.patch
+++ b/taskwarrior-link.patch
@@ -1,15 +1,20 @@
--- task-2.5.3/src/CMakeLists.txt.orig 2021-01-04 06:30:22.000000000 +0100
-+++ task-2.5.3/src/CMakeLists.txt 2021-01-29 22:08:29.085604445 +0100
-@@ -50,9 +50,9 @@
- add_executable (lex_executable lex.cpp)
++++ task-2.5.3/src/CMakeLists.txt 2021-01-29 22:51:54.310374964 +0100
+@@ -6,7 +6,7 @@
+ ${CMAKE_SOURCE_DIR}/src/libshared/src
+ ${TASK_INCLUDE_DIRS})
- # Yes, 'task' (and hence libshared) is included twice, otherwise linking fails on assorted OSes.
--target_link_libraries (task_executable task commands columns libshared task libshared ${TASK_LIBRARIES})
--target_link_libraries (calc_executable task commands columns libshared task libshared ${TASK_LIBRARIES})
--target_link_libraries (lex_executable task commands columns libshared task libshared ${TASK_LIBRARIES})
-+target_link_libraries (task_executable task commands columns libshared libshared ${TASK_LIBRARIES})
-+target_link_libraries (calc_executable task commands columns libshared libshared ${TASK_LIBRARIES})
-+target_link_libraries (lex_executable task commands columns libshared libshared ${TASK_LIBRARIES})
-
- set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
+-add_library (task CLI2.cpp CLI2.h
++add_library (task STATIC CLI2.cpp CLI2.h
+ Context.cpp Context.h
+ DOM.cpp DOM.h
+ Eval.cpp Eval.h
+@@ -27,7 +27,7 @@
+ sort.cpp
+ util.cpp util.h)
+-add_library (libshared libshared/src/Color.cpp libshared/src/Color.h
++add_library (libshared STATIC libshared/src/Color.cpp libshared/src/Color.h
+ libshared/src/Configuration.cpp libshared/src/Configuration.h
+ libshared/src/Datetime.cpp libshared/src/Datetime.h
+ libshared/src/Duration.cpp libshared/src/Duration.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/taskwarrior.git/commitdiff/3f0674e5bda1262811656f6614f0f718c7b863e9
More information about the pld-cvs-commit
mailing list