summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-01-08 09:42:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-10 11:10:00 +0000
commitbc7d32e16a81b6cbac49c92441796d3f47509cd6 (patch)
tree99cef910f4d9eb75e4ed8ae39a61a5a190722582
parent9c80c18f829b35497f6cdd3871af66a2621d5478 (diff)
downloadpoky-bc7d32e16a81b6cbac49c92441796d3f47509cd6.tar.gz
tcl: update 9.0.0 -> 9.0.1
(From OE-Core rev: 8ddc1bdf45e39962338dc5ec51e4582d1f0c3d83) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch14
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch17
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch11
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch15
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch21
-rw-r--r--meta/recipes-devtools/tcltk/tcl_9.0.1.bb (renamed from meta/recipes-devtools/tcltk/tcl_9.0.0.bb)2
6 files changed, 32 insertions, 48 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch b/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch
index 9472591a55..343209ecec 100644
--- a/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch
+++ b/meta/recipes-devtools/tcltk/tcl/0001-tcl-Add-tcltk-from-OE.dev-but-with-legacy-staging-fu.patch
@@ -1,8 +1,7 @@
1From f69a01c5932af2d5ece6141e4424b14a2d645fd7 Mon Sep 17 00:00:00 2001 1From 822a73a5dec13549cb20e6c7338b059ece2ea95a Mon Sep 17 00:00:00 2001
2From: Richard Purdie <rpurdie@linux.intel.com> 2From: Richard Purdie <rpurdie@linux.intel.com>
3Date: Wed, 9 Dec 2009 23:59:44 +0000 3Date: Wed, 9 Dec 2009 23:59:44 +0000
4Subject: [PATCH 1/5] tcl: Add tcltk from OE.dev but with legacy staging 4Subject: [PATCH] tcl: Add tcltk from OE.dev but with legacy staging function
5 function
6 5
7Upstream-Status: Pending 6Upstream-Status: Pending
8--- 7---
@@ -11,10 +10,10 @@ Upstream-Status: Pending
11 2 files changed, 7 insertions(+), 1 deletion(-) 10 2 files changed, 7 insertions(+), 1 deletion(-)
12 11
13diff --git a/unix/Makefile.in b/unix/Makefile.in 12diff --git a/unix/Makefile.in b/unix/Makefile.in
14index 0ff1258..6e74458 100644 13index b72b0da..2de7b2f 100644
15--- a/unix/Makefile.in 14--- a/unix/Makefile.in
16+++ b/unix/Makefile.in 15+++ b/unix/Makefile.in
17@@ -1027,7 +1027,10 @@ install-binaries: binaries 16@@ -1021,7 +1021,10 @@ install-binaries: binaries
18 done 17 done
19 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" 18 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
20 @@INSTALL_LIB@ 19 @@INSTALL_LIB@
@@ -27,7 +26,7 @@ index 0ff1258..6e74458 100644
27 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" 26 @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
28 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" 27 @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
29diff --git a/unix/tcl.m4 b/unix/tcl.m4 28diff --git a/unix/tcl.m4 b/unix/tcl.m4
30index 99bc8bf..7e6e0da 100644 29index 4265832..49ad5ab 100644
31--- a/unix/tcl.m4 30--- a/unix/tcl.m4
32+++ b/unix/tcl.m4 31+++ b/unix/tcl.m4
33@@ -1269,6 +1269,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ 32@@ -1269,6 +1269,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
@@ -40,6 +39,3 @@ index 99bc8bf..7e6e0da 100644
40 SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared' 39 SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
41 DL_OBJS="tclLoadDl.o" 40 DL_OBJS="tclLoadDl.o"
42 DL_LIBS="-ldl" 41 DL_LIBS="-ldl"
43--
442.39.5
45
diff --git a/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch b/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
index 53cfd8927d..a2d5622528 100644
--- a/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
+++ b/meta/recipes-devtools/tcltk/tcl/0002-tcl-fix-a-build-issue.patch
@@ -1,7 +1,7 @@
1From 61ef40f2bc418ce072828ad1939eaa40f981e76e Mon Sep 17 00:00:00 2001 1From 363d9d8fb329b26d1e59ece7f269a7a28e6722c5 Mon Sep 17 00:00:00 2001
2From: Nitin A Kamble <nitin.a.kamble@intel.com> 2From: Nitin A Kamble <nitin.a.kamble@intel.com>
3Date: Fri, 13 Aug 2010 12:24:00 -0700 3Date: Fri, 13 Aug 2010 12:24:00 -0700
4Subject: [PATCH 2/5] tcl: fix a build issue 4Subject: [PATCH] tcl: fix a build issue
5 5
6Upstream-Status: Inappropriate [upstream does not support installed tests] 6Upstream-Status: Inappropriate [upstream does not support installed tests]
7--- 7---
@@ -9,10 +9,10 @@ Upstream-Status: Inappropriate [upstream does not support installed tests]
9 1 file changed, 9 insertions(+), 10 deletions(-) 9 1 file changed, 9 insertions(+), 10 deletions(-)
10 10
11diff --git a/unix/Makefile.in b/unix/Makefile.in 11diff --git a/unix/Makefile.in b/unix/Makefile.in
12index 6e74458..bd0b818 100644 12index 2de7b2f..b5f9ab7 100644
13--- a/unix/Makefile.in 13--- a/unix/Makefile.in
14+++ b/unix/Makefile.in 14+++ b/unix/Makefile.in
15@@ -918,7 +918,7 @@ tcltest-real: 15@@ -912,7 +912,7 @@ tcltest-real:
16 test: test-tcl test-packages 16 test: test-tcl test-packages
17 17
18 test-tcl: ${TCLTEST_EXE} 18 test-tcl: ${TCLTEST_EXE}
@@ -21,7 +21,7 @@ index 6e74458..bd0b818 100644
21 21
22 gdb-test: ${TCLTEST_EXE} 22 gdb-test: ${TCLTEST_EXE}
23 $(SHELL_ENV) $(GDB) --args ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \ 23 $(SHELL_ENV) $(GDB) --args ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \
24@@ -928,15 +928,14 @@ lldb-test: ${TCLTEST_EXE} 24@@ -922,15 +922,14 @@ lldb-test: ${TCLTEST_EXE}
25 $(SHELL_ENV) $(LLDB) -- ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \ 25 $(SHELL_ENV) $(LLDB) -- ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \
26 $(TESTFLAGS) -singleproc 1 26 $(TESTFLAGS) -singleproc 1
27 27
@@ -39,7 +39,7 @@ index 6e74458..bd0b818 100644
39 39
40 # The following target generates the shared libraries in dltest/ that are used 40 # The following target generates the shared libraries in dltest/ that are used
41 # for testing; they are included as part of the "tcltest" target (via the 41 # for testing; they are included as part of the "tcltest" target (via the
42@@ -954,17 +953,17 @@ dltest.marker: ${STUB_LIB_FILE} 42@@ -948,17 +947,17 @@ dltest.marker: ${STUB_LIB_FILE}
43 # This target can be used to run tclsh from the build directory 43 # This target can be used to run tclsh from the build directory
44 # via `make shell SCRIPT=/tmp/foo.tcl` 44 # via `make shell SCRIPT=/tmp/foo.tcl`
45 shell: ${TCL_EXE} 45 shell: ${TCL_EXE}
@@ -60,7 +60,7 @@ index 6e74458..bd0b818 100644
60 $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind \ 60 $(TOP_DIR)/tests/all.tcl -singleproc 1 -constraints valgrind \
61 $(TESTFLAGS) 61 $(TESTFLAGS)
62 62
63@@ -990,13 +989,13 @@ valgrind_each: $(addprefix testresults/valgrind/,$(addsuffix .success,$(notdir\ 63@@ -984,13 +983,13 @@ valgrind_each: $(addprefix testresults/valgrind/,$(addsuffix .success,$(notdir\
64 64
65 65
66 valgrindshell: ${TCL_EXE} 66 valgrindshell: ${TCL_EXE}
@@ -77,6 +77,3 @@ index 6e74458..bd0b818 100644
77 77
78 #-------------------------------------------------------------------------- 78 #--------------------------------------------------------------------------
79 # Installation rules 79 # Installation rules
80--
812.39.5
82
diff --git a/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch b/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch
index fb53404498..8a425637c6 100644
--- a/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch
+++ b/meta/recipes-devtools/tcltk/tcl/0003-tcl-install-tcl-to-lib64-instead-of-lib-on-64bit-tar.patch
@@ -1,7 +1,7 @@
1From 8af08b6f1e566af239e36864823a96c2c283e4ea Mon Sep 17 00:00:00 2001 1From 964b9649f8d044d38fdc8c4201075692e5f537a0 Mon Sep 17 00:00:00 2001
2From: "Song.Li" <Song.Li@windriver.com> 2From: "Song.Li" <Song.Li@windriver.com>
3Date: Wed, 1 Aug 2012 19:05:51 +0800 3Date: Wed, 1 Aug 2012 19:05:51 +0800
4Subject: [PATCH 3/5] tcl:install tcl to lib64 instead of lib on 64bit target 4Subject: [PATCH] tcl:install tcl to lib64 instead of lib on 64bit target
5 5
6Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}. 6Remove hardcoded library install path. Change $(prefix)/lib/ to ${libdir}.
7 7
@@ -17,10 +17,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/unix/configure.ac b/unix/configure.ac 19diff --git a/unix/configure.ac b/unix/configure.ac
20index 461b394..b6d2506 100644 20index 7f012d4..43ec7e4 100644
21--- a/unix/configure.ac 21--- a/unix/configure.ac
22+++ b/unix/configure.ac 22+++ b/unix/configure.ac
23@@ -753,7 +753,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" 23@@ -725,7 +725,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
24 24
25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 25 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
26 26
@@ -29,6 +29,3 @@ index 461b394..b6d2506 100644
29 PRIVATE_INCLUDE_DIR='$(includedir)' 29 PRIVATE_INCLUDE_DIR='$(includedir)'
30 HTML_DIR='$(DISTDIR)/html' 30 HTML_DIR='$(DISTDIR)/html'
31 31
32--
332.39.5
34
diff --git a/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch b/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch
index 7953dcecff..50a4a27256 100644
--- a/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch
+++ b/meta/recipes-devtools/tcltk/tcl/0004-tcl-update-the-header-location.patch
@@ -1,7 +1,7 @@
1From 20870e9cd4f5a211fe94f484f707269ee1abd947 Mon Sep 17 00:00:00 2001 1From d2fa5a1efa5e4f07b294660c2513766c168137ce Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 22 Nov 2022 18:48:27 +0800 3Date: Tue, 22 Nov 2022 18:48:27 +0800
4Subject: [PATCH 4/5] tcl: update the header location 4Subject: [PATCH] tcl: update the header location
5 5
6Lets install the include header and private header files into 6Lets install the include header and private header files into
7usr/include/tcl8.6 when version of tcl is 8.6.x 7usr/include/tcl8.6 when version of tcl is 8.6.x
@@ -26,7 +26,7 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
26 3 files changed, 4 insertions(+), 4 deletions(-) 26 3 files changed, 4 insertions(+), 4 deletions(-)
27 27
28diff --git a/unix/Makefile.in b/unix/Makefile.in 28diff --git a/unix/Makefile.in b/unix/Makefile.in
29index bd0b818..ddf2b67 100644 29index b5f9ab7..fbc87a2 100644
30--- a/unix/Makefile.in 30--- a/unix/Makefile.in
31+++ b/unix/Makefile.in 31+++ b/unix/Makefile.in
32@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) 32@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
@@ -39,10 +39,10 @@ index bd0b818..ddf2b67 100644
39 # Path to the private tcl header dir: 39 # Path to the private tcl header dir:
40 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@ 40 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
41diff --git a/unix/configure.ac b/unix/configure.ac 41diff --git a/unix/configure.ac b/unix/configure.ac
42index b6d2506..72a8b0d 100644 42index 43ec7e4..19524d1 100644
43--- a/unix/configure.ac 43--- a/unix/configure.ac
44+++ b/unix/configure.ac 44+++ b/unix/configure.ac
45@@ -754,7 +754,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" 45@@ -726,7 +726,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
46 eval "TCL_LIB_FILE=${TCL_LIB_FILE}" 46 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
47 47
48 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' 48 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
@@ -51,7 +51,7 @@ index b6d2506..72a8b0d 100644
51 HTML_DIR='$(DISTDIR)/html' 51 HTML_DIR='$(DISTDIR)/html'
52 52
53 # Note: in the following variable, it's important to use the absolute 53 # Note: in the following variable, it's important to use the absolute
54@@ -921,7 +921,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}" 54@@ -893,7 +893,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
55 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}" 55 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
56 56
57 # Install time header dir can be set via --includedir 57 # Install time header dir can be set via --includedir
@@ -73,6 +73,3 @@ index 9c6da82..8aa5ae8 100644
73 libfile=@TCL_LIB_FILE@ 73 libfile=@TCL_LIB_FILE@
74 74
75 Name: Tool Command Language 75 Name: Tool Command Language
76--
772.39.5
78
diff --git a/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch b/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch
index dfb0b63a0e..07912da5b3 100644
--- a/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch
+++ b/meta/recipes-devtools/tcltk/tcl/0005-tcl-fix-race-in-interp.test.patch
@@ -1,7 +1,7 @@
1From 8a96171a33c886d1d9aab40e40f8aae2f621ca08 Mon Sep 17 00:00:00 2001 1From fd75e3613613726786c54a25ee611c5176b33510 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com> 2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 12 Jul 2021 14:50:13 +0100 3Date: Mon, 12 Jul 2021 14:50:13 +0100
4Subject: [PATCH 5/5] tcl: fix race in interp.test 4Subject: [PATCH] tcl: fix race in interp.test
5 5
6The interp-36.7 patch has race conditions and is missing cleanup. This patch by 6The interp-36.7 patch has race conditions and is missing cleanup. This patch by
7a Tcl maintainer should improve matters. 7a Tcl maintainer should improve matters.
@@ -13,20 +13,20 @@ Signed-off-by: Ross Burton <ross.burton@arm.com>
13 1 file changed, 4 insertions(+), 3 deletions(-) 13 1 file changed, 4 insertions(+), 3 deletions(-)
14 14
15diff --git a/tests/interp.test b/tests/interp.test 15diff --git a/tests/interp.test b/tests/interp.test
16index 30dc659..e7cd0ee 100644 16index 0092a03..eecfd3b 100644
17--- a/tests/interp.test 17--- a/tests/interp.test
18+++ b/tests/interp.test 18+++ b/tests/interp.test
19@@ -3614,17 +3614,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup { 19@@ -3614,17 +3614,18 @@ test interp-36.7 {ChildBgerror sets error handler of child [1999035]} -setup {
20 variable result 20 variable result
21 set result [lindex $args 0] 21 set result [lindex $args 0]
22 } 22 }
23+ set tout [after 5000 {set result timeout}] 23+ set tout [after 5000 {set result timeout}]
24 } -body { 24 } -body {
25 child eval { 25 child eval {
26 variable done {} 26 variable done {}
27 after 0 error foo 27 after 0 error foo
28- after 10 [list ::set [namespace which -variable done] {}] 28- after 10 [list ::set [namespace which -variable done] {}]
29- vwait [namespace which -variable done] 29- vwait [namespace which -variable done]
30 } 30 }
31+ vwait result 31+ vwait result
32 set result 32 set result
@@ -38,6 +38,3 @@ index 30dc659..e7cd0ee 100644
38 interp delete child 38 interp delete child
39 } -result foo 39 } -result foo
40 40
41--
422.39.5
43
diff --git a/meta/recipes-devtools/tcltk/tcl_9.0.0.bb b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
index 0d2efa44aa..0ba7288a60 100644
--- a/meta/recipes-devtools/tcltk/tcl_9.0.0.bb
+++ b/meta/recipes-devtools/tcltk/tcl_9.0.1.bb
@@ -23,7 +23,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/tcl/tcl-core${PV}-src.tar.gz \
23 file://0004-tcl-update-the-header-location.patch \ 23 file://0004-tcl-update-the-header-location.patch \
24 file://0005-tcl-fix-race-in-interp.test.patch \ 24 file://0005-tcl-fix-race-in-interp.test.patch \
25 " 25 "
26SRC_URI[sha256sum] = "3186e23c7417359d90e3c46f531d442c76d3c05a2dba1081c02b75e32908b2b7" 26SRC_URI[sha256sum] = "488fcb6c875a1762e9e8478319b20fbad9a31de475f056aeed94cc54b44cf221"
27 27
28UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html" 28UPSTREAM_CHECK_URI = "https://www.tcl.tk/software/tcltk/download.html"
29UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src" 29UPSTREAM_CHECK_REGEX = "tcl(?P<pver>\d+(\.\d+)+)-src"