[oe-commits] Tom Rini : db: Switch to patchdir rather than applying in do_configure

git version control git at git.openembedded.org
Mon Apr 25 16:48:26 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: 5d41a174d556aaf500d95a69464f97b7ee71de9f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5d41a174d556aaf500d95a69464f97b7ee71de9f

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Mar 31 10:09:11 2011 -0700

db: Switch to patchdir rather than applying in do_configure

Signed-off-by: Tom Rini <tom_rini at mentor.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 recipes/db/db_5.1.19.bb |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/recipes/db/db_5.1.19.bb b/recipes/db/db_5.1.19.bb
index 9c25876..740db92 100644
--- a/recipes/db/db_5.1.19.bb
+++ b/recipes/db/db_5.1.19.bb
@@ -17,7 +17,7 @@ CONFLICTS = "db3"
 PR = "r2"
 
 SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
-SRC_URI += "file://arm-thumb-mutex_db5.patch;apply=false"
+SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.."
 
 SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d"
 SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850"
@@ -74,8 +74,6 @@ EXTRA_OECONF += "${MUTEX}"
 # configure.
 CONFIG_SITE = ""
 do_configure() {
-	# Apply this patch in the correct spot
-	(cd .. ; patch -p1 -i ${WORKDIR}/arm-thumb-mutex_db5.patch)
 	oe_runconf
 }
 





More information about the Openembedded-commits mailing list