diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-03-16 08:43:42 -0700 |
---|---|---|
committer | Steffen Sledz <sledz@dresearch-fe.de> | 2011-04-29 14:08:31 +0200 |
commit | b23d9199533321bc80a2bcb5b68f26129cc5dbd7 (patch) | |
tree | 6f50497020250d19cde92187a1a824d31c9468c4 /recipes/tcltk | |
parent | fde6e8dd1501beeb66acd7249978b3991dffc6ad (diff) | |
download | openembedded-b23d9199533321bc80a2bcb5b68f26129cc5dbd7.tar.gz |
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 <tom_rini@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes/tcltk')
-rw-r--r-- | recipes/tcltk/tcl-8.5.8/mips-tclstrtod.patch | 4 | ||||
-rw-r--r-- | 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 () { |