SOURCES: tk-ieee.patch - updated for 8.5a[23]

qboosh qboosh at pld-linux.org
Sat Jun 18 21:09:19 CEST 2005


Author: qboosh                       Date: Sat Jun 18 19:09:19 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 8.5a[23]

---- Files affected:
SOURCES:
   tk-ieee.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/tk-ieee.patch
diff -u SOURCES/tk-ieee.patch:1.2 SOURCES/tk-ieee.patch:1.3
--- SOURCES/tk-ieee.patch:1.2	Fri Aug  6 00:30:36 2004
+++ SOURCES/tk-ieee.patch	Sat Jun 18 21:09:14 2005
@@ -1,16 +1,15 @@
---- tk8.4.7/unix/configure.in.orig	2004-07-29 23:57:48.000000000 +0200
-+++ tk8.4.7/unix/configure.in	2004-08-06 00:22:07.871744816 +0200
-@@ -129,13 +129,10 @@
- #--------------------------------------------------------------------
- # On a few very rare systems, all of the libm.a stuff is
- # already in libc.a.  Set compiler flags accordingly.
--# Also, Linux requires the "ieee" library for math to work
--# right (and it must appear before "-lm").
- #--------------------------------------------------------------------
+--- tk8.5a2/unix/tcl.m4.orig	2005-04-05 21:33:01.645942000 +0200
++++ tk8.5a2/unix/tcl.m4	2005-06-18 21:09:27.278392960 +0200
+@@ -2397,12 +2397,9 @@
+     #--------------------------------------------------------------------
+     # On a few very rare systems, all of the libm.a stuff is
+     # already in libc.a.  Set compiler flags accordingly.
+-    # Also, Linux requires the "ieee" library for math to work
+-    # right (and it must appear before "-lm").
+     #--------------------------------------------------------------------
  
- MATH_LIBS=""
- AC_CHECK_FUNC(sin, , MATH_LIBS="-lm")
--AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
+     AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
+-    AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
  
- #--------------------------------------------------------------------
- # On AIX systems, libbsd.a has to be linked in to support
+     #--------------------------------------------------------------------
+     # Interactive UNIX requires -linet instead of -lsocket, plus it
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/tk-ieee.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list