pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Changes 8.4.13:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/828478d7a361
branches:  trunk
changeset: 511930:828478d7a361
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 27 08:17:09 2006 +0000

description:
Changes 8.4.13:
* Win NT/XP: unicode console support taken back out.
* ${prefix}/share addition to ::tcl_pkgPath undone.
* Warning message for packages with incorrect index scripts silenced.
* Correct syntax error in configure script (bash 3.1 exposes it).
* Tk incompatibilities with SCIM resolved.
* Improved [file writable] support of Windows conventions.
* Tcl_GetIndexFromObj() support for exact matching of empty key.
* Tk Portuguese localization support (pt.msg).
* Tk more robust when X server does not recognize color name "Black".
* Tk_PhotoPutBlock() performance improvement.
* [lsearch -start $pastEnd] no longer finds match at end of list.
* Correct [expr abs($LONG_MIN)] result.
* Correct [string range] failures on some strings containing \x00.
* TCL_EVAL_GLOBAL and [uplevel 0] agreement when traces or [unknown] active.
* Corrections to context of auto-loading the target of an interp alias.
* Corrected some interference between enter and enterstep traces.
* Correct [$img configure -data] failure to change X display.
* Tk_GetBitmapFromData() thread safety.
* Crashes in [grid] for some invalid index arguments.
* Crash when all content of a [text] is elided.
* Crash in [$text edit undo/redo].
* Crash in animated GIF display with variable frame size.
* Crash related to pipe usage in thread-enabled Tcl on Windows.
* Crash when [$text dump -command] changes contents while dumping.
* Crash reading utf-8 when multibyte char spans multiple buffers at EOF.
* Several finalization crashes corrected.

diffstat:

 lang/tcl/Makefile         |   3 +-
 lang/tcl/Makefile.version |   4 +-
 lang/tcl/buildlink3.mk    |   6 ++--
 lang/tcl/distinfo         |  16 +++++-----
 lang/tcl/patches/patch-ab |  68 ++++++++++++++++++----------------------------
 lang/tcl/patches/patch-ac |  22 +++++++-------
 lang/tcl/patches/patch-ae |  18 ++++++------
 lang/tcl/patches/patch-af |  57 +++++++++++++++------------------------
 x11/tk/Makefile           |   3 +-
 x11/tk/Makefile.version   |   4 +-
 x11/tk/PLIST              |   3 +-
 x11/tk/buildlink3.mk      |   6 ++--
 x11/tk/distinfo           |  15 ++++-----
 x11/tk/patches/patch-ab   |  60 ++++++++++++++--------------------------
 x11/tk/patches/patch-ac   |  54 ++++++++++++++----------------------
 x11/tk/patches/patch-ad   |   8 ++--
 x11/tk/patches/patch-ae   |  18 ------------
 17 files changed, 144 insertions(+), 221 deletions(-)

diffs (truncated from 835 to 300 lines):

diff -r f10a44d1846d -r 828478d7a361 lang/tcl/Makefile
--- a/lang/tcl/Makefile Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/Makefile Thu Apr 27 08:17:09 2006 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.58 2006/02/23 23:30:57 minskim Exp $
+# $NetBSD: Makefile,v 1.59 2006/04/27 08:17:09 adam Exp $
 
 DISTNAME=      tcl${TCL_VERSION}-src
 PKGNAME=       tcl-${TCL_VERSION}
-PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
 
diff -r f10a44d1846d -r 828478d7a361 lang/tcl/Makefile.version
--- a/lang/tcl/Makefile.version Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/Makefile.version Thu Apr 27 08:17:09 2006 +0000
@@ -1,3 +1,3 @@
-# $NetBSD: Makefile.version,v 1.3 2006/01/16 14:47:35 adam Exp $
+# $NetBSD: Makefile.version,v 1.4 2006/04/27 08:17:09 adam Exp $
 
