nixpkgs/pkgs/by-name/cc/ccextractor/remove-default-commit-hash.patch
Emily 9562b3d2af ccextractor: 0.93 -> 0.94-unstable-2024-08-12
Includes fixes for Tesseract 5 and FFmpeg 7.
2024-08-19 00:21:56 +01:00

15 lines
417 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d7fdda02e3...2738cab631 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,9 +24,6 @@
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
-ELSE(EXISTS "${BASE_PROJ_DIR}/.git")
- set(GIT_BRANCH "Unknown")
- set(GIT_COMMIT_HASH "Unknown")
ENDIF(EXISTS "${BASE_PROJ_DIR}/.git")
#Get the date