debian/patches: Drop 2001-fake-git-revision.patch. Not required anymore.

This commit is contained in:
Mike Gabriel 2022-03-08 07:37:38 +01:00
parent 8fc6ef2a66
commit 834bae447c
2 changed files with 0 additions and 34 deletions

View File

@ -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)

View File

@ -1 +0,0 @@
2001-fake-git-revision.patch