--- /dev/null
+Description: Allow building without git installed
+ Upstream runs 'git' during configure to inject commit info into the binary.
+ We don't have 'git' installed on our buildds.
+Author: IOhannes m zmölnig
+Origin: Debian
+Bug: https://github.com/jacktrip/jacktrip/issues/1184
+Last-Update: 2023-08-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- jacktrip.orig/meson.build
++++ jacktrip/meson.build
+@@ -36,12 +36,15 @@
+ c_defines += ['-DNDEBUG']
+ endif
+
+-git_tags_cmd = run_command('git', 'describe', '--tags', check: false)
+-git_hash_cmd = run_command('git', 'rev-parse', '--short', 'HEAD', check: false)
+-if git_tags_cmd.returncode() == 0 and git_hash_cmd.returncode() == 0
++git = find_program('git', required: false)
++if git.found()
++ git_tags_cmd = run_command(git, 'describe', '--tags', check: false)
++ git_hash_cmd = run_command(git, 'rev-parse', '--short', 'HEAD', check: false)
++ if git_tags_cmd.returncode() == 0 and git_hash_cmd.returncode() == 0
+ git_tags = git_tags_cmd.stdout().strip()
+ git_hash = git_hash_cmd.stdout().strip()
+ defines += ['-DJACKTRIP_BUILD_INFO=' + git_tags + '-' + git_hash]
++ endif
+ endif
+
+ src = [ 'src/DataProtocol.cpp',