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

git version control git at git.openembedded.org
Fri Apr 1 15:10:56 UTC 2011


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

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

tcl: 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/tcltk/tcl_8.5.8.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb
index e088b91..9bb6859 100644
--- a/recipes/tcltk/tcl_8.5.8.bb
+++ b/recipes/tcltk/tcl_8.5.8.bb
@@ -13,7 +13,7 @@ SRC_URI = "\
   file://tcllibrary.diff;striplevel=2 \
   file://tclpackagepath.diff;striplevel=2 \
   file://tclprivate.diff;striplevel=2 \
-  file://mips-tclstrtod.patch;apply=false \
+  file://mips-tclstrtod.patch;patchdir=..;striplevel=0 \
 "
 SRC_URI[md5sum] = "7f123e53b3daaaba2478d3af5a0752e3"
 SRC_URI[sha256sum] = "6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7"
@@ -27,7 +27,6 @@ EXTRA_OECONF = "--enable-threads"
 
 do_configure_append() {
         echo > ../compat/fixstrtod.c
-        (cd .. ; patch -p0 -i ${WORKDIR}/mips-tclstrtod.patch)
 }
 
 do_compile_prepend_pn-tcl () {





More information about the Openembedded-commits mailing list