diff options
author | Robert Bradford <rob@openedhand.com> | 2007-02-27 17:56:16 +0000 |
---|---|---|
committer | Robert Bradford <rob@openedhand.com> | 2007-02-27 17:56:16 +0000 |
commit | 6a596808c50982ca6db8ced6ce2bc7ad5b92dcc1 (patch) | |
tree | 3661864afb8c953cde5cd0808c2bc98f795dd8a9 /meta/packages/oprofile | |
parent | 237c2a23adad07210b59ba7b69329b7a908e4fd0 (diff) | |
download | poky-6a596808c50982ca6db8ced6ce2bc7ad5b92dcc1.tar.gz |
Add a patch to oparchive so that the program exits with non-zero exit code on
error.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1295 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/oprofile')
-rw-r--r-- | meta/packages/oprofile/oprofile/oparchive-exit-code-on-error.patch | 11 | ||||
-rw-r--r-- | meta/packages/oprofile/oprofile_cvs.bb | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/meta/packages/oprofile/oprofile/oparchive-exit-code-on-error.patch b/meta/packages/oprofile/oprofile/oparchive-exit-code-on-error.patch new file mode 100644 index 0000000000..ab4d7f4219 --- /dev/null +++ b/meta/packages/oprofile/oprofile/oparchive-exit-code-on-error.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | Index: oprofile/pp/oparchive.cpp | ||
2 | =================================================================== | ||
3 | --- oprofile.orig/pp/oparchive.cpp 2007-02-27 18:15:52.000000000 +0000 | ||
4 | +++ oprofile/pp/oparchive.cpp 2007-02-27 18:16:08.000000000 +0000 | ||
5 | @@ -164,5 +164,5 @@ | ||
6 | |||
7 | int main(int argc, char const * argv[]) | ||
8 | { | ||
9 | - run_pp_tool(argc, argv, oparchive); | ||
10 | + return run_pp_tool(argc, argv, oparchive); | ||
11 | } | ||
diff --git a/meta/packages/oprofile/oprofile_cvs.bb b/meta/packages/oprofile/oprofile_cvs.bb index 034ea51ff0..4c45709818 100644 --- a/meta/packages/oprofile/oprofile_cvs.bb +++ b/meta/packages/oprofile/oprofile_cvs.bb | |||
@@ -12,6 +12,7 @@ SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module= | |||
12 | file://oparchive-list-files.patch;patch=1 \ | 12 | file://oparchive-list-files.patch;patch=1 \ |
13 | file://opreport-xml-output-fixes.patch;patch=1 \ | 13 | file://opreport-xml-output-fixes.patch;patch=1 \ |
14 | file://xml_callgraph.patch;patch=1 \ | 14 | file://xml_callgraph.patch;patch=1 \ |
15 | file://oparchive-exit-code-on-error.patch;patch=1 \ | ||
15 | file://acinclude.m4" | 16 | file://acinclude.m4" |
16 | S = "${WORKDIR}/oprofile" | 17 | S = "${WORKDIR}/oprofile" |
17 | 18 | ||