From 736cfe81f8a1b17b972d70bf01ca64c3e208f2f8 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 16 Mar 2011 08:43:42 -0700 Subject: [PATCH] tcl: Rework mips-tclstrtod.patch We can't portably use .. in paths in patches so we stop applying this in do_patch and instead apply it at the start of do_configure. Signed-off-by: Tom Rini --- recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch | 4 ++-- recipes/tcltk/tcl_8.5.8.bb | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch b/recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch index b846d0fa82..c7ac8cb0b1 100644 --- a/recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch +++ b/recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch @@ -1,7 +1,7 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=2902010&group_id=10894&atid=110894 ---- ../generic/tclStrToD.c.orig -+++ ../generic/tclStrToD.c +--- generic/tclStrToD.c.orig ++++ generic/tclStrToD.c @@ -71,9 +71,10 @@ /* diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb index e98b98d29d..e088b915a5 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;striplevel=0 \ + file://mips-tclstrtod.patch;apply=false \ " SRC_URI[md5sum] = "7f123e53b3daaaba2478d3af5a0752e3" SRC_URI[sha256sum] = "6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7" @@ -27,6 +27,7 @@ EXTRA_OECONF = "--enable-threads" do_configure_append() { echo > ../compat/fixstrtod.c + (cd .. ; patch -p0 -i ${WORKDIR}/mips-tclstrtod.patch) } do_compile_prepend_pn-tcl () { -- 2.39.5