source: trunk/base/src/thread2.6.diff @ 16589

Last change on this file since 16589 was 13464, checked in by pguyot (Paul Guyot), 15 years ago

Woot! I finally figured out why version was corrupted on 10.3 when -t option
was used.
It seems to be a conjunction of Thread package and 10.3's Tcl version (and it
looks like a bug of Tcl that was fixed in 10.4's version).

  • Property svn:mime-type set to application/octet-stream
File size: 2.0 KB
  • src/thread2.6

    diff -ru src/thread2.6/Makefile.in src/thread2.6.mine/Makefile.in
    old new  
    7070exec_prefix     = @exec_prefix@
    7171
    7272bindir          = @bindir@
    73 libdir          = @libdir@
     73libdir          = @prefix@/share/darwinports/Tcl
    7474datadir         = @datadir@
    75 mandir          = @mandir@
     75mandir          = @prefix@/share/darwinports/man
    7676includedir      = @includedir@
    7777
    7878DESTDIR         =
  • src/thread2.6

    diff -ru src/thread2.6/configure src/thread2.6.mine/configure
    old new  
    63746374   { (exit 1); exit 1; }; }
    63756375            fi
    63766376        else
    6377             # Check order: pkg --prefix location, Tcl's --prefix location,
     6377            # Check order:
    63786378            # directory of tclConfig.sh, and Tcl source directory.
    63796379            # Looking in the source dir is not ideal, but OK.
    63806380
    6381             eval "temp_includedir=${includedir}"
    6382             list="`ls -d ${temp_includedir}      2>/dev/null` \
    6383                 `ls -d ${TCL_PREFIX}/include     2>/dev/null` \
     6381            list="`ls -d ${TCL_PREFIX}/include     2>/dev/null` \
    63846382                `ls -d ${TCL_BIN_DIR}/../include 2>/dev/null` \
    63856383                `ls -d ${TCL_SRC_DIR}/generic    2>/dev/null`"
    63866384            if test "${TEA_PLATFORM}" != "windows" -o "$GCC" = "yes"; then
  • lib/ttrace.tcl

    Only in src/thread2.6.mine: configure.orig
    diff -ru src/thread2.6/lib/ttrace.tcl src/thread2.6.mine/lib/ttrace.tcl
    old new  
    5050        variable mutex ns_mutex
    5151        variable elock [$mutex create traceepochmutex]
    5252        variable store nsv_
    53     } elseif {![catch {package require Thread} version]} {
    54         variable tvers $version
     53    } elseif {![catch {package require Thread} thread_pkg_version]} {
     54        variable tvers $thread_pkg_version
    5555        variable mutex thread::mutex
    5656        variable elock [$mutex create]
    5757        variable store tsv::
Note: See TracBrowser for help on using the repository browser.