diff options
author | Heine Pedersen | 2017-02-13 20:51:11 +0100 |
---|---|---|
committer | Heine Pedersen | 2017-02-13 20:51:11 +0100 |
commit | d560e51606c4aabc6fa7090eaba42c3255fb778b (patch) | |
tree | 906de5512a3bd423eda2fc5595cf3c31167d6e54 /fix-git-rev.patch | |
download | aur-d560e51606c4aabc6fa7090eaba42c3255fb778b.tar.gz |
Version 1.2.0rcgit.17
Diffstat (limited to 'fix-git-rev.patch')
-rw-r--r-- | fix-git-rev.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/fix-git-rev.patch b/fix-git-rev.patch new file mode 100644 index 000000000000..bfc5c1c66600 --- /dev/null +++ b/fix-git-rev.patch @@ -0,0 +1,21 @@ +diff -Naur Remmina-1.2.0-rcgit.17/CMakeLists.txt Remmina-1.2.0-rcgit.17.my/CMakeLists.txt +--- Remmina-1.2.0-rcgit.17/CMakeLists.txt 2017-02-13 20:43:52.425135179 +0100 ++++ Remmina-1.2.0-rcgit.17.my/CMakeLists.txt 2017-02-13 20:45:55.217469364 +0100 +@@ -116,16 +116,7 @@ + set(REMMINA_VERSION "${REMMINA_VERSION}-${REMMINA_VERSION_SUFFIX}") + endif() + +- +-include(GetGitRevisionDescription) +-git_get_exact_tag(GIT_REVISION --tags --always) +-if (${GIT_REVISION} STREQUAL "n/a") +- git_rev_parse(GIT_REVISION --short) +-endif() +- +-if(NOT GIT_REVISION) +- set(GIT_REVISION ${REMMINA_VERSION_SUFFIX}) +-endif() ++set(GIT_REVISION, "n/a") + message(STATUS "Git Revision ${GIT_REVISION}") + + if(NOT UNIQUE_APPNAME) |