[Pkg-tcltk-commits] r997 - in tcl8.5/trunk/debian: . patches
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Sun Nov 22 11:34:01 UTC 2009
Author: sgolovan
Date: 2009-11-22 11:34:01 +0000 (Sun, 22 Nov 2009)
New Revision: 997
Added:
tcl8.5/trunk/debian/patches/mips.diff
Modified:
tcl8.5/trunk/debian/changelog
tcl8.5/trunk/debian/patches/series
Log:
[tcl8.5]
* Fixed building on MIPS architectures. The upstream changes in 8.5.8
include changing FPU settings which isn't possible in Debian GNU/Linux
(and isn't required also).
Modified: tcl8.5/trunk/debian/changelog
===================================================================
--- tcl8.5/trunk/debian/changelog 2009-11-21 00:22:48 UTC (rev 996)
+++ tcl8.5/trunk/debian/changelog 2009-11-22 11:34:01 UTC (rev 997)
@@ -1,8 +1,10 @@
-tcl8.5 (8.5.8-2) UNRELEASED; urgency=low
+tcl8.5 (8.5.8-2) unstable; urgency=low
- * NOT RELEASED YET
+ * Fixed building on MIPS architectures. The upstream changes in 8.5.8
+ include changing FPU settings which isn't possible in Debian GNU/Linux
+ (and isn't required also).
- -- Sergei Golovan <sgolovan at debian.org> Tue, 17 Nov 2009 23:47:14 +0300
+ -- Sergei Golovan <sgolovan at debian.org> Sun, 22 Nov 2009 14:23:53 +0300
tcl8.5 (8.5.8-1) unstable; urgency=low
Added: tcl8.5/trunk/debian/patches/mips.diff
===================================================================
--- tcl8.5/trunk/debian/patches/mips.diff (rev 0)
+++ tcl8.5/trunk/debian/patches/mips.diff 2009-11-22 11:34:01 UTC (rev 997)
@@ -0,0 +1,23 @@
+Patch by Sergei Golovan "fixes" building Tcl 8.5.8 for MIPS architectures
+until a proper solution isn't suggested.
+
+--- tcl8.5-8.5.8.orig/generic/tclStrToD.c
++++ tcl8.5-8.5.8/generic/tclStrToD.c
+@@ -73,7 +73,7 @@
+ * MIPS floating-point units need special settings in control registers
+ * to use gradual underflow as we expect.
+ */
+-#if defined(__mips)
++#if 0 && defined(__mips)
+ #include <sys/fpu.h>
+ #endif
+ /*
+@@ -2166,7 +2166,7 @@
+ } bitwhack;
+ #endif
+
+-#if defined(__mips)
++#if 0 && defined(__mips)
+ union fpc_csr mipsCR;
+
+ mipsCR.fc_word = get_fpc_csr();
Modified: tcl8.5/trunk/debian/patches/series
===================================================================
--- tcl8.5/trunk/debian/patches/series 2009-11-21 00:22:48 UTC (rev 996)
+++ tcl8.5/trunk/debian/patches/series 2009-11-22 11:34:01 UTC (rev 997)
@@ -6,3 +6,4 @@
rpath.diff
non-linux.diff
manpages.diff
+mips.diff
More information about the Pkg-tcltk-commits
mailing list