summaryrefslogtreecommitdiff
path: root/lang/tcl/patches/patch-af
diff options
context:
space:
mode:
authoradam <adam>2006-04-27 08:17:09 +0000
committeradam <adam>2006-04-27 08:17:09 +0000
commit378edb5dcdf496ec1d3e7c292694274e4bae66d1 (patch)
treeba19dc7995eaf70596f5665f25ccb697b8a80883 /lang/tcl/patches/patch-af
parent28b32d4c263b9eaecb058a239fc8fa69ef0c6228 (diff)
downloadpkgsrc-378edb5dcdf496ec1d3e7c292694274e4bae66d1.tar.gz
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 (limited to 'lang/tcl/patches/patch-af')
-rw-r--r--lang/tcl/patches/patch-af57
1 files changed, 22 insertions, 35 deletions
diff --git a/lang/tcl/patches/patch-af b/lang/tcl/patches/patch-af
index c10db69daff..545eabe0a97 100644
--- a/lang/tcl/patches/patch-af
+++ b/lang/tcl/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
+$NetBSD: patch-af,v 1.20 2006/04/27 08:17:09 adam Exp $
---- unix/tcl.m4.orig 2005-12-06 16:03:34.000000000 +0000
+--- unix/tcl.m4.orig 2006-04-20 16:42:21.000000000 +0200
+++ unix/tcl.m4
-@@ -900,6 +900,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
+@@ -1032,6 +1032,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.19 2006/02/23 23:30:57 minskim Exp $
LDFLAGS_ORIG="$LDFLAGS"
TCL_EXPORT_FILE_SUFFIX=""
UNSHARED_LIB_SUFFIX=""
-@@ -1126,6 +1127,21 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1258,6 +1259,21 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_LIBRARY_PATH_VAR="SHLIB_PATH"
fi
;;
@@ -32,7 +32,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
IRIX-4.*)
SHLIB_CFLAGS="-G 0"
SHLIB_SUFFIX=".a"
-@@ -1147,6 +1163,9 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1279,6 +1295,9 @@ dnl AC_CHECK_TOOL(AR, ar)
DL_LIBS=""
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
@@ -42,7 +42,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
;;
IRIX-6.*)
SHLIB_CFLAGS=""
-@@ -1172,6 +1191,9 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1304,6 +1323,9 @@ dnl AC_CHECK_TOOL(AR, ar)
esac
LDFLAGS="$LDFLAGS -n32"
fi
@@ -52,7 +52,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
;;
IRIX64-6.*)
SHLIB_CFLAGS=""
-@@ -1195,6 +1217,9 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1327,6 +1349,9 @@ dnl AC_CHECK_TOOL(AR, ar)
LDFLAGS="$LDFLAGS -64"
fi
fi
@@ -62,7 +62,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
;;
Linux*)
SHLIB_CFLAGS="-fPIC"
-@@ -1240,6 +1265,9 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1372,6 +1397,9 @@ dnl AC_CHECK_TOOL(AR, ar)
# XIM peeking works under XFree86.
AC_DEFINE(PEEK_XCLOSEIM)
@@ -72,7 +72,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
;;
GNU*)
SHLIB_CFLAGS="-fPIC"
-@@ -1299,28 +1327,36 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1431,23 +1459,26 @@ dnl AC_CHECK_TOOL(AR, ar)
LD_SEARCH_FLAGS=""
;;
NetBSD-*|FreeBSD-[[1-2]].*)
@@ -84,37 +84,24 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
# 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}'
- AC_MSG_CHECKING(for ELF)
- AC_EGREP_CPP(yes, [
+ AC_CACHE_CHECK([for ELF], tcl_cv_ld_elf, [
+ AC_EGREP_CPP(yes, [
#ifdef __ELF__
yes
#endif
-- ],
-+ ], [
- AC_MSG_RESULT(yes)
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so',
-+ SHLIB_LD='${TCL_CC} -shared -Wl,-x'
-+ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
-+ TCL_LIB_SPEC_RPATH="-Wl,-R${exec_prefix}/lib"
-+ ], [
- AC_MSG_RESULT(no)
-+ 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'
-- )
-+ ])
- ], [
- SHLIB_CFLAGS=""
- SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
-@@ -1386,7 +1422,7 @@ dnl AC_CHECK_TOOL(AR, ar)
+ ], tcl_cv_ld_elf=yes, tcl_cv_ld_elf=no)])
++ SHLIB_LD='${TCL_CC} -shared -Wl,-x'
++ LD_SEARCH_FLAGS='-Wl,-R${LIB_RUNTIME_DIR}'
+ if test $tcl_cv_ld_elf = yes; then
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
+ else
+@@ -1518,7 +1549,7 @@ dnl AC_CHECK_TOOL(AR, ar)
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
TCL_LIB_VERSIONS_OK=nodots
;;
@@ -123,7 +110,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
# FreeBSD 3.* and greater have ELF.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="ld -Bshareable -x"
-@@ -1736,6 +1772,9 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -1867,6 +1898,9 @@ dnl AC_CHECK_TOOL(AR, ar)
CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
fi
@@ -133,7 +120,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
;;
ULTRIX-4.*)
SHLIB_CFLAGS="-G 0"
-@@ -1915,8 +1954,8 @@ dnl AC_CHECK_TOOL(AR, ar)
+@@ -2045,8 +2079,8 @@ dnl AC_CHECK_TOOL(AR, ar)
if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
LIB_SUFFIX=${SHARED_LIB_SUFFIX}
@@ -144,7 +131,7 @@ $NetBSD: patch-af,v 1.19 2006/02/23 23:30:57 minskim Exp $
else
LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
-@@ -1946,10 +1985,10 @@ dnl esac
+@@ -2076,10 +2110,10 @@ dnl esac
# Stub lib does not depend on shared/static configuration
if test "$RANLIB" = "" ; then