summaryrefslogtreecommitdiff
path: root/meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-12 10:10:19 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-12 10:10:19 +0000
commit50f3bbc318d6f1e415be6bf334effbef4757fd7d (patch)
treee74e3d5ce95de956676cbb4fe0bd9a5d453399dd /meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch
parent272266f06ffbf67a73893ac5c46ee5e14688b16f (diff)
downloadopenembedded-core-50f3bbc318d6f1e415be6bf334effbef4757fd7d.tar.gz
openembedded-core-50f3bbc318d6f1e415be6bf334effbef4757fd7d.tar.bz2
openembedded-core-50f3bbc318d6f1e415be6bf334effbef4757fd7d.tar.xz
openembedded-core-50f3bbc318d6f1e415be6bf334effbef4757fd7d.zip
oprofile: Add 0.9.2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@793 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch')
-rw-r--r--meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch b/meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch
new file mode 100644
index 000000000..01ef11df8
--- /dev/null
+++ b/meta/packages/oprofile/oprofile-0.9.2/opcontrol_bashisms.patch
@@ -0,0 +1,16 @@
+ utils/opcontrol | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: oprofile-0.9.2/utils/opcontrol
+===================================================================
+--- oprofile-0.9.2.orig/utils/opcontrol 2006-03-29 22:54:07.000000000 +0100
++++ oprofile-0.9.2/utils/opcontrol 2006-10-12 11:14:39.000000000 +0100
+@@ -485,7 +485,7 @@ validate_separate_args()
+ SEPARATE_KERNEL=0
+ SEPARATE_THREAD=0
+ SEPARATE_CPU=0
+- while (($i < $#)); do
++ while [ "$i" -lt "$#" ]; do
+ shift
+ case "$1" in
+ lib|library)