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

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


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

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

samba: 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/samba/samba_3.5.6.bb |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/recipes/samba/samba_3.5.6.bb b/recipes/samba/samba_3.5.6.bb
index 72bada9..7b82849 100644
--- a/recipes/samba/samba_3.5.6.bb
+++ b/recipes/samba/samba_3.5.6.bb
@@ -10,7 +10,7 @@ S = "${WORKDIR}/samba-${PV}/source3"
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI += "file://config-h.patch \
-            file://tdbheaderfix.patch;apply=no"
+            file://tdbheaderfix.patch;patchdir=.."
 
 PR = "r0"
 
@@ -27,11 +27,6 @@ EXTRA_OECONF += "\
 	"
 
 do_configure() {
-	# Patches we must apply by hand due to layout.
-	cd ..
-	patch -p1 -i ${WORKDIR}/tdbheaderfix.patch
-	cd source3
-
 	oe_runconf
 }
 





More information about the Openembedded-commits mailing list