summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-11-16 10:57:22 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-11-18 13:30:24 -0800
commitf4c814606f52487e4532202ae35c0ebe5d277652 (patch)
tree47b147983c40c12669e0a5cd954408addf0d6e7b /meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch
parent726746f40062d54a98b14cadd7f3869e92cfa204 (diff)
downloadopenembedded-core-f4c814606f52487e4532202ae35c0ebe5d277652.tar.gz
openembedded-core-f4c814606f52487e4532202ae35c0ebe5d277652.tar.bz2
openembedded-core-f4c814606f52487e4532202ae35c0ebe5d277652.tar.xz
openembedded-core-f4c814606f52487e4532202ae35c0ebe5d277652.zip
valgrind: Upgraded to version 3.6.0
Remove valgrind_3.5.0-svn_r11264.patch.bz2 which replaces version 3.5.0 to r11264. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch
new file mode 100644
index 000000000..2a0440a1b
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch
@@ -0,0 +1,51 @@
+this is a temporary patch to workaround cross compilation.
+otherwise @PERL@ will be replaced to perl-native binary,
+this creates unusable scripts and fails FILERDEPENDS mechanism
+(esp. rpm)
+
+a better fix would need:
+ 1. configure.ac should differentiate PERL and HOSTPERL
+ 2. optionally remove ${STAGING_DIR} in #! line before do_install
+
+8/31/2010 - created by Qing He <qing.he@intel.com>
+
+diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in
+index 9dc9565..cc4ef05 100644
+--- a/cachegrind/cg_annotate.in
++++ b/cachegrind/cg_annotate.in
+@@ -1,4 +1,4 @@
+-#! @PERL@
++#! /usr/bin/perl
+
+ ##--------------------------------------------------------------------##
+ ##--- Cachegrind's annotator. cg_annotate.in ---##
+diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in
+index 951066e..84c2dde 100644
+--- a/cachegrind/cg_diff.in
++++ b/cachegrind/cg_diff.in
+@@ -1,4 +1,4 @@
+-#! @PERL@
++#! /usr/bin/perl
+
+ ##--------------------------------------------------------------------##
+ ##--- Cachegrind's differencer. cg_diff.in ---##
+diff --git a/massif/ms_print.in b/massif/ms_print.in
+index e6ffdbf..fb45906 100755
+--- a/massif/ms_print.in
++++ b/massif/ms_print.in
+@@ -1,4 +1,4 @@
+-#! @PERL@
++#! /usr/bin/perl
+
+ ##--------------------------------------------------------------------##
+ ##--- Massif's results printer ms_print.in ---##
+diff --git a/perf/vg_perf.in b/perf/vg_perf.in
+index 2188a31..83ad024 100644
+--- a/perf/vg_perf.in
++++ b/perf/vg_perf.in
+@@ -1,4 +1,4 @@
+-#! @PERL@
++#! /usr/bin/perl
+ ##--------------------------------------------------------------------##
+ ##--- Valgrind performance testing script vg_perf ---##
+ ##--------------------------------------------------------------------##