summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/Makefile-ptest.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/Makefile-ptest.patch19
1 files changed, 13 insertions, 6 deletions
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index 876c2d8629..07ea0b37f2 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -1,19 +1,23 @@
1strace: Add ptest 1From 0574ae9926308dcbca78bd8cd0f0f143f19cbcb5 Mon Sep 17 00:00:00 2001
2From: Gabriel Barbu <gabriel.barbu@enea.com>
3Date: Thu, 25 Jul 2013 15:28:33 +0200
4Subject: [PATCH 4/8] strace: Add ptest
2 5
3Upstream-Status: Inappropriate 6Upstream-Status: Inappropriate
4 7
5Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com> 8Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com>
6Signed-off-by: Chong Lu <Chong.Lu@windriver.com> 9Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10
7--- 11---
8 configure.ac | 2 +- 12 configure.ac | 2 +-
9 tests/Makefile.am | 18 ++++++++++++++++++ 13 tests/Makefile.am | 18 ++++++++++++++++++
10 2 files changed, 19 insertions(+), 1 deletion(-) 14 2 files changed, 19 insertions(+), 1 deletion(-)
11 15
12diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
13index b2b03c6..464a9dc 100644 17index 61d6425..6387c24 100644
14--- a/configure.ac 18--- a/configure.ac
15+++ b/configure.ac 19+++ b/configure.ac
16@@ -39,7 +39,7 @@ AC_COPYRIGHT([Copyright (C) 1999-2017 The strace developers.]) 20@@ -41,7 +41,7 @@ AC_COPYRIGHT([Copyright (C) 1999-]copyright_year[ The strace developers.])
17 AC_CONFIG_SRCDIR([strace.c]) 21 AC_CONFIG_SRCDIR([strace.c])
18 AC_CONFIG_AUX_DIR([.]) 22 AC_CONFIG_AUX_DIR([.])
19 AC_CONFIG_HEADERS([config.h]) 23 AC_CONFIG_HEADERS([config.h])
@@ -23,11 +27,11 @@ index b2b03c6..464a9dc 100644
23 AM_MAINTAINER_MODE 27 AM_MAINTAINER_MODE
24 AC_CANONICAL_HOST 28 AC_CANONICAL_HOST
25diff --git a/tests/Makefile.am b/tests/Makefile.am 29diff --git a/tests/Makefile.am b/tests/Makefile.am
26index 311d3bb..72f9022 100644 30index 5aa7f89..a55a355 100644
27--- a/tests/Makefile.am 31--- a/tests/Makefile.am
28+++ b/tests/Makefile.am 32+++ b/tests/Makefile.am
29@@ -960,3 +960,21 @@ $(objects): scno.h 33@@ -379,3 +379,21 @@ clean-local-check:
30 CLEANFILES = ksysent.h $(TESTS:=.tmp) 34 CLEANFILES = ksysent.h
31 35
32 include ../scno.am 36 include ../scno.am
33+ 37+
@@ -48,3 +52,6 @@ index 311d3bb..72f9022 100644
48+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \ 52+ sed -i -e 's/$${srcdir=.}/./g' $(DESTDIR)/$(TESTDIR)/$$file; \
49+ done 53+ done
50+ for i in net net-fd scm_rights-fd sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done 54+ for i in net net-fd scm_rights-fd sigaction; do sed -i -e 's/$$srcdir/./g' $(DESTDIR)/$(TESTDIR)/$$i.test; done
55--
562.13.2
57