diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch | 51 | ||||
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.5.0.bb | 5 |
2 files changed, 54 insertions, 2 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..2a0440a1b0 --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | this is a temporary patch to workaround cross compilation. | ||
2 | otherwise @PERL@ will be replaced to perl-native binary, | ||
3 | this creates unusable scripts and fails FILERDEPENDS mechanism | ||
4 | (esp. rpm) | ||
5 | |||
6 | a 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 | |||
10 | 8/31/2010 - created by Qing He <qing.he@intel.com> | ||
11 | |||
12 | diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in | ||
13 | index 9dc9565..cc4ef05 100644 | ||
14 | --- a/cachegrind/cg_annotate.in | ||
15 | +++ b/cachegrind/cg_annotate.in | ||
16 | @@ -1,4 +1,4 @@ | ||
17 | -#! @PERL@ | ||
18 | +#! /usr/bin/perl | ||
19 | |||
20 | ##--------------------------------------------------------------------## | ||
21 | ##--- Cachegrind's annotator. cg_annotate.in ---## | ||
22 | diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in | ||
23 | index 951066e..84c2dde 100644 | ||
24 | --- a/cachegrind/cg_diff.in | ||
25 | +++ b/cachegrind/cg_diff.in | ||
26 | @@ -1,4 +1,4 @@ | ||
27 | -#! @PERL@ | ||
28 | +#! /usr/bin/perl | ||
29 | |||
30 | ##--------------------------------------------------------------------## | ||
31 | ##--- Cachegrind's differencer. cg_diff.in ---## | ||
32 | diff --git a/massif/ms_print.in b/massif/ms_print.in | ||
33 | index e6ffdbf..fb45906 100755 | ||
34 | --- a/massif/ms_print.in | ||
35 | +++ b/massif/ms_print.in | ||
36 | @@ -1,4 +1,4 @@ | ||
37 | -#! @PERL@ | ||
38 | +#! /usr/bin/perl | ||
39 | |||
40 | ##--------------------------------------------------------------------## | ||
41 | ##--- Massif's results printer ms_print.in ---## | ||
42 | diff --git a/perf/vg_perf.in b/perf/vg_perf.in | ||
43 | index 2188a31..83ad024 100644 | ||
44 | --- a/perf/vg_perf.in | ||
45 | +++ b/perf/vg_perf.in | ||
46 | @@ -1,4 +1,4 @@ | ||
47 | -#! @PERL@ | ||
48 | +#! /usr/bin/perl | ||
49 | ##--------------------------------------------------------------------## | ||
50 | ##--- Valgrind performance testing script vg_perf ---## | ||
51 | ##--------------------------------------------------------------------## | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.5.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.5.0.bb index c1a73f878d..6eba66e5bd 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.5.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.5.0.bb | |||
@@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \ | |||
7 | file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162aec37e \ | 7 | file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162aec37e \ |
8 | file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215" | 8 | file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215" |
9 | DEPENDS = "virtual/libx11" | 9 | DEPENDS = "virtual/libx11" |
10 | PR = "r3" | 10 | PR = "r4" |
11 | 11 | ||
12 | SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ | 12 | SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ |
13 | file://valgrind_3.5.0-svn_r11264.patch.bz2 \ | 13 | file://valgrind_3.5.0-svn_r11264.patch.bz2 \ |
14 | file://fix_issue_caused_by_ccache.patch " | 14 | file://fix_issue_caused_by_ccache.patch \ |
15 | file://fixed-perl-path.patch" | ||
15 | 16 | ||
16 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | 17 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' |
17 | 18 | ||