From 66d7b8b1610c2197406144e4b74d6b9e45f48fa2 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 15 Jan 2017 19:37:39 +0100 Subject: [PATCH] timewarrior: Patch to build with new cmake --- packages/timewarrior/cmake-CXXSniffer.cmake.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/timewarrior/cmake-CXXSniffer.cmake.patch diff --git a/packages/timewarrior/cmake-CXXSniffer.cmake.patch b/packages/timewarrior/cmake-CXXSniffer.cmake.patch new file mode 100644 index 000000000..918e2fca0 --- /dev/null +++ b/packages/timewarrior/cmake-CXXSniffer.cmake.patch @@ -0,0 +1,12 @@ +diff -u -r ../timew-1.0.0/cmake/CXXSniffer.cmake ./cmake/CXXSniffer.cmake +--- ../timew-1.0.0/cmake/CXXSniffer.cmake 2016-08-17 23:22:31.000000000 +0200 ++++ ./cmake/CXXSniffer.cmake 2017-01-15 18:34:29.424793652 +0100 +@@ -22,6 +22,8 @@ + + if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + set (LINUX true) ++elseif (${CMAKE_SYSTEM_NAME} MATCHES "Android") ++ set (LINUX true) + elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + set (DARWIN true) + set (_CXX11_FLAGS "${_CXX11_FLAGS} -stdlib=libc++")