From dc41324914e7fb8451c663f2e83c4daa259e0f75 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 16 Nov 2024 13:19:27 +0000 Subject: automatic import of tcl --- tcl-8.6.15-conf.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tcl-8.6.15-conf.patch (limited to 'tcl-8.6.15-conf.patch') diff --git a/tcl-8.6.15-conf.patch b/tcl-8.6.15-conf.patch new file mode 100644 index 0000000..451eded --- /dev/null +++ b/tcl-8.6.15-conf.patch @@ -0,0 +1,22 @@ +diff --git a/unix/tcl.m4 b/unix/tcl.m4 +index f3d08ec..ed12cda 100644 +--- a/unix/tcl.m4 ++++ b/unix/tcl.m4 +@@ -1378,7 +1378,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" +@@ -1394,7 +1394,7 @@ + esac + + AS_IF([test $doRpath = yes], [ +- CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"']) ++ CC_SEARCH_FLAGS='']) + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} + AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"]) + AS_IF([test $do64bit = yes], [ -- cgit v1.2.3