From e3872864be25f7421015bef2732fa57c0c9fb726 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Aug 2018 08:53:53 +0100 Subject: gentoo resync : 04.08.2018 --- dev-lang/tcl/files/tcl-8.6.8-conf.patch | 11 +++++++++++ dev-lang/tcl/files/tcl-8.6.8-libieee.patch | 15 +++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dev-lang/tcl/files/tcl-8.6.8-conf.patch create mode 100644 dev-lang/tcl/files/tcl-8.6.8-libieee.patch (limited to 'dev-lang/tcl/files') diff --git a/dev-lang/tcl/files/tcl-8.6.8-conf.patch b/dev-lang/tcl/files/tcl-8.6.8-conf.patch new file mode 100644 index 000000000000..26599e1672fb --- /dev/null +++ b/dev-lang/tcl/files/tcl-8.6.8-conf.patch @@ -0,0 +1,11 @@ +--- a/unix/tcl.m4 ++++ b/unix/tcl.m4 +@@ -1402,7 +1402,7 @@ + # get rid of the warnings. + #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" + +- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared' ++ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}' + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" diff --git a/dev-lang/tcl/files/tcl-8.6.8-libieee.patch b/dev-lang/tcl/files/tcl-8.6.8-libieee.patch new file mode 100644 index 000000000000..942144e68c71 --- /dev/null +++ b/dev-lang/tcl/files/tcl-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 -- cgit v1.2.3