summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2011-12-23 13:25:43 +0800
committerSaul Wold <sgw@linux.intel.com>2012-01-02 20:26:23 -0800
commit7f58d1e670470e76077102629efabe91e5c2b9bf (patch)
tree3820245b5c439fb4eef397227287ecf79d9e6f77 /meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch
parent33e0cdbfe8ef9e8901badbd8bce1fcdab5f8b841 (diff)
downloadopenembedded-core-7f58d1e670470e76077102629efabe91e5c2b9bf.tar.gz
openembedded-core-7f58d1e670470e76077102629efabe91e5c2b9bf.tar.bz2
openembedded-core-7f58d1e670470e76077102629efabe91e5c2b9bf.tar.xz
openembedded-core-7f58d1e670470e76077102629efabe91e5c2b9bf.zip
valgrind: upgrade to 3.7.0
This patch is to upgrade valgrind to 3.7.0. The licenses are changed from "Copyright (C) 2000-2010 Julian Seward. All rights reserved." to "Copyright (C) 2000-2011 Julian Seward. All rights reserved." Signed-off-by: Shane Wang <shane.wang@intel.com>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch
new file mode 100644
index 000000000..b054d05f7
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind-3.7.0/fixed-perl-path.patch
@@ -0,0 +1,53 @@
+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>
+
+Upstream-Status: Inappropriate [configuration]
+
+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 ---##
+ ##--------------------------------------------------------------------##