diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2019-03-13 16:38:10 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-03-13 17:15:34 +0000 |
| commit | 70ed29eb467d4834d32cca19ee6d7df73f759f5a (patch) | |
| tree | bae77df0e8fa03c9a45d44f8342e7527bf5a7b0b /testing/monero/version-string.patch | |
| parent | d08c254c548367a3231279d06a23de38b7a83f81 (diff) | |
| download | aports-70ed29eb467d4834d32cca19ee6d7df73f759f5a.tar.bz2 aports-70ed29eb467d4834d32cca19ee6d7df73f759f5a.tar.xz | |
testing/monero: fix version string
Do not add git tag from aports git
Diffstat (limited to 'testing/monero/version-string.patch')
| -rw-r--r-- | testing/monero/version-string.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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) |
