Reinhard Max 2011-11-08 15:22:47 +00:00 committed by Git OBS Bridge
parent 2000e1da2d
commit 1bbb9b1d3b
4 changed files with 25 additions and 69 deletions

View File

@ -1,65 +0,0 @@
Index: ChangeLog
===================================================================
--- ChangeLog
+++ ChangeLog
@@ -1,5 +1,11 @@
+2011-06-30 Reinhard Max <max@suse.de>
+
+ * 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 <dgp@users.sourceforge.net>
*** 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,

View File

@ -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

View File

@ -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

3
tcl8.5.11-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a
size 4484001