timewarrior: Enable package
[termux-packages] / packages / timewarrior / src-CMakeLists.txt.patch
diff --git a/packages/timewarrior/src-CMakeLists.txt.patch b/packages/timewarrior/src-CMakeLists.txt.patch
new file mode 100644 (file)
index 0000000..63986ab
--- /dev/null
@@ -0,0 +1,9 @@
+diff -u -r ../timew-1.0.0/src/CMakeLists.txt ./src/CMakeLists.txt
+--- ../timew-1.0.0/src/CMakeLists.txt  2016-08-17 17:23:15.000000000 -0400
++++ ./src/CMakeLists.txt       2016-09-05 17:53:00.643967527 -0400
+@@ -1,4 +1,5 @@
+ cmake_minimum_required (VERSION 2.8)
++include_directories(SYSTEM "@TERMUX_PREFIX@/include")
+ include_directories (${CMAKE_SOURCE_DIR}
+                      ${CMAKE_SOURCE_DIR}/src
+                      ${CMAKE_SOURCE_DIR}/src/commands