From 3fbbe25f42a9f3ae605ff7f83722774799ac7515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 9 Feb 2007 15:17:11 +0000 Subject: [PATCH] Update patches. --- tcl-8.3.5-tclm4-soname.patch | 12 ++++++++++++ tcl-8.4-no_rpath.patch | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 tcl-8.3.5-tclm4-soname.patch create mode 100644 tcl-8.4-no_rpath.patch diff --git a/tcl-8.3.5-tclm4-soname.patch b/tcl-8.3.5-tclm4-soname.patch new file mode 100644 index 0000000..1005f67 --- /dev/null +++ b/tcl-8.3.5-tclm4-soname.patch @@ -0,0 +1,12 @@ +diff -u tcl8.3.5/unix/tcl.m4~ tcl8.3.5/unix/tcl.m4 +--- tcl8.3.5/unix/tcl.m4~ 2003-01-14 20:42:53.000000000 +0900 ++++ tcl8.3.5/unix/tcl.m4 2003-01-14 20:42:53.000000000 +0900 +@@ -954,7 +954,7 @@ + CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" + + if test "$have_dl" = yes; then +- SHLIB_LD="${CC} -shared" ++ SHLIB_LD='${CC} -shared -Wl,-soname,${@}' + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="-rdynamic" diff --git a/tcl-8.4-no_rpath.patch b/tcl-8.4-no_rpath.patch new file mode 100644 index 0000000..3040733 --- /dev/null +++ b/tcl-8.4-no_rpath.patch @@ -0,0 +1,11 @@ +--- tcl8.4.7/unix/tcl.m4~ 2004-07-30 16:13:56.891203387 +0900 ++++ tcl8.4.7/unix/tcl.m4 2004-07-30 16:19:10.682145185 +0900 +@@ -1141,7 +1141,7 @@ + DL_OBJS="tclLoadDl.o" + DL_LIBS="-ldl" + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" +- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' ++ CC_SEARCH_FLAGS='' + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} + else + AC_CHECK_HEADER(dld.h, [