From 8b256dcd696715633a9f885f8e8e8de0017d8f9a Mon Sep 17 00:00:00 2001 From: alpine-mips-patches Date: Mon, 3 Dec 2018 10:26:31 +0000 Subject: community/domoticz: fix build without git installed Let build continue when git is not found. No changes in behaviour because all attempts to use git (to get project revision etc) fail due to missing .git folder in the source tarball and project falls back to appversion.default in any case. --- community/domoticz/do-not-fail-if-git-missing.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/domoticz/do-not-fail-if-git-missing.patch (limited to 'community/domoticz/do-not-fail-if-git-missing.patch') diff --git a/community/domoticz/do-not-fail-if-git-missing.patch b/community/domoticz/do-not-fail-if-git-missing.patch new file mode 100644 index 0000000000..140cc6f6ce --- /dev/null +++ b/community/domoticz/do-not-fail-if-git-missing.patch @@ -0,0 +1,11 @@ +--- a/getgit.cmake ++++ b/getgit.cmake +@@ -4,7 +4,7 @@ + # the git.cmake module is part of the standard distribution + find_package(Git) + if(NOT GIT_FOUND) +- MESSAGE(FATAL_ERROR "Git not found!.") ++ MESSAGE(WARNING "Git not found!.") + endif() + + MACRO(Gitversion_GET_REVISION dir variable) -- cgit v1.2.3