From 70ed29eb467d4834d32cca19ee6d7df73f759f5a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 13 Mar 2019 16:38:10 +0000 Subject: testing/monero: fix version string Do not add git tag from aports git --- testing/monero/version-string.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testing/monero/version-string.patch (limited to 'testing/monero/version-string.patch') diff --git a/testing/monero/version-string.patch b/testing/monero/version-string.patch new file mode 100644 index 0000000000..98dd8a2ca4 --- /dev/null +++ b/testing/monero/version-string.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/Version.cmake b/cmake/Version.cmake +index 3677e80..490de2c 100644 +--- a/cmake/Version.cmake ++++ b/cmake/Version.cmake +@@ -32,7 +32,7 @@ function (write_static_version_header hash) + endfunction () + + find_package(Git QUIET) +-if ("$Format:$" STREQUAL "") ++if ("$Format:$" STREQUAL "" OR NOT EXISTS .git) + # We're in a tarball; use hard-coded variables. + write_static_version_header("release") + elseif (GIT_FOUND OR Git_FOUND) -- cgit v1.2.3