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.patch31
1 files changed, 24 insertions, 7 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
index 47b1139c53..9e5ec11097 100644
--- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
+++ b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
@@ -1,15 +1,25 @@
1The git-version-gen script is not included in tarball releases, 1From bee0680754730498485e24dd037303318c68916c Mon Sep 17 00:00:00 2001
2so we need to avoid attempts to call it when running autoreconf. 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Mon, 18 Jan 2016 13:33:50 -0800
4Subject: [PATCH] strace: remove need for scripts
5
6git-version-gen copyright-year-gen file-date-gen are not included in
7tarball releases, so we need to avoid attempts to call them.
3 8
4Upstream-Status: Inappropriate [configuration] 9Upstream-Status: Inappropriate [configuration]
5 10
6Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 11Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
12Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
13
14---
15 configure.ac | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
7 17
8Index: strace-4.22/configure.ac 18diff --git a/configure.ac b/configure.ac
9=================================================================== 19index ad1d00f..96fa205 100644
10--- strace-4.22.orig/configure.ac 20--- a/configure.ac
11+++ strace-4.22/configure.ac 21+++ b/configure.ac
12@@ -32,7 +32,7 @@ 22@@ -32,12 +32,12 @@
13 23
14 AC_PREREQ(2.57) 24 AC_PREREQ(2.57)
15 AC_INIT([strace], 25 AC_INIT([strace],
@@ -18,3 +28,10 @@ Index: strace-4.22/configure.ac
18 [strace-devel@lists.strace.io], 28 [strace-devel@lists.strace.io],
19 [strace], 29 [strace],
20 [https://strace.io]) 30 [https://strace.io])
31-m4_define([copyright_year], m4_esyscmd([./copyright-year-gen .year]))
32-m4_define([manpage_date], m4_esyscmd([./file-date-gen strace.1.in]))
33+m4_define([copyright_year], m4_esyscmd_s([cat .year]))
34+m4_define([manpage_date], m4_esyscmd_s([cat .strace.1.in.date]))
35 AC_COPYRIGHT([Copyright (c) 1999-]copyright_year[ The strace developers.])
36 AC_CONFIG_SRCDIR([strace.c])
37 AC_CONFIG_AUX_DIR([.])