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

git version control git at git.openembedded.org
Thu Mar 31 20:00:44 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: 4f44a92d29c35deff6936578e74eef4ecb0d0cc1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4f44a92d29c35deff6936578e74eef4ecb0d0cc1

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>

---

 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