aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
blob: 47b1139c531cef71b07d3294b1a423ddb81fcbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
The git-version-gen script is not included in tarball releases,
so we need to avoid attempts to call it when running autoreconf.

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>

Index: strace-4.22/configure.ac
===================================================================
--- strace-4.22.orig/configure.ac
+++ strace-4.22/configure.ac
@@ -32,7 +32,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([strace],
-	m4_esyscmd([./git-version-gen .tarball-version]),
+	m4_esyscmd_s([cat .tarball-version]),
 	[strace-devel@lists.strace.io],
 	[strace],
 	[https://strace.io])