summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/disable-git-version-gen.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/disable-git-version-gen.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
new file mode 100644
index 0000000000..7bc143635f
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
@@ -0,0 +1,20 @@
1The git-version-gen script is not included in tarball releases,
2so we need to avoid attempts to call it when running autoreconf.
3
4Upstream-Status: Inappropriate [configuration]
5
6Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
7
8Index: strace-4.10/configure.ac
9===================================================================
10--- strace-4.10.orig/configure.ac
11+++ strace-4.10/configure.ac
12@@ -1,7 +1,7 @@
13 dnl Process this file with autoconf to create configure. Use autoreconf.
14 AC_PREREQ(2.57)
15 AC_INIT([strace],
16- m4_esyscmd([./git-version-gen .tarball-version]),
17+ m4_esyscmd_s([cat .tarball-version]),
18 [strace-devel@lists.sourceforge.net])
19 AC_CONFIG_SRCDIR([strace.c])
20 AC_CONFIG_AUX_DIR([.])