debian/patches: Drop 2001-fake-git-revision.patch. Not required anymore.
This commit is contained in:
parent
8fc6ef2a66
commit
834bae447c
33
debian/patches/2001-fake-git-revision.patch
vendored
33
debian/patches/2001-fake-git-revision.patch
vendored
@ -1,33 +0,0 @@
|
||||
Description: avoid Git interaction during build
|
||||
Author: Konstantin Demin <rockdrilla@gmail.com>
|
||||
Forwarded: Not needed; Debian-specific patch
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -143,25 +143,13 @@ if(CCACHE AND WITH_CCACHE)
|
||||
endif()
|
||||
endif(CCACHE AND WITH_CCACHE)
|
||||
|
||||
-if(EXISTS "${CMAKE_SOURCE_DIR}/.source_version" )
|
||||
- file(READ ${CMAKE_SOURCE_DIR}/.source_version GIT_REVISION)
|
||||
-
|
||||
- string(STRIP ${GIT_REVISION} GIT_REVISION)
|
||||
-else()
|
||||
- git_get_exact_tag(GIT_REVISION --tags --always)
|
||||
-
|
||||
- if (${GIT_REVISION} STREQUAL "n/a")
|
||||
- git_rev_parse (GIT_REVISION --short)
|
||||
- endif()
|
||||
-endif()
|
||||
+set(GIT_REVISION "${FREERDP_VERSION}")
|
||||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
SET (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
|
||||
endif(CMAKE_CROSSCOMPILING)
|
||||
# /Allow to search the host machine for git/ccache
|
||||
|
||||
-message(STATUS "Git Revision ${GIT_REVISION}")
|
||||
-
|
||||
# Turn on solution folders (2.8.4+)
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +0,0 @@
|
||||
2001-fake-git-revision.patch
|
||||
Loading…
Reference in New Issue
Block a user