summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-12-20 11:43:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-21 17:22:38 +0000
commit2ccdb82a359ffe9ae3f45d239d63fdf77cbb973f (patch)
tree330b79c4fe1d6b1daeb9128537680d53543b7b18 /meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
parent63fb3587fcbfb7bea471056808fdf51a79a43960 (diff)
downloadpoky-2ccdb82a359ffe9ae3f45d239d63fdf77cbb973f.tar.gz
valgrind: upgrade to 3.9.0
Changed patches directory to "valgrind"; Removed 4 patches because they were merged upstream; Updated 2 patches because now it has configure.ac instead of .in; Changed license md5 for 2 files because of a small change for copyright year (From OE-Core rev: 57794c201aa732392a135e03e04faf18929f645f) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
new file mode 100644
index 0000000000..b054d05f7f
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
@@ -0,0 +1,53 @@
1this is a temporary patch to workaround cross compilation.
2otherwise @PERL@ will be replaced to perl-native binary,
3this creates unusable scripts and fails FILERDEPENDS mechanism
4(esp. rpm)
5
6a better fix would need:
7 1. configure.ac should differentiate PERL and HOSTPERL
8 2. optionally remove ${STAGING_DIR} in #! line before do_install
9
108/31/2010 - created by Qing He <qing.he@intel.com>
11
12Upstream-Status: Inappropriate [configuration]
13
14diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in
15index 9dc9565..cc4ef05 100644
16--- a/cachegrind/cg_annotate.in
17+++ b/cachegrind/cg_annotate.in
18@@ -1,4 +1,4 @@
19-#! @PERL@
20+#! /usr/bin/perl
21
22 ##--------------------------------------------------------------------##
23 ##--- Cachegrind's annotator. cg_annotate.in ---##
24diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in
25index 951066e..84c2dde 100644
26--- a/cachegrind/cg_diff.in
27+++ b/cachegrind/cg_diff.in
28@@ -1,4 +1,4 @@
29-#! @PERL@
30+#! /usr/bin/perl
31
32 ##--------------------------------------------------------------------##
33 ##--- Cachegrind's differencer. cg_diff.in ---##
34diff --git a/massif/ms_print.in b/massif/ms_print.in
35index e6ffdbf..fb45906 100755
36--- a/massif/ms_print.in
37+++ b/massif/ms_print.in
38@@ -1,4 +1,4 @@
39-#! @PERL@
40+#! /usr/bin/perl
41
42 ##--------------------------------------------------------------------##
43 ##--- Massif's results printer ms_print.in ---##
44diff --git a/perf/vg_perf.in b/perf/vg_perf.in
45index 2188a31..83ad024 100644
46--- a/perf/vg_perf.in
47+++ b/perf/vg_perf.in
48@@ -1,4 +1,4 @@
49-#! @PERL@
50+#! /usr/bin/perl
51 ##--------------------------------------------------------------------##
52 ##--- Valgrind performance testing script vg_perf ---##
53 ##--------------------------------------------------------------------##