From 1bbb9b1d3b0d6bff8d3dace876bb8fc4033622e8ff718ab9d41306555c680a6e Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 8 Nov 2011 15:22:47 +0000 Subject: [PATCH 1/3] Version 8.5.11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=46 --- tcl-stack.patch | 65 -------------------------------------------- tcl.changes | 20 ++++++++++++++ tcl.spec | 6 ++-- tcl8.5.11-src.tar.gz | 3 ++ 4 files changed, 25 insertions(+), 69 deletions(-) delete mode 100644 tcl-stack.patch create mode 100644 tcl8.5.11-src.tar.gz diff --git a/tcl-stack.patch b/tcl-stack.patch deleted file mode 100644 index f008111..0000000 --- a/tcl-stack.patch +++ /dev/null @@ -1,65 +0,0 @@ -Index: ChangeLog -=================================================================== ---- ChangeLog -+++ ChangeLog -@@ -1,5 +1,11 @@ -+2011-06-30 Reinhard Max -+ -+ * unix/configure.in: Add a volatile declaration to the test for -+ TCL_STACK_GROWS_UP to prevent gcc 4.6 from producing invalid -+ results due to aggressive optimisation. -+ - 2011-06-23 Don Porter - - *** 8.5.10 TAGGED FOR RELEASE *** - - * changes: Update for 8.5.10 release. - -Index: unix/configure -=================================================================== ---- unix/configure -+++ unix/configure -@@ -18703,14 +18703,16 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - - int StackGrowsUp(int *parent) { - int here; -+ volatile int result; - if (parent) -- return (&here < parent); -+ result = (&here < parent); - else -- return StackGrowsUp(&here); -+ result = StackGrowsUp(&here); -+ return result; - } - int main (int argc, char *argv[]) { - return StackGrowsUp(0); - } - - -Index: unix/configure.in -=================================================================== ---- unix/configure.in -+++ unix/configure.in -@@ -703,14 +703,16 @@ - - AC_CACHE_CHECK([if the C stack grows upwards in memory], tcl_cv_stack_grows_up, [ - AC_TRY_RUN([ - int StackGrowsUp(int *parent) { - int here; -+ volatile int result; - if (parent) -- return (&here < parent); -+ result = (&here < parent); - else -- return StackGrowsUp(&here); -+ result = StackGrowsUp(&here); -+ return result; - } - int main (int argc, char *argv[]) { - return StackGrowsUp(0); - } - ], tcl_cv_stack_grows_up=yes, tcl_cv_stack_grows_up=no, - diff --git a/tcl.changes b/tcl.changes index e8883b2..c98470c 100644 --- a/tcl.changes +++ b/tcl.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Nov 8 15:18:10 UTC 2011 - max@suse.com + +- New patchlevel release 8.5.11: + * [3349507] correct double(1[string repeat 0 23]) + * [3371644] Tcl_ConvertElement() segfault + * [3372130] hypot(.) segfault + * [3389764] memleaks due to reference cycles in dup'd paths + * [3390272] leak of [info script] value + * [3393150] bignum leaks in Tcl_Get*() routines + * [3393714] [string toupper] overflow + * [3398794] panic in interp limit setting (gavlian,fellows) + * [3401704] revised expr parser to permit function names like + "nano()" instead of parsing as "nan o()" with missing op + *** POTENTIAL INCOMPATIBILITY *** + * [3405652] DTrace workaround + * [3391977] -headers overrides -type (=> http 2.7.7) + * [3400658] wrong num args msg with TclOO + * [2935503] [file stat] returns bad mode + ------------------------------------------------------------------- Tue Oct 4 13:08:26 UTC 2011 - uli@suse.com diff --git a/tcl.spec b/tcl.spec index c7edeff..b218e64 100644 --- a/tcl.spec +++ b/tcl.spec @@ -20,7 +20,7 @@ Name: tcl Url: http://www.tcl.tk -Version: 8.5.10 +Version: 8.5.11 Release: 1 %define TCL_MINOR %(echo %version | cut -c1-3) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -35,13 +35,12 @@ Obsoletes: tcl-64bit # Provides: tclsh tclsh%{TCL_MINOR} PreReq: /bin/rm -Source0: %name%{version}-src.tar.bz2 +Source0: %name%{version}-src.tar.gz Source1: tcl-rpmlintrc Source2: baselibs.conf Source3: macros.tcl Patch0: tcl.patch Patch1: tcl-unload.patch -Patch2: tcl-stack.patch %description Tcl (Tool Command Language) is a very powerful but easy to learn @@ -89,7 +88,6 @@ Authors: %setup -q -n %name%version %patch0 %patch1 -%patch2 %build cd unix diff --git a/tcl8.5.11-src.tar.gz b/tcl8.5.11-src.tar.gz new file mode 100644 index 0000000..74df504 --- /dev/null +++ b/tcl8.5.11-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a +size 4484001 From 7974ae50b25e8fbea19d962a494d554b251d29465565448812dd54f3e0f9f742 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 21 Dec 2011 11:20:09 +0000 Subject: [PATCH 2/3] Accepting request 97547 from home:coolo:removeautoconf add autoconf to buildrequires OBS-URL: https://build.opensuse.org/request/show/97547 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=47 --- tcl.changes | 5 +++++ tcl.spec | 24 ++++-------------------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/tcl.changes b/tcl.changes index c98470c..5fb3517 100644 --- a/tcl.changes +++ b/tcl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 21 10:45:06 UTC 2011 - coolo@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + ------------------------------------------------------------------- Tue Nov 8 15:18:10 UTC 2011 - max@suse.com diff --git a/tcl.spec b/tcl.spec index b218e64..1acefb0 100644 --- a/tcl.spec +++ b/tcl.spec @@ -15,19 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: tcl Url: http://www.tcl.tk Version: 8.5.11 -Release: 1 +Release: 0 %define TCL_MINOR %(echo %version | cut -c1-3) BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: The Tcl Programming Language -License: BSD3c(or similar) +License: BSD-3-Clause Group: Development/Languages/Tcl -AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: tcl-64bit @@ -41,6 +37,7 @@ Source2: baselibs.conf Source3: macros.tcl Patch0: tcl.patch Patch1: tcl-unload.patch +BuildRequires: autoconf %description Tcl (Tool Command Language) is a very powerful but easy to learn @@ -53,16 +50,9 @@ deployed and highly extensible. For more information on Tcl see http://www.tcl.tk and http://wiki.tcl.tk . - - -Authors: --------- - The Tcl Core Team - %package devel -Group: Development/Libraries/Tcl -License: BSD3c(or similar) Summary: Header Files and C API Documentation for Tcl +Group: Development/Libraries/Tcl Requires: tcl = %version # bug437293 %ifarch ppc64 @@ -78,12 +68,6 @@ embedding the Tcl interpreter in programs written in such languages. This package is not needed for writing extensions or applications in the Tcl language itself. - - -Authors: --------- - The Tcl Core Team - %prep %setup -q -n %name%version %patch0 From a4f8142259910e18a454df13e29fe60dcbbe732e5f322d4d48cf10265719209f Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 21 Dec 2011 13:31:14 +0000 Subject: [PATCH 3/3] Removed leftover 8.5.10 tarball OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=48 --- tcl.spec | 2 ++ tcl8.5.10-src.tar.bz2 | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 tcl8.5.10-src.tar.bz2 diff --git a/tcl.spec b/tcl.spec index 1acefb0..b9e5abf 100644 --- a/tcl.spec +++ b/tcl.spec @@ -15,6 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: tcl Url: http://www.tcl.tk Version: 8.5.11 diff --git a/tcl8.5.10-src.tar.bz2 b/tcl8.5.10-src.tar.bz2 deleted file mode 100644 index bd8bee3..0000000 --- a/tcl8.5.10-src.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7c145f9749135f769552d1b10bbd6c9901aae84c37e94828b303a8fc5740e4e -size 3480226