Package: tktable Severity: important Version: 2.9-3 Tags: patch
Hi, the current version fails to build on GNU/kFreeBSD. It needs small tweak to tclconfig/tcl.m4. It might also help for hurd (#324143). Please find attached patch with it. Thanks in advance Petr
--- tktable-2.9.orig/tclconfig/tcl.m4 +++ tktable-2.9/tclconfig/tcl.m4 @@ -1249,18 +1249,23 @@ SHLIB_CFLAGS="-fPIC" SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" + + # following line added by CW for Debian GNU/Hurd + TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0" if test "$have_dl" = yes; then SHLIB_LD="${CC} -shared" - DL_OBJS="" + DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" LDFLAGS="$LDFLAGS -Wl,--export-dynamic" - LD_SEARCH_FLAGS="" + CC_SEARCH_FLAGS="" + LD_SEARCH_FLAGS="${CC_SEARCH_FLAGS}" else AC_CHECK_HEADER(dld.h, [ SHLIB_LD="ld -shared" - DL_OBJS="" + DL_OBJS="tclLoadDld.o" DL_LIBS="-ldld" + CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS=""]) fi if test "`uname -m`" = "alpha" ; then