summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cgreen/files')
-rw-r--r--dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch b/dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch
new file mode 100644
index 000000000000..283ada2aa70e
--- /dev/null
+++ b/dev-libs/cgreen/files/cgreen-1.3.0-cmake-git.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 350bb89..d496f5a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -62,7 +62,6 @@ execute_process(
+ OUTPUT_VARIABLE GITDIR
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+-get_filename_component(GITDIR "${GITDIR}" ABSOLUTE)
+
+ # config.h checks
+ include(ConfigureChecks.cmake)
+