Update Tcl/Tk to 8.4.6.

* Tcl_Obj sharing fixed in [binary scan]
  * Updated errno usage for recent glibc
  * Fixed [file normalize ~unknownuser] error
  * Fixed two memory leaks in VFS code
  * Fixed possible infinite loop in TclFinalizeFilesystem
  * Updated HP-UX 11 build libraries setup
  * Unix std channels forced to exist at startup
  * Stopped broken [exec] quoting of '{'
  * Fixed memory leak with very long host names
  * Corrected level interpretation of Tcl_CreateTrace
  * Allow 64-bit configure on IRIX64-6.5*
  * Several OS X/Aqua native integration improvements (scrollbar,
    event generate, unicode clipboard, tk_messageBox, mousewheel event,
    alpha blending for partially transparent images)
  * Recognized native hand2/fleur cursors on Windows
  * Post menubuttons so they stay on screen better
  * Fixed crash during intra-image copy/resize
  * New msg catalogs for Esperanto and Polish
  * Corrections bold/italic font handling (width calculations) on Windows
  * Fixed shrinking grid geometry calculations
This commit is contained in:
minskim 2004-03-08 22:14:18 +00:00
parent a643343c47
commit 9c121e17ff
12 changed files with 111 additions and 115 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES,v 1.5160 2004/03/08 21:16:09 seb Exp $
$NetBSD: CHANGES,v 1.5161 2004/03/08 22:14:19 minskim Exp $
Changes to the packages collection and infrastructure in 2004:
@ -1257,3 +1257,5 @@ Changes to the packages collection and infrastructure in 2004:
Updated gnome to 2.4.2nb3 [jmmv 2004-03-08]
Updated gnome-extras to 2.4.2nb3 [jmmv 2004-03-08]
Updated pspp to 0.3.0nb3 [seb 2004-03-08]
Updated tcl to 8.4.6 [minskim 2004-03-08]
Updated tk to 8.4.6 [minskim 2004-03-08]

View file

