lmbench 2.0.4: Add a patch to fix a problem in 'gnu-os'
authorTom Rini <tom_rini@mentor.com>
Fri, 19 Nov 2010 13:43:11 +0000 (06:43 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 19 Nov 2010 15:14:38 +0000 (08:14 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/lmbench/lmbench-2.0.4/gnu-os-rundir.patch [new file with mode: 0644]
recipes/lmbench/lmbench_2.0.4.bb

diff --git a/recipes/lmbench/lmbench-2.0.4/gnu-os-rundir.patch b/recipes/lmbench/lmbench-2.0.4/gnu-os-rundir.patch
new file mode 100644 (file)
index 0000000..afffcea
--- /dev/null
@@ -0,0 +1,12 @@
+Index: lmbench-2.0.4/scripts/gnu-os
+===================================================================
+--- lmbench-2.0.4.orig/scripts/gnu-os
++++ lmbench-2.0.4/scripts/gnu-os
+@@ -88,6 +88,7 @@ if test $# != 0; then
+   exit 1
+ fi
++mkdir -p $RUNDIR
+ cd $RUNDIR
+ dummy=`tempfile -d .`
+ #dummy=dummy-$$
index c1707df..e650dd3 100644 (file)
@@ -3,13 +3,14 @@ DESCRIPTION = "Tools for performance analysis."
 LICENSE = "GPL"
 RDEPENDS_${PN} = "debianutils"
 
-PR = "r3"
+PR = "r4"
 
 inherit autotools
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
           file://debian.patch \
           file://exe.patch \
+          file://gnu-os-rundir.patch \
           file://lmbench-run"
 S = "${WORKDIR}/lmbench-${PV}"