summaryrefslogtreecommitdiff
path: root/sysutils/munin-common/files/patch-getversion
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/munin-common/files/patch-getversion')
-rw-r--r--sysutils/munin-common/files/patch-getversion13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/munin-common/files/patch-getversion b/sysutils/munin-common/files/patch-getversion
new file mode 100644
index 000000000000..7cc33d5dceea
--- /dev/null
+++ b/sysutils/munin-common/files/patch-getversion
@@ -0,0 +1,13 @@
+--- getversion.orig 2023-10-25 08:03:45 UTC
++++ getversion
+@@ -74,8 +74,8 @@ generate_version_string_from_dir() {
+
+ if [ -s "RELEASE" ]; then
+ cat RELEASE
+-elif [ "`git rev-parse --is-inside-work-tree 2>/dev/null`" = "true" ]; then
+- generate_version_string
++#elif [ "`git rev-parse --is-inside-work-tree 2>/dev/null`" = "true" ]; then
++# generate_version_string
+ elif [ -n "`generate_version_string_from_dir`" ]; then
+ generate_version_string_from_dir
+ else