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
This commit is contained in:
Robert Bradford 2007-02-27 17:56:16 +00:00
parent 237c2a23ad
commit 6a596808c5
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
Index: oprofile/pp/oparchive.cpp
===================================================================
--- oprofile.orig/pp/oparchive.cpp 2007-02-27 18:15:52.000000000 +0000
+++ oprofile/pp/oparchive.cpp 2007-02-27 18:16:08.000000000 +0000
@@ -164,5 +164,5 @@
int main(int argc, char const * argv[])
{
- run_pp_tool(argc, argv, oparchive);
+ return run_pp_tool(argc, argv, oparchive);
}

View File

@ -12,6 +12,7 @@ SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=
file://oparchive-list-files.patch;patch=1 \
file://opreport-xml-output-fixes.patch;patch=1 \
file://xml_callgraph.patch;patch=1 \
file://oparchive-exit-code-on-error.patch;patch=1 \
file://acinclude.m4"
S = "${WORKDIR}/oprofile"