-TCL_VERSION=8.4.12
+TCL_VERSION=8.4.13
diff -r f10a44d1846d -r 828478d7a361 lang/tcl/buildlink3.mk
--- a/lang/tcl/buildlink3.mk    Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/buildlink3.mk    Thu Apr 27 08:17:09 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/04/06 06:22:15 reed Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/04/27 08:17:09 adam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 TCL_BUILDLINK3_MK:=    ${TCL_BUILDLINK3_MK}+
@@ -11,11 +11,11 @@
 BUILDLINK_PACKAGES+=   tcl
 
 .if !empty(TCL_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.tcl+=            tcl>=8.4.6nb1
+BUILDLINK_API_DEPENDS.tcl+=    tcl>=8.4.6nb1
 BUILDLINK_ABI_DEPENDS.tcl+=    tcl>=8.4.7nb1
 BUILDLINK_PKGSRCDIR.tcl?=      ../../lang/tcl
 
-BUILDLINK_FILES.tcl=   bin/tclsh*
+BUILDLINK_FILES.tcl+=  bin/tclsh*
 #
 # Make "-ltcl" and "-ltcl8.4" resolve into "-ltcl84", so that we don't
 # need to patch so many Makefiles.
diff -r f10a44d1846d -r 828478d7a361 lang/tcl/distinfo
--- a/lang/tcl/distinfo Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/distinfo Thu Apr 27 08:17:09 2006 +0000
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.37 2006/02/23 23:30:57 minskim Exp $
+$NetBSD: distinfo,v 1.38 2006/04/27 08:17:09 adam Exp $
 
-SHA1 (tcl8.4.12-src.tar.gz) = 8f9808da2df0aeb2319ab10a4fc49295789fc43d
-RMD160 (tcl8.4.12-src.tar.gz) = 5a667face8be2cebced5238c481e96499a93237b
-Size (tcl8.4.12-src.tar.gz) = 3500222 bytes
+SHA1 (tcl8.4.13-src.tar.gz) = 4af6bec9a941d7d798df4287eebece7ded67489c
+RMD160 (tcl8.4.13-src.tar.gz) = 4e0aa4e67f0a910d3323d8288b707ae9a59408a3
+Size (tcl8.4.13-src.tar.gz) = 3513852 bytes
 SHA1 (patch-aa) = ab9ac8cabb91735d9203dcb107ef86a46127bf06
-SHA1 (patch-ab) = 8f9ac2c89bae1e68c6e477f056255f0c5fe70c78
-SHA1 (patch-ac) = 2040e904292a22a4142f35bf8d8f01f1c96a2195
+SHA1 (patch-ab) = 33638ef0fa55596573b96229e8c7d618af483b71
+SHA1 (patch-ac) = 447f3bb65a0c6499f0b85ed56c33f6e3c0e96ac3
 SHA1 (patch-ad) = 05a945172651513e178c6f49672bb18d8c4ad3e7
-SHA1 (patch-ae) = 68af5d4b11b66a0db41578956575559421833a26
-SHA1 (patch-af) = 8c02ac21049fc84998ce79b0ce3e03bd62facc14
+SHA1 (patch-ae) = c54a46c241285a29882b6de3162fc391046468f9
+SHA1 (patch-af) = d99786af8ea0d6f471804e4fc864581a397728f6
 SHA1 (patch-ag) = fe371866b438063515bad6d145287455c4636824
 SHA1 (patch-ah) = 51abadf5fb5aed1d4bf0a162ed5f392bc9c3bc22
 SHA1 (patch-ai) = b0f7818adedd53a123c6ab809bbec28924b3f07b
diff -r f10a44d1846d -r 828478d7a361 lang/tcl/patches/patch-ab
--- a/lang/tcl/patches/patch-ab Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/patches/patch-ab Thu Apr 27 08:17:09 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.33 2006/02/23 23:30:57 minskim Exp $
+$NetBSD: patch-ab,v 1.34 2006/04/27 08:17:09 adam Exp $
 
---- unix/configure.orig        2005-12-06 16:03:33.000000000 +0000
+--- unix/configure.orig        2006-04-20 16:42:21.000000000 +0200
 +++ unix/configure
-@@ -2542,12 +2542,13 @@ fi
+@@ -2557,12 +2557,13 @@ fi
      # Step 3: set configuration options based on system name and version.
  
      do64bit_ok=no
@@ -17,7 +17,7 @@
      CFLAGS_DEBUG=-g
      CFLAGS_OPTIMIZE=-O
      if test "$GCC" = "yes" ; then
-@@ -2962,6 +2963,21 @@ fi
+@@ -2977,6 +2978,21 @@ fi
                LD_LIBRARY_PATH_VAR="SHLIB_PATH"
            fi
            ;;
@@ -39,7 +39,7 @@
        IRIX-4.*)
            SHLIB_CFLAGS="-G 0"
            SHLIB_SUFFIX=".a"
-@@ -3202,6 +3218,9 @@ fi
+@@ -3217,6 +3233,9 @@ fi
            LD_SEARCH_FLAGS=""
            ;;
        NetBSD-*|FreeBSD-[1-2].*)
@@ -49,45 +49,31 @@
            # Not available on all versions:  check for include file.
            ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
-@@ -3234,13 +3253,11 @@ if eval "test \"`echo '$ac_cv_header_'$a
+@@ -3249,13 +3268,11 @@ if eval "test \"`echo '$ac_cv_header_'$a
    
                # NetBSD/SPARC needs -fPIC, -fpic will not do.
                SHLIB_CFLAGS="-fPIC"
 -              SHLIB_LD="ld -Bshareable -x"
--              SHLIB_LD_LIBS=""
-+              SHLIB_LD_LIBS='${LIBS}'
+               SHLIB_LD_LIBS='${LIBS}'
                SHLIB_SUFFIX=".so"
                DL_OBJS="tclLoadDl.o"
                DL_LIBS=""
                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
 -              LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
                echo $ac_n "checking for ELF""... $ac_c" 1>&6
- echo "configure:3246: checking for ELF" >&5
-               cat > conftest.$ac_ext <<EOF
-@@ -3255,11 +3272,20 @@ EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "yes" >/dev/null 2>&1; then
-   rm -rf conftest*
--  echo "$ac_t""yes" 1>&6
-+  
-+                  echo "$ac_t""yes" 1>&6
-+                  SHLIB_LD='${TCL_CC} -shared -Wl,-x'
-+                  LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
-+                  TCL_LIB_SPEC_RPATH="-Wl,-R${exec_prefix}/lib"
+ echo "configure:3261: checking for ELF" >&5
+ if eval "test \"`echo '$''{'tcl_cv_ld_elf'+set}'`\" = set"; then
+@@ -3284,6 +3301,9 @@ rm -f conftest*
+ fi
+ 
+ echo "$ac_t""$tcl_cv_ld_elf" 1>&6
++              SHLIB_LD='${TCL_CC} -shared -Wl,-x'
++              LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
++              TCL_LIB_SPEC_RPATH="-Wl,-R${exec_prefix}/lib"
+               if test $tcl_cv_ld_elf = yes; then
                    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
-+              
- else
-   rm -rf conftest*
--  echo "$ac_t""no" 1>&6
-+  
-+                  echo "$ac_t""no" 1>&6
-+                  SHLIB_LD="ld -Bshareable -x"
-+                  LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
-+                  TCL_LIB_SPEC_RPATH="-R${exec_prefix}/lib"
-                   SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
-               
- fi
-@@ -3348,7 +3374,7 @@ rm -f conftest*
+               else
+@@ -3381,7 +3401,7 @@ echo "$ac_t""$tcl_cv_ld_elf" 1>&6
            UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
            TCL_LIB_VERSIONS_OK=nodots
            ;;
@@ -96,7 +82,7 @@
            # FreeBSD 3.* and greater have ELF.
            SHLIB_CFLAGS="-fPIC"
            SHLIB_LD="ld -Bshareable -x"
-@@ -4301,16 +4327,16 @@ fi
+@@ -4358,16 +4378,16 @@ fi
      fi
  
      if test "$SHARED_LIB_SUFFIX" = "" ; then
@@ -117,7 +103,7 @@
      else
          LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
  
-@@ -7785,7 +7811,7 @@ else
+@@ -7886,7 +7906,7 @@ else
              TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
          fi
          TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
@@ -126,7 +112,7 @@
      else
          TCL_BUILD_EXP_FILE="lib.exp"
          eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}"
-@@ -7816,13 +7842,21 @@ VERSION=${TCL_VERSION}
+@@ -7917,13 +7937,21 @@ VERSION=${TCL_VERSION}
  #--------------------------------------------------------------------
  
  if test "$FRAMEWORK_BUILD" = "1" ; then
@@ -134,10 +120,10 @@
 +    TCL_PACKAGE_PATH_ADD="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
  elif test "$prefix" != "$exec_prefix"; then
 -    TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
-+    TCL_PACKAGE_PATH_ADD="${libdir}/tcl ${prefix}/lib"
++    TCL_PACKAGE_PATH_ADD="${libdir} ${prefix}/lib"
  else
 -    TCL_PACKAGE_PATH="${prefix}/lib"
-+    TCL_PACKAGE_PATH_ADD="${prefix}/lib/tcl"
++    TCL_PACKAGE_PATH_ADD="${prefix}/lib"
  fi
  
 +for dir in ${TCL_PACKAGE_PATH_ADD}; do
@@ -148,6 +134,6 @@
 +    fi
 +done
 +
- # If a system share directory like /usr/local/share already exists, then add
- # it to the package search path.
- 
+ #--------------------------------------------------------------------
+ #       The statements below define various symbols relating to Tcl
+ #       stub support.
diff -r f10a44d1846d -r 828478d7a361 lang/tcl/patches/patch-ac
--- a/lang/tcl/patches/patch-ac Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/patches/patch-ac Thu Apr 27 08:17:09 2006 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-ac,v 1.8 2006/01/16 14:47:35 adam Exp $
+$NetBSD: patch-ac,v 1.9 2006/04/27 08:17:09 adam Exp $
 
---- unix/tclUnixInit.c.orig    2005-11-03 17:16:29.000000000 +0100
+--- unix/tclUnixInit.c.orig    2006-01-26 00:06:16.000000000 +0100
 +++ unix/tclUnixInit.c
 @@ -19,7 +19,7 @@
  #ifdef HAVE_LANGINFO
  #include <langinfo.h>
  #endif
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
+-#if defined(__FreeBSD__) && defined(__GNUC__)
++#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__GNUC__)
  #   include <floatingpoint.h>
  #endif
  #if defined(__bsdi__)
@@ -27,12 +27,12 @@
      (void) signal(SIGPIPE, SIG_IGN);
  #endif /* SIGPIPE */
  
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
-     fpsetround(FP_RN);
-     fpsetmask(0L);
- #endif
-@@ -742,6 +747,11 @@ TclpSetVariables(interp)
+-#if defined(__FreeBSD__) && defined(__GNUC__)
++#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__GNUC__)
+     /*
+      * Adjust the rounding mode to be more conventional. Note that FreeBSD
+      * only provides the __fpsetreg() used by the following two for the GNU
+@@ -749,6 +754,11 @@ TclpSetVariables(interp)
      int unameOK;
      CONST char *user;
      Tcl_DString ds;
@@ -44,7 +44,7 @@
  
  #ifdef HAVE_COREFOUNDATION
      char tclLibPath[MAXPATHLEN + 1];
-@@ -844,8 +854,16 @@ TclpSetVariables(interp)
+@@ -851,8 +861,16 @@ TclpSetVariables(interp)
            Tcl_SetVar2(interp, "tcl_platform", "osVersion", name.release,
                    TCL_GLOBAL_ONLY|TCL_APPEND_VALUE);
        }
diff -r f10a44d1846d -r 828478d7a361 lang/tcl/patches/patch-ae
--- a/lang/tcl/patches/patch-ae Thu Apr 27 03:27:18 2006 +0000
+++ b/lang/tcl/patches/patch-ae Thu Apr 27 08:17:09 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.8 2006/01/16 14:47:35 adam Exp $
+$NetBSD: patch-ae,v 1.9 2006/04/27 08:17:09 adam Exp $
 
---- unix/configure.in.orig     2005-12-06 17:03:33.000000000 +0100
+--- unix/configure.in.orig     2006-04-20 16:42:21.000000000 +0200
 +++ unix/configure.in
-@@ -539,7 +539,7 @@ else
+@@ -533,7 +533,7 @@ else
              TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
          fi
          TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
@@ -11,7 +11,7 @@
      else
          TCL_BUILD_EXP_FILE="lib.exp"
          eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}"
-@@ -570,13 +570,21 @@ VERSION=${TCL_VERSION}
+@@ -564,13 +564,21 @@ VERSION=${TCL_VERSION}
  #--------------------------------------------------------------------
  
  if test "$FRAMEWORK_BUILD" = "1" ; then
@@ -19,10 +19,10 @@
 +    TCL_PACKAGE_PATH_ADD="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
  elif test "$prefix" != "$exec_prefix"; then
 -    TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
-+    TCL_PACKAGE_PATH_ADD="${libdir}/tcl ${prefix}/lib"
++    TCL_PACKAGE_PATH_ADD="${libdir} ${prefix}/lib"
  else
 -    TCL_PACKAGE_PATH="${prefix}/lib"
-+    TCL_PACKAGE_PATH_ADD="${prefix}/lib/tcl"
++    TCL_PACKAGE_PATH_ADD="${prefix}/lib"
  fi
  
 +for dir in ${TCL_PACKAGE_PATH_ADD}; do



Home | Main Index | Thread Index | Old Index