memtester: Added patch to Makefile to change no-longer-supported 'head -1' syntax...
authorRod Whitby <rod@whitby.id.au>
Sun, 9 Jul 2006 07:04:37 +0000 (07:04 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 9 Jul 2006 07:04:37 +0000 (07:04 +0000)
packages/memtester/files/.mtn2git_empty [new file with mode: 0644]
packages/memtester/files/Makefile.patch [new file with mode: 0644]
packages/memtester/memtester_4.0.5.bb

diff --git a/packages/memtester/files/.mtn2git_empty b/packages/memtester/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/memtester/files/Makefile.patch b/packages/memtester/files/Makefile.patch
new file mode 100644 (file)
index 0000000..57a0464
--- /dev/null
@@ -0,0 +1,15 @@
+Index: memtester-4.0.5/Makefile
+===================================================================
+--- memtester-4.0.5.orig/Makefile      2005-03-14 06:02:30.000000000 -0800
++++ memtester-4.0.5/Makefile   2006-07-08 23:53:42.000000000 -0700
+@@ -24,8 +24,8 @@
+ auto-ccld.sh: \
+ conf-cc conf-ld warn-auto.sh
+       ( cat warn-auto.sh; \
+-      echo CC=\'`head -1 conf-cc`\'; \
+-      echo LD=\'`head -1 conf-ld`\' \
++      echo CC=\'`head -n 1 conf-cc`\'; \
++      echo LD=\'`head -n 1 conf-ld`\' \
+       ) > auto-ccld.sh
+ compile: \
index a33f6f5..3a45690 100644 (file)
@@ -2,8 +2,11 @@ SECTION = "console/utils"
 DESCRIPTION = "Utility to test for faulty memory subsystem"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
 LICENSE = "GPLv2"
+PR = "r1"
 
 SRC_URI = "http://pyropus.ca/software/memtester/memtester-${PV}.tar.gz"
+SRC_URI += "file://Makefile.patch;patch=1"
+
 S = "${WORKDIR}/memtester-${PV}"
 
 do_compile () {