summaryrefslogtreecommitdiff
path: root/extra/polybar/fix-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/polybar/fix-version.patch')
-rw-r--r--extra/polybar/fix-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/polybar/fix-version.patch b/extra/polybar/fix-version.patch
new file mode 100644
index 0000000..1548ce3
--- /dev/null
+++ b/extra/polybar/fix-version.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,7 +33,7 @@
+ OUTPUT_VARIABLE git_describe
+ OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
+
+-if(git_result EQUAL "0")
++if(0)
+ set(APP_VERSION "${git_describe}")
+ else()
+ message(STATUS "Could not detect version with git, falling back to built-in version information.")