@ -1,4 +1,4 @@
$NetBSD: TODO,v 1.1481 2004/03/08 15:47:40 adam Exp $
$NetBSD: TODO,v 1.1482 2004/03/08 22:14:19 minskim Exp $
Suggested new packages
======================
@ -325,7 +325,6 @@ Suggested package updates
o staroffice-7p1
o stella-1.3
o streamtuner-0.11.1
o tcl/tk-8.4.6
o tcl-expect-5.39.0
o tcpreplay-2.0.2
o tct-1.14

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.26 2004/03/08 19:55:35 minskim Exp $
# $NetBSD: Makefile,v 1.27 2004/03/08 22:14:18 minskim Exp $
#
DISTNAME= tcl8.4.5-src
PKGNAME= tcl-8.4.5
DISTNAME= tcl8.4.6-src
PKGNAME= tcl-8.4.6
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.19 2004/03/08 19:55:35 minskim Exp $
$NetBSD: distinfo,v 1.20 2004/03/08 22:14:19 minskim Exp $
SHA1 (tcl8.4.5-src.tar.gz) = 910cda4c04805ac3c4f0accc21660dc60879c847
Size (tcl8.4.5-src.tar.gz) = 3444510 bytes
SHA1 (tcl8.4.6-src.tar.gz) = d21495ca04419fc3b1594b96b19116040c33a3f0
Size (tcl8.4.6-src.tar.gz) = 3448711 bytes
SHA1 (patch-aa) = 7615c4debc2ff76278b071d649695e1da9e5decd
SHA1 (patch-ab) = 5f4845238e58612d81dbedc72f368fb26a3d6181
SHA1 (patch-ac) = cf99d88743f7badd338393063837a997cca1c573
SHA1 (patch-ab) = dc45c2d9195aec8047ca132adab94e25c777931c
SHA1 (patch-ac) = efc40f45f73cec2770231ff515314fc41bbd166e
SHA1 (patch-ae) = 9a6f9b47c926f851a799ece713668f0955344ce3
SHA1 (patch-af) = 3542f1d7d3020224fc407eac377450ad82015c08
SHA1 (patch-af) = b19b6df12335c89d7786c91a36460249a44c7fcf

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
$NetBSD: patch-ab,v 1.23 2004/03/08 22:14:19 minskim Exp $
--- configure.orig 2004-02-07 21:57:29.000000000 -0600
--- configure.orig 2004-03-01 17:58:59.000000000 -0600
+++ configure
@@ -5558,6 +5558,7 @@ fi
@@ -5613,6 +5613,7 @@ fi
# Step 3: set configuration options based on system name and version.
do64bit_ok=no
@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
@@ -5977,6 +5978,9 @@ fi
@@ -6038,6 +6039,9 @@ fi
LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
EXTRA_CFLAGS=""
LDFLAGS=""
@ -18,9 +18,9 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
;;
IRIX-6.*|IRIX64-6.5*)
IRIX-6.*)
SHLIB_CFLAGS=""
@@ -6002,6 +6006,9 @@ fi
@@ -6063,6 +6067,9 @@ fi
esac
LDFLAGS="-n32"
fi
@ -30,7 +30,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
;;
IRIX64-6.*)
SHLIB_CFLAGS=""
@@ -6026,6 +6033,9 @@ fi
@@ -6087,6 +6094,9 @@ fi
LDFLAGS="-64"
fi
fi
@ -40,7 +40,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
;;
Linux*)
SHLIB_CFLAGS="-fPIC"
@@ -6107,6 +6117,9 @@ fi
@@ -6168,6 +6178,9 @@ fi
EOF
@ -50,7 +50,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
;;
GNU*)
SHLIB_CFLAGS="-fPIC"
@@ -6188,6 +6201,9 @@ fi
@@ -6249,6 +6262,9 @@ fi
LD_SEARCH_FLAGS=""
;;
NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
@ -60,7 +60,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
# 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
@@ -6220,18 +6236,16 @@ if eval "test \"`echo '$ac_cv_header_'$a
@@ -6281,18 +6297,16 @@ if eval "test \"`echo '$ac_cv_header_'$a
# NetBSD/SPARC needs -fPIC, -fpic will not do.
SHLIB_CFLAGS="-fPIC"
@ -73,15 +73,15 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
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:6233: checking for ELF" >&5
+echo "configure:6247: checking for ELF" >&5
-echo "configure:6294: checking for ELF" >&5
+echo "configure:6308: checking for ELF" >&5
cat > conftest.$ac_ext <<EOF
-#line 6235 "configure"
+#line 6249 "configure"
-#line 6296 "configure"
+#line 6310 "configure"
#include "confdefs.h"
#ifdef __ELF__
@@ -6242,11 +6256,20 @@ EOF
@@ -6303,11 +6317,20 @@ EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then
rm -rf conftest*
@ -104,7 +104,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
fi
@@ -6565,6 +6588,9 @@ EOF
@@ -6626,6 +6649,9 @@ EOF
CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi
@ -114,7 +114,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
;;
ULTRIX-4.*)
SHLIB_CFLAGS="-G 0"
@@ -6836,8 +6862,8 @@ fi
@@ -6897,8 +6923,8 @@ fi
if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
@ -125,7 +125,7 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
else
LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
@@ -6854,10 +6880,10 @@ fi
@@ -6915,10 +6941,10 @@ fi
# Stub lib does not depend on shared/static configuration
if test "$RANLIB" = "" ; then
@ -138,3 +138,36 @@ $NetBSD: patch-ab,v 1.22 2004/03/08 19:55:35 minskim Exp $
INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(STUB_LIB_FILE))'
fi
@@ -7217,7 +7243,7 @@ elif test "$SHARED_BUILD" = "0" || test
TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
fi
TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
- TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
+ TCL_LIB_SPEC="${TCL_LIB_SPEC_RPATH} -L${libdir} ${TCL_LIB_FLAG}"
else
TCL_BUILD_EXP_FILE="lib.exp"
eval "TCL_EXP_FILE=libtcl${TCL_EXPORT_FILE_SUFFIX}"
@@ -7247,13 +7273,19 @@ VERSION=${TCL_VERSION}
#--------------------------------------------------------------------
if test "$FRAMEWORK_BUILD" = "1" ; then
- TCL_PACKAGE_PATH="${libdir}/Resources/Scripts"
+ TCL_PACKAGE_PATH_ADD="${libdir}/Resources/Scripts"
elif test "$prefix" != "$exec_prefix"; then
- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
+ TCL_PACKAGE_PATH_ADD="${libdir}/tcl ${prefix}/lib"
else
- TCL_PACKAGE_PATH="${prefix}/lib"
+ TCL_PACKAGE_PATH_ADD="${prefix}/lib/tcl"
fi
-
+for dir in ${TCL_PACKAGE_PATH_ADD}; do
+ if test -z "${TCL_PACKAGE_PATH}"; then
+ TCL_PACKAGE_PATH="$dir"
+ else
+ TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} $dir"
+ fi
+done
#--------------------------------------------------------------------
# The statements below define various symbols relating to Tcl
# stub support.

View file

@ -1,6 +1,6 @@
$NetBSD: patch-ac,v 1.3 2004/03/08 19:55:35 minskim Exp $
$NetBSD: patch-ac,v 1.4 2004/03/08 22:14:19 minskim Exp $
--- tclUnixInit.c.orig Mon Nov 10 07:41:58 2003
--- tclUnixInit.c.orig 2004-02-17 17:46:54.000000000 -0600
+++ tclUnixInit.c
@@ -28,6 +28,11 @@
# include <dlfcn.h>
@ -14,7 +14,7 @@ $NetBSD: patch-ac,v 1.3 2004/03/08 19:55:35 minskim Exp $
/*
* The Init script (common to Windows and Unix platforms) is
@@ -717,6 +722,11 @@ TclpSetVariables(interp)
@@ -730,6 +735,11 @@ TclpSetVariables(interp)
int unameOK;
CONST char *user;
Tcl_DString ds;
@ -26,7 +26,7 @@ $NetBSD: patch-ac,v 1.3 2004/03/08 19:55:35 minskim Exp $
#ifdef HAVE_CFBUNDLE
char tclLibPath[MAXPATHLEN + 1];
@@ -819,8 +829,16 @@ TclpSetVariables(interp)
@@ -832,8 +842,16 @@ TclpSetVariables(interp)
Tcl_SetVar2(interp, "tcl_platform", "osVersion", name.release,
TCL_GLOBAL_ONLY|TCL_APPEND_VALUE);
}

View file

@ -1,8 +1,8 @@
$NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
$NetBSD: patch-af,v 1.10 2004/03/08 22:14:19 minskim Exp $
--- tcl.m4.orig Fri Nov 21 14:17:14 2003
--- tcl.m4.orig 2004-03-01 17:58:59.000000000 -0600
+++ tcl.m4
@@ -795,6 +795,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
@@ -796,6 +796,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
# Step 3: set configuration options based on system name and version.
do64bit_ok=no
@ -10,7 +10,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
@@ -1059,6 +1060,9 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1066,6 +1067,9 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
EXTRA_CFLAGS=""
LDFLAGS=""
@ -18,9 +18,9 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
;;
IRIX-6.*|IRIX64-6.5*)
IRIX-6.*)
SHLIB_CFLAGS=""
@@ -1084,6 +1088,9 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1091,6 +1095,9 @@ dnl AC_CHECK_TOOL(AR, ar)
esac
LDFLAGS="-n32"
fi
@ -30,7 +30,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
;;
IRIX64-6.*)
SHLIB_CFLAGS=""
@@ -1108,6 +1115,9 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1115,6 +1122,9 @@ dnl AC_CHECK_TOOL(AR, ar)
LDFLAGS="-64"
fi
fi
@ -40,7 +40,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
;;
Linux*)
SHLIB_CFLAGS="-fPIC"
@@ -1154,6 +1164,9 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1161,6 +1171,9 @@ dnl AC_CHECK_TOOL(AR, ar)
# XIM peeking works under XFree86.
AC_DEFINE(PEEK_XCLOSEIM)
@ -50,7 +50,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
;;
GNU*)
SHLIB_CFLAGS="-fPIC"
@@ -1203,29 +1216,37 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1210,29 +1223,37 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_SEARCH_FLAGS=""
;;
NetBSD-*|FreeBSD-[[1-2]].*|OpenBSD-*)
@ -93,7 +93,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
], [
SHLIB_CFLAGS=""
SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
@@ -1519,6 +1540,9 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1526,6 +1547,9 @@ dnl AC_CHECK_TOOL(AR, ar)
CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi
@ -103,7 +103,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
;;
ULTRIX-4.*)
SHLIB_CFLAGS="-G 0"
@@ -1703,8 +1727,8 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1710,8 +1734,8 @@ dnl AC_CHECK_TOOL(AR, ar)
if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
@ -114,7 +114,7 @@ $NetBSD: patch-af,v 1.9 2004/03/08 19:55:35 minskim Exp $
else
LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
@@ -1734,10 +1758,10 @@ dnl esac
@@ -1741,10 +1765,10 @@ dnl esac
# Stub lib does not depend on shared/static configuration
if test "$RANLIB" = "" ; then

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.29 2004/03/08 20:29:43 minskim Exp $
# $NetBSD: Makefile,v 1.30 2004/03/08 22:14:19 minskim Exp $
DISTNAME= tk8.4.5-src
PKGNAME= tk-8.4.5
DISTNAME= tk8.4.6-src
PKGNAME= tk-8.4.6
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2004/03/08 20:29:43 minskim Exp $
@comment $NetBSD: PLIST,v 1.4 2004/03/08 22:14:19 minskim Exp $
bin/wish
bin/wish8.4
include/tk.h
@ -133,10 +133,12 @@ lib/tk8.4/msgs/de.msg
lib/tk8.4/msgs/el.msg
lib/tk8.4/msgs/en.msg
lib/tk8.4/msgs/en_gb.msg
lib/tk8.4/msgs/eo.msg
lib/tk8.4/msgs/es.msg
lib/tk8.4/msgs/fr.msg
lib/tk8.4/msgs/it.msg
lib/tk8.4/msgs/nl.msg
lib/tk8.4/msgs/pl.msg
lib/tk8.4/msgs/ru.msg
lib/tk8.4/obsolete.tcl
lib/tk8.4/optMenu.tcl

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.12 2004/03/08 20:29:43 minskim Exp $
$NetBSD: distinfo,v 1.13 2004/03/08 22:14:19 minskim Exp $
SHA1 (tk8.4.5-src.tar.gz) = 8877357e39e5327d878ef115ad9be87cbdc3996b
Size (tk8.4.5-src.tar.gz) = 3218856 bytes
SHA1 (tk8.4.6-src.tar.gz) = a0b2f364be20c3e312d1ba582d3a1b4b4b1d4d88
Size (tk8.4.6-src.tar.gz) = 3230760 bytes
SHA1 (patch-aa) = 77344c94315f7b1cc24f2f31413e8d75973e0cda
SHA1 (patch-ab) = 51da6559c85ae95a7430f00916cf9ba8b9c0e557
SHA1 (patch-ac) = 22cd66b38227dc42da965074bcfe3bc25ef1c0ce
SHA1 (patch-ab) = c0d4d2cb135f605757bea55aad90d8151f6f8dc7
SHA1 (patch-ac) = 6a5b303de8a0f2c2f1345f7c13b62a62d1c3c60c
SHA1 (patch-ad) = 2f65cb36160794991d940bb3ffc9a754dcd9febc

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
$NetBSD: patch-ab,v 1.13 2004/03/08 22:14:19 minskim Exp $
--- configure.orig 2003-11-21 14:17:23.000000000 -0600
--- configure.orig 2004-03-01 18:04:48.000000000 -0600
+++ configure
@@ -2016,6 +2016,7 @@ fi
@@ -2071,6 +2071,7 @@ fi
# Step 3: set configuration options based on system name and version.
do64bit_ok=no
@ -10,47 +10,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
@@ -2435,6 +2436,9 @@ fi
LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
EXTRA_CFLAGS=""
LDFLAGS=""
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
;;
IRIX-6.*|IRIX64-6.5*)
SHLIB_CFLAGS=""
@@ -2460,6 +2464,9 @@ fi
esac
LDFLAGS="-n32"
fi
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
;;
IRIX64-6.*)
SHLIB_CFLAGS=""
@@ -2484,6 +2491,9 @@ fi
LDFLAGS="-64"
fi
fi
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
;;
Linux*)
SHLIB_CFLAGS="-fPIC"
@@ -2565,6 +2575,9 @@ fi
EOF
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ TCL_LIB_VERSIONS_OK=nodots
;;
GNU*)
SHLIB_CFLAGS="-fPIC"
@@ -2678,7 +2691,6 @@ if eval "test \"`echo '$ac_cv_header_'$a
@@ -2739,7 +2740,6 @@ if eval "test \"`echo '$ac_cv_header_'$a
# NetBSD/SPARC needs -fPIC, -fpic will not do.
SHLIB_CFLAGS="-fPIC"
@ -58,7 +18,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
@@ -2700,13 +2712,23 @@ EOF
@@ -2761,13 +2761,23 @@ EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "yes" >/dev/null 2>&1; then
rm -rf conftest*
@ -84,7 +44,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
fi
rm -f conftest*
@@ -3023,6 +3045,9 @@ EOF
@@ -3084,6 +3094,9 @@ EOF
CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi
@ -94,7 +54,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
;;
ULTRIX-4.*)
SHLIB_CFLAGS="-G 0"
@@ -3294,8 +3319,8 @@ fi
@@ -3355,8 +3368,8 @@ fi
if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
@ -105,7 +65,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
else
LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
@@ -4367,7 +4392,11 @@ echo "configure:4365: checking for X11 l
@@ -4428,7 +4441,11 @@ echo "configure:4426: checking for X11 l
for i in $dirs ; do
if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl; then
echo "$ac_t""$i" 1>&6
@ -118,7 +78,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
x_libraries="$i"
break
fi
@@ -4376,7 +4405,11 @@ echo "configure:4365: checking for X11 l
@@ -4437,7 +4454,11 @@ echo "configure:4426: checking for X11 l
if test "$x_libraries" = ""; then
XLIBSW=-lX11
else
@ -131,7 +91,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
fi
fi
if test "$XLIBSW" = nope ; then
@@ -4446,6 +4479,10 @@ if test "x${x_libraries}" != "x"; then
@@ -4507,6 +4528,10 @@ if test "x${x_libraries}" != "x"; then
fi
if test "${TCL_LD_SEARCH_FLAGS}" = '-L${LIB_RUNTIME_DIR}'; then
LIB_RUNTIME_DIR=`echo ${LIB_RUNTIME_DIR} |sed -e 's/:/ -L/g'`
@ -142,7 +102,7 @@ $NetBSD: patch-ab,v 1.12 2004/03/08 20:29:43 minskim Exp $
fi
# The statement below is very tricky! It actually *evaluates* the
@@ -5095,11 +5132,18 @@ eval "TK_LIB_FILE=${TK_LIB_FILE}"
@@ -5156,11 +5181,18 @@ eval "TK_LIB_FILE=${TK_LIB_FILE}"
if test "$SHARED_BUILD" = 0 -o $TCL_NEEDS_EXP_FILE = 0; then
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
eval TK_LIB_FLAG="-ltk${VERSION}\${TK_DBGX}"

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
$NetBSD: patch-ac,v 1.6 2004/03/08 22:14:19 minskim Exp $
--- tcl.m4.orig 2003-11-21 14:17:23.000000000 -0600
--- tcl.m4.orig 2004-03-01 18:04:48.000000000 -0600
+++ tcl.m4
@@ -795,6 +795,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
@@ -796,6 +796,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
# Step 3: set configuration options based on system name and version.
do64bit_ok=no
@ -10,7 +10,7 @@ $NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
EXTRA_CFLAGS=""
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
@@ -1207,7 +1220,6 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1214,7 +1215,6 @@ dnl AC_CHECK_TOOL(AR, ar)
AC_CHECK_HEADER(dlfcn.h, [
# NetBSD/SPARC needs -fPIC, -fpic will not do.
SHLIB_CFLAGS="-fPIC"
@ -18,7 +18,7 @@ $NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
@@ -1220,11 +1232,19 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1227,11 +1227,19 @@ dnl AC_CHECK_TOOL(AR, ar)
#ifdef __ELF__
yes
#endif
@ -40,7 +40,7 @@ $NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
)
], [
SHLIB_CFLAGS=""
@@ -1519,6 +1539,9 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1526,6 +1534,9 @@ dnl AC_CHECK_TOOL(AR, ar)
CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi
@ -50,7 +50,7 @@ $NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
;;
ULTRIX-4.*)
SHLIB_CFLAGS="-G 0"
@@ -1703,8 +1726,8 @@ dnl AC_CHECK_TOOL(AR, ar)
@@ -1710,8 +1721,8 @@ dnl AC_CHECK_TOOL(AR, ar)
if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
@ -61,7 +61,7 @@ $NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
else
LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
@@ -2049,7 +2072,11 @@ AC_DEFUN(SC_PATH_X, [
@@ -2056,7 +2067,11 @@ AC_DEFUN(SC_PATH_X, [
for i in $dirs ; do
if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl; then
AC_MSG_RESULT($i)
@ -74,7 +74,7 @@ $NetBSD: patch-ac,v 1.5 2004/03/08 20:29:43 minskim Exp $
x_libraries="$i"
break
fi
@@ -2058,7 +2085,11 @@ AC_DEFUN(SC_PATH_X, [
@@ -2065,7 +2080,11 @@ AC_DEFUN(SC_PATH_X, [
if test "$x_libraries" = ""; then
XLIBSW=-lX11
else