diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2017-05-11 17:54:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-11 17:54:15 -0700 |
| commit | 8cab1df3cfb089021a340e9638c09d67b8eaf840 (patch) | |
| tree | d1e1f483051d985024aaae21ab8db38e8406c6e9 /ports/freerdp/FixGitRevisionDetection.patch | |
| parent | b3f53655e19be16464ed520dc9db433ec69e25af (diff) | |
| parent | 91b993104fcb41c0ddc9cd40d94949b303c8f702 (diff) | |
| download | vcpkg-8cab1df3cfb089021a340e9638c09d67b8eaf840.tar.gz vcpkg-8cab1df3cfb089021a340e9638c09d67b8eaf840.zip | |
Merge pull request #1076 from Mixaill/freerdp-fixheader
[freerdp] fix FreeRDP version in generated header file
Diffstat (limited to 'ports/freerdp/FixGitRevisionDetection.patch')
| -rw-r--r-- | ports/freerdp/FixGitRevisionDetection.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ports/freerdp/FixGitRevisionDetection.patch b/ports/freerdp/FixGitRevisionDetection.patch new file mode 100644 index 000000000..dd0b33cb5 --- /dev/null +++ b/ports/freerdp/FixGitRevisionDetection.patch @@ -0,0 +1,29 @@ +From 7d0c833dc33135d435c018930949d10cfacead04 Mon Sep 17 00:00:00 2001 +From: Mikhail Paulyshka <me@mixaill.tk> +Date: Thu, 11 May 2017 02:56:48 +0300 +Subject: [PATCH] Disable automatic git revision detection + +--- + CMakeLists.txt | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bf93d9a05..b62c31cae 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -113,12 +113,6 @@ if(CCACHE AND WITH_CCACHE) + set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ${CCACHE}) + endif(CCACHE AND WITH_CCACHE) + +-include(GetGitRevisionDescription) +-git_get_exact_tag(GIT_REVISION --tags --always) +- +-if (${GIT_REVISION} STREQUAL "n/a") +- git_rev_parse (GIT_REVISION --short) +-endif() + if(CMAKE_CROSSCOMPILING) + SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY) + endif(CMAKE_CROSSCOMPILING) +-- +2.11.0.windows.1 + |
