diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..f087b429e2f81a9f37b28a8308e2210f84df6c9b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..c63200596374310da489be718f4f80c2adf2e9de --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openeuler/jimtcl diff --git a/jimtcl-0.82.tar.gz b/jimtcl-0.82.tar.gz deleted file mode 100644 index 0b5b38acdd04f6153f427bf66d9d29619d0178d9..0000000000000000000000000000000000000000 Binary files a/jimtcl-0.82.tar.gz and /dev/null differ diff --git a/jimtcl-0.83.tar.gz b/jimtcl-0.83.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..de512be993f2907757813d8e81997ba196bc9e98 --- /dev/null +++ b/jimtcl-0.83.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f2df00009f5ac4ad654c1ae1d2f8ed18191de38d1f5a88a54ea99cc16936686 +size 4465834 diff --git a/jimtcl-stdio-for-readline.diff b/jimtcl-stdio-for-readline.diff new file mode 100644 index 0000000000000000000000000000000000000000..1a32d4775f1c65c3cf9c6a5b1f0d5914333c02be --- /dev/null +++ b/jimtcl-stdio-for-readline.diff @@ -0,0 +1,27 @@ +From 35e0e1f9b1f018666e5170a35366c5fc3b97309c Mon Sep 17 00:00:00 2001 +From: Steve Bennett +Date: Thu, 29 Aug 2024 08:25:11 +1000 +Subject: [PATCH] readline: work around buggy readline.h + +Some versions don't included needed stdio.h + +Fixes: #308 + +Signed-off-by: Steve Bennett +--- + jim-readline.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/jim-readline.c b/jim-readline.c +index 5715b2c9..c83e649b 100644 +--- a/jim-readline.c ++++ b/jim-readline.c +@@ -34,6 +34,8 @@ + + #include + ++#include ++ + #include + #include + diff --git a/jimtcl.spec b/jimtcl.spec index edfbb13854d5eef57dfbce981b8e0abd37d6f804..bd5eb33610be35c9e6c01190495f86dea4f50951 100644 --- a/jimtcl.spec +++ b/jimtcl.spec @@ -1,10 +1,11 @@ Name: jimtcl -Version: 0.82 -Release: 3 +Version: 0.83 +Release: 1 Summary: A small embeddable Tcl interpreter License: BSD-2-Clause-Views URL: http://jim.tcl.tk Source0: https://github.com/msteveb/jimtcl/archive/%{version}/jimtcl-%{version}.tar.gz +Patch0: jimtcl-stdio-for-readline.diff BuildRequires: asciidoc gcc-c++ make BuildRequires: pkgconfig(openssl) @@ -66,13 +67,22 @@ rm %{buildroot}/%{_libdir}/jim/README.extensions %{_libdir}/libjim.so.* %files devel -%doc DEVELOPING STYLE +%doc STYLE %{_includedir}/* %{_bindir}/build-jim-ext %{_libdir}/libjim.so %{_libdir}/pkgconfig/jimtcl.pc %changelog +* Mon Jun 30 2025 yaoxin <1024769339@qq.com> - 0.83-1 +- Update to 0.83: + * build: remove jsmn/*.o on clean + * core: support multi-level break, continue from loops + * interactive: enable hint support + * core: add support for proc static variables by reference + * clock: Fix DST problem in [clock scan] using "-gmt 0" + * add support for lsort -dict + * Sat Mar 15 2025 mahailiang - 0.82-3 - fix sw_64 build error