-diff -up tcl8.5.6/generic/tclPort.h.old tcl8.5.6/generic/tclPort.h
---- tcl8.5.6/generic/tclPort.h.old 2009-02-09 16:40:08.000000000 +0100
-+++ tcl8.5.6/generic/tclPort.h 2009-02-09 16:40:26.000000000 +0100
+--- tcl8.5.9/generic/tclPort.h.orig 2010-02-01 00:51:36.000000000 +0100
++++ tcl8.5.9/generic/tclPort.h 2010-10-02 08:15:42.668708988 +0200
@@ -24,7 +24,7 @@
- #if defined(__WIN32__)
- # include "tclWinPort.h"
- #else
+ #endif
+ #include "tcl.h"
+ #if !defined(_WIN32)
-# include "tclUnixPort.h"
+# include "../unix/tclUnixPort.h"
#endif
- #if !defined(LLONG_MIN)
+ #if defined(__CYGWIN__)
diff -up tcl8.5.6/generic/tclInt.h.bbb tcl8.5.6/generic/tclInt.h
--- tcl8.5.6/generic/tclInt.h.bbb 2008-11-14 01:22:39.000000000 +0100
+++ tcl8.5.6/generic/tclInt.h 2009-02-11 13:05:13.000000000 +0100
---- tcl8.4.9/unix/installManPage.orig 2004-12-07 01:23:45.000000000 +0100
-+++ tcl8.4.9/unix/installManPage 2004-12-08 15:59:56.000000000 +0100
-@@ -62,6 +62,7 @@
- $ZIP $DIR/$FIRST
+--- tcl8.5.9/unix/installManPage.orig 2010-09-08 19:40:48.000000000 +0200
++++ tcl8.5.9/unix/installManPage 2010-10-02 08:14:15.348556463 +0200
+@@ -108,7 +108,7 @@
+ chmod 444 $Dir/$First
+ $Gzip $Dir/$First
else
- rm -f $DIR/$f $DIR/$f.*
-- ln $S$FIRST$Z $DIR/$f$Z
-+ echo ".so $FIRST" > $DIR/$f
-+ $ZIP $DIR/$f
+- ln $SymOrLoc$First$Gz $Dir/$Target$Gz
++ echo ".so $First" > $Dir/$Target
fi
done
+
---- tcl8.5a4/unix/Makefile.in.orig 2006-04-26 17:43:12.000000000 +0200
-+++ tcl8.5a4/unix/Makefile.in 2006-05-24 00:56:49.007243250 +0200
-@@ -289,7 +289,7 @@
+--- tcl8.5.9/unix/Makefile.in.orig 2010-09-08 19:40:48.000000000 +0200
++++ tcl8.5.9/unix/Makefile.in 2010-10-02 08:09:01.572556463 +0200
+@@ -269,7 +269,7 @@
DEPEND_SWITCHES = ${CFLAGS} -I${UNIX_DIR} -I${GENERIC_DIR} \
- ${AC_FLAGS} ${GENERIC_FLAGS} ${PROTO_FLAGS} @EXTRA_CC_SWITCHES@
+ ${AC_FLAGS} ${PROTO_FLAGS} ${EXTRA_CFLAGS} @EXTRA_CC_SWITCHES@
-TCLSH_OBJS = tclAppInit.o
+TCLSH_OBJS = tclAppInit.o rl-tclMain.o
TCLTEST_OBJS = tclTestInit.o tclTest.o tclTestObj.o tclTestProcBodyObj.o \
- tclThreadTest.o tclUnixTest.o
-@@ -574,7 +574,7 @@
+ tclThreadTest.o tclUnixTest.o
+@@ -567,7 +567,7 @@
- tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}
+ ${TCL_EXE}: ${TCLSH_OBJS} ${TCL_LIB_FILE}
${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS} @TCL_BUILD_LIB_SPEC@ ${LIBS} @EXTRA_TCLSH_LIBS@ \
-- ${CC_SEARCH_FLAGS} -o tclsh
-+ -lreadline -lncurses ${CC_SEARCH_FLAGS} -o tclsh
+- ${CC_SEARCH_FLAGS} -o ${TCL_EXE}
++ -lreadline -lncurses ${CC_SEARCH_FLAGS} -o ${TCL_EXE}
- # Resetting the LIB_RUNTIME_DIR below is required so that
- # the generated tcltest executable gets the build directory
+ # Resetting the LIB_RUNTIME_DIR below is required so that the generated
+ # tcltest executable gets the build directory burned into its ld search path.
--- /dev/null 1970-01-01 01:00:00.000000000 +0100
+++ tcl8.4.3/unix/rl-tclMain.c 2003-06-09 22:13:58.000000000 +0200
@@ -0,0 +1,395 @@
%bcond_without tests # don't perform "make test"
#
%define major 8.5
-%define minor 8
+%define minor 9
Summary: Tool Command Language embeddable scripting language, with shared libraries
Summary(fr.UTF-8): Tool Command Language, langage de script avec bibliothèques partagées
Summary(pl.UTF-8): Tool Command Language - język skryptowy z bibliotekami dynamicznymi
Summary(uk.UTF-8): Tool Command Language - вбудовувана мова скриптів
Name: tcl
Version: %{major}.%{minor}
-Release: 3
+Release: 1
License: BSD
Group: Development/Languages/Tcl
Source0: http://downloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
-# Source0-md5: 7f123e53b3daaaba2478d3af5a0752e3
+# Source0-md5: 8512d8db3233041dd68a81476906012a
Source1: %{name}-pl-man-pages.tar.bz2
# Source1-md5: dd3370f2b588763758787831a4bf48fc
Patch0: %{name}-ieee.patch