Package: tix
Version: 8.4-1
Severity: important
Tags: patch

Hi,

tix fail to build from source on GNU/Hurd and GNU/kFreeBSD, because the
configure script is built using tclconfig/tcl.m4, which is outdated.
Please find attached a patch which includes the minimum changes to this
file, taken from /usr/share/aclocal/tcl.m4, to make tix buildable on
these platforms. Note that you need to re-run autoconf.

Could you please include it in your next upload?

Thanks in advance,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

--- tix-8.4.orig/tclconfig/tcl.m4
+++ tix-8.4/tclconfig/tcl.m4
@@ -1264,16 +1264,19 @@
            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=""
+               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"
                    LD_SEARCH_FLAGS=""])
            fi

Reply via email to