aboutsummaryrefslogtreecommitdiffstats
path: root/testing/postgresql-timescaledb/dont-use-git-describe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/postgresql-timescaledb/dont-use-git-describe.patch')
-rw-r--r--testing/postgresql-timescaledb/dont-use-git-describe.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/postgresql-timescaledb/dont-use-git-describe.patch b/testing/postgresql-timescaledb/dont-use-git-describe.patch
new file mode 100644
index 0000000000..596eaa72a7
--- /dev/null
+++ b/testing/postgresql-timescaledb/dont-use-git-describe.patch
@@ -0,0 +1,15 @@
+We are in git repository, but not in the timescaledb's repository.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -198,9 +198,7 @@
+ message(FATAL_ERROR "Unable to find 'pg_config'")
+ endif ()
+
+-find_package(Git)
+-
+-if(GIT_FOUND)
++if(FALSE)
+ # We use "git describe" to generate the tag. It will find the latest
+ # tag and also add some additional information if we are not on the
+ # tag.