summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-07-30 07:55:15 +0200
committerJeroen Roovers <jer@gentoo.org>2018-07-30 07:55:29 +0200
commitaf0a22e213a2def219aa8bb6bc8fcd0930dbf704 (patch)
treefe841419e3948cfc5cab5cd2d1e917181219d09d /dev-lang/tk/files
parentdev-lang/tcl: Version 8.6.8. (diff)
downloadgentoo-af0a22e213a2def219aa8bb6bc8fcd0930dbf704.tar.gz
gentoo-af0a22e213a2def219aa8bb6bc8fcd0930dbf704.tar.bz2
gentoo-af0a22e213a2def219aa8bb6bc8fcd0930dbf704.zip
dev-lang/tk: Version 8.6.8.
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'dev-lang/tk/files')
-rw-r--r--dev-lang/tk/files/tk-8.6.8-libieee.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/tk/files/tk-8.6.8-libieee.patch b/dev-lang/tk/files/tk-8.6.8-libieee.patch
new file mode 100644
index 000000000000..942144e68c71
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.6.8-libieee.patch
@@ -0,0 +1,15 @@
+--- a/unix/tcl.m4
++++ b/unix/tcl.m4
+@@ -2470,12 +2470,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").
+ #--------------------------------------------------------------------
+
+ AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
+- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
+
+ #--------------------------------------------------------------------
+ # Interactive UNIX requires -linet instead of -lsocket, plus it