tcl: upgrade to 8.6.1

Following patches were removed/refreshed:
 * let-DST-include-year-2099.patch - removed, fixed upstream
 * tcl-add-soname.patch - refreshed

(From OE-Core rev: 0d8ff52a4c2e31c28ef9b50a4c3a380cf263992b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Laurentiu Palcu
2013-10-16 15:41:00 +03:00
committed by Richard Purdie
parent 4d68d36dbe
commit 3347bc4964
3 changed files with 22 additions and 58 deletions

View File

@@ -1,35 +0,0 @@
From f10135df3f4751d7c83a66561c988ae799b6372f Mon Sep 17 00:00:00 2001
From: "Song.Li" <Song.Li@windriver.com>
Date: Fri, 10 Aug 2012 13:07:20 +0800
Subject: [PATCH] let DST include year 2099
tcl puts Daylight Saving Time in deffect from 1916 to 2099,
it should include the year 2099,becuase tcl
self-contained testing have a DST testcase on 2099.
so the condition statement "<2099" should be "<=2099"
Upstream-Status: Submitted
Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
library/clock.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/clock.tcl b/library/clock.tcl
index 2e9cae7..e8efe4a 100644
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -3945,7 +3945,7 @@ proc ::tcl::clock::ProcessPosixTimeZone { z } {
# Put DST in effect in all years from 1916 to 2099.
- for { set y 1916 } { $y < 2099 } { incr y } {
+ for { set y 1916 } { $y <= 2099 } { incr y } {
set startTime [DeterminePosixDSTTime $z start $y]
incr startTime [expr { - wide($stdOffset) }]
set endTime [DeterminePosixDSTTime $z end $y]
--
1.7.9.5

View File

@@ -1,10 +1,10 @@
Upstream-Status: Pending
diff --git unix.orig/configure unix/configure
index f778a7b..25083c2 100755
--- unix.orig/configure
+++ unix/configure
@@ -6889,6 +6889,7 @@ fi
Index: unix/configure
===================================================================
--- unix.orig/configure 2013-09-19 23:17:13.000000000 +0300
+++ unix/configure 2013-10-16 15:58:37.450136217 +0300
@@ -6899,6 +6899,7 @@
LIBS="$LIBS -lc"
SHLIB_CFLAGS=""
SHLIB_SUFFIX=".so"
@@ -12,11 +12,19 @@ index f778a7b..25083c2 100755
DL_OBJS="tclLoadDl.o"
LD_LIBRARY_PATH_VAR="LIBPATH"
diff --git unix.orig/tcl.m4 unix/tcl.m4
index b13fddd..7254f66 100644
--- unix.orig/tcl.m4
+++ unix/tcl.m4
@@ -1408,12 +1408,15 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
Index: unix/tcl.m4
===================================================================
--- unix.orig/tcl.m4 2013-09-19 23:17:13.000000000 +0300
+++ unix/tcl.m4 2013-10-16 16:18:50.719586228 +0300
@@ -1408,6 +1408,7 @@
Linux*|GNU*|NetBSD-Debian)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0'
CFLAGS_OPTIMIZE="-O2"
# egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
@@ -1415,12 +1416,15 @@
# get rid of the warnings.
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
@@ -33,15 +41,7 @@ index b13fddd..7254f66 100644
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"])
AS_IF([test $do64bit = yes], [
@@ -1439,6 +1442,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
GNU*)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.0'
SHLIB_LD='${CC} -shared'
DL_OBJS=""
@@ -2098,7 +2102,7 @@ dnl # preprocessing tests use only CPPFLAGS.
@@ -2050,7 +2054,7 @@
AS_IF([test "${SHARED_BUILD}" = 1 -a "${SHLIB_SUFFIX}" != ""], [
LIB_SUFFIX=${SHARED_LIB_SUFFIX}

View File

@@ -19,10 +19,9 @@ SRC_URI = "${BASE_SRC_URI} \
file://fix_issue_with_old_distro_glibc.patch \
file://no_packages.patch \
file://tcl-remove-hardcoded-install-path.patch \
file://let-DST-include-year-2099.patch;patchdir=.. "
SRC_URI[md5sum] = "573aa5fe678e9185ef2b3c56b24658d3"
SRC_URI[sha256sum] = "354422b9c4791685499123b2dfe01faa98b555c08906c010cb4449ddc75dcade"
"
SRC_URI[md5sum] = "aae4b701ee527c6e4e1a6f9c7399882e"
SRC_URI[sha256sum] = "16ee769248e64ba1cae6b4834fcc4e4edd7470d881410e8d58f7dd1434343514"
SRC_URI_class-native = "${BASE_SRC_URI}"