aboutsummaryrefslogtreecommitdiff
path: root/www/elinks/files/patch-meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'www/elinks/files/patch-meson.build')
-rw-r--r--www/elinks/files/patch-meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/elinks/files/patch-meson.build b/www/elinks/files/patch-meson.build
new file mode 100644
index 000000000000..dd8549a15b67
--- /dev/null
+++ b/www/elinks/files/patch-meson.build
@@ -0,0 +1,13 @@
+--- meson.build.orig 2022-07-31 10:16:29 UTC
++++ meson.build
+@@ -3,9 +3,7 @@ srcdir = meson.source_root()
+
+ srcdir = meson.source_root()
+
+-txt = run_command('git', '--git-dir=' + srcdir + '/.git', 'rev-parse', 'HEAD').stdout().strip()
+-dirty = run_command(srcdir + '/git-dirty.sh').stdout().strip()
+-add_global_arguments('-DBUILD_ID="' + txt + dirty + '"', language : 'c')
++add_global_arguments('-DBUILD_ID="\\0"', language : 'c')
+
+ conf_data = configuration_data()
+ conf_data.set('VERSION', meson.project_version())