Commit graph

157 commits

Author SHA1 Message Date
adam
3819f0e357 Changes 8.6.3:
Correct Method Search Order
Regression [lreplace {} 1 1]
Crash regression in [oo::class destroy]
Regress [regsub -all {\(.*} a(b) {}]
[try {} on ok {} - on return {} {}] panic
[tcl::unsupported::getbytecode] disassember
[string cat] bytecode optimization
segfault in mangled bytecode
Hang in some [read]s of limited size
segfault in [array set] of traced array
MSVC14 compile support
[fcopy] treats [blocked] as error
regression in Tcl_Write() interface
fix [gets] on non-blocking channels
restore [open comX: r+]
Restore [lappend v] return value
Stop forcing EOF to be permanent
2014-11-22 15:57:17 +00:00
adam
d719101c50 Changes 8.6.2:
This is a bug-fix release.
2014-10-31 21:11:18 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
dsainty
02b335bd76 Bump PKGREVISION for pulling in zlib dependency, because builds on systems
with PREFER_PKGSRC=yes may have successfully built and installed previously,
but are quite likely broken.
2014-02-26 12:23:36 +00:00
dsainty
25d1b5d91a The TCL library links with libz, so pull in the dependency. 2014-02-26 11:24:28 +00:00
obache
cca1befc3b one small fix for DragonFly patch, PR pkg/48513. 2014-02-06 04:29:12 +00:00
obache
50a1611c5b Add patches for DragonFly, PR pkg/48513 by David Shao. 2014-02-05 12:50:51 +00:00
obache
c3e8ece375 --prefix=${PREFIX} is set by default with GNU_CONFIGURE=yes. 2014-02-05 12:49:38 +00:00
obache
d76323c59b Add missing PKGCONFIG_OVERRIDE for new tcl.pc.
Bump PKGREVISION.
2014-02-05 12:46:31 +00:00
ryoon
2a9456fa7d Fix library names under OpenBSD for consistent PLIST 2014-01-26 03:51:12 +00:00
adam
c22c00ff66 Changes 8.6.1:
* object-oriented programming support
* a stackless evaluation implementation
and much more besides.
2014-01-11 14:41:05 +00:00
adam
5fbf43f8fc Changes 8.5.15:
Bug-fix release.
2013-11-02 20:22:02 +00:00
adam
cc57132408 Changes 8.5.14:
Bug-fix release.
2013-05-31 20:15:04 +00:00
kivinen
c387ac5764 Added installation of http 2.7.10 package to get xml2rfc.tcl
to work. This will install http/http.tcl and http/pkgIndex.tcl
	to the tcl8.5/http/ directory.
2013-04-08 14:19:38 +00:00
bsiegert
639c01d1f1 MirBSD build fix: don't break when there is no _SC_GET{PW,GRâ‰}_R_SIZE_MAX.
Freeze exception granted by wiz.
2012-12-29 13:49:12 +00:00
adam
3f8475aeeb Changes 8.5.13:
* --enable-aqua build for Mac OS X is now a Cocoa implementation.
* Support has been added for Cygwin network pathnames.
* Updated to Unicode 6.2 support. Fixes for several crashes and bugs.
2012-11-24 21:38:49 +00:00
he
143541657f Fix this properly, I had some *.m4 and *.in patches lying around from before... 2012-11-08 08:50:02 +00:00
he
90f247d435 Fix the patch checksums so that this builds again. 2012-11-08 08:40:58 +00:00
he
d3f5210b4e Reinstate the NetBSD tweak to install $MACHINE_ARCH in
tcl_platform(machine), instead of using $MACHINE there.

This is in preparation for reverting the recent change
to the net/tcl-scotty PLIST.

Bump PKGREVISION.
2012-11-07 14:30:48 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
adam
1b8316974b Fix installing on OSX 2012-08-23 16:14:43 +00:00
marino
ad68f4fa25 lang/tcl: Ensure tclConfig.sh has embedded rpath
The runpath of the TCL_LIB_SPEC was missing as compared to version 8.4,
so the configure script was altered to add it back.
Also, the CONFIGURE_ARGS for thread options had unrecognized arguments.

Problems found and fixes suggested by he@
2012-08-22 22:03:16 +00:00
marino
7bbfee4696 lang/tcl: Upgrade from version 8.4.18 to 8.5.12
Highlights of Tcl 8.5
  * Features: 8.5 has over 90 TIPs included to provide a wide variety of
     new features.
  * Bignums: Tcl now supports arbitrary-precision integers, which improves
    math operations on large integers.
  * Safer interps: Tcl's powerful safe interpreter mechanism now has
    improved control of time and command limits in slave interpreters.
  * clock command: More robust implementation of command for specifying
    time, with significant l10n and i18n improvements.
  * dict command: New data structure that allows access to data by value
    rather than a variable name, which is substantially faster.
  * Additional improvements: Faster list search, new and improved
    mathematics procedures, anonymous procedures, new ways to package Tcl
    extensions, Tcl-level custom channel types, file and line location
    information for each command, and more.

There is of course much, much more.
See [8.5 Changes](http://wiki.tcl.tk/10630) on the wiki for a complete
list of new features.
2012-08-21 21:31:47 +00:00
ryoon
637677a717 Fix UNSHARED_LIB_SUFFIX without dot in configure on FreeBSD.
Sync with PLIST.
2012-03-31 01:27:26 +00:00
obache
273b09f100 Set TCLSH here, same as PERL5 in lang/perl5/buildlink3.mk. 2012-03-21 15:33:29 +00:00
obache
0532052ac2 Use tclsh from pkgsrc for the case lang/tcl is buildlinked. 2012-03-05 13:35:20 +00:00
marino
90faa5c3ca lang/tcl: Fix DragonFly breakage
The previous commit caused DragonFly to build the libraries with a
different file name than specified in the PLIST, causing the build
to fail on DragonFly.

This commit forces DragonFly to use library names without dots to
match the PLIST.
2011-11-14 01:31:18 +00:00
bsiegert
0fc4cddf9e MirBSD build fix: add MirBSD stanzas to tcl.m4, regen configure,
add a patch for EOVERFLOW handling.
2011-11-01 20:08:12 +00:00
cheusov
222a532ea5 Fix for buffer overflow and segfault on some Linux system
(PR 45244 by Michael Droettboom)
Fix for build failure on NetBSD (missing --tags in libtool invocation)
2011-08-16 10:18:58 +00:00
snj
4dc98114c5 Add 'clean' to PRIVILEGED_STAGES. 2009-09-12 17:57:40 +00:00
jwise
765ec9d406 Give up maintainership of packages where I am still listed as MAINTAINER. 2009-08-20 15:24:58 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
bjs
6e4b815dbd Update to version 8.4.18. Distilled list of non-Windows changes:
* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373]

	* generic/regguts.h, generic/regc_color.c, generic/regc_nfa.c:
	Fixes for problems created when processing regular expressions that
	generate very large automata. An enormous number of thanks to Will
	Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom
	Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in
	tracking these problems down. [Bug 1810264]

	* unix/tclUnixCompat.c (TclpGetHostByName): Really applied
	the change noted on 2007-11-13 by dkf below.

	* generic/tclIOUtil.c (TclGetOpenMode): Only set the O_APPEND flag
	* tests/ioUtil.test (ioUtil-4.1):	on a channel for the 'a'
	mode and not for 'a+'. [Bug 1773127] (backport from HEAD)

	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): Prevent shimmering crash
	when -exact and -integer/-real are mixed. [Bug 1844789]

	* generic/tclThread.c: Back-port locking changes from Tcl8.5
	in Tcl_Mutex/ConditionFinlize. Now we properly master-lock
	the finalization of sync primitives.

	* generic/regc_nfa.c:	Fixed infinite loop in the regexp compiler
	* generic/regcomp.c:	[Bug 1810038].  Corrected looping logic in
	* tests/regexp.test:	fixempties() to avoid wasting time walking a
	list of dead states [Bug 1832612].  Convert optst() from expensive
	no-op to a cheap no-op.  Improve newline usage in debug output.

	* unix/tclUnixCompat.c (TclpGetHostByName): The six-argument form of
	getaddressbyname_r() uses the fifth argument to indicate whether the
	lookup succeeded or not on at least one platform. [Bug 1618235]

	* generic/regc_lex.c (lexescape): Ensure that backreference numbers
	can't overflow a signed int in a way that breaks things. [Bug 1810264]

	* generic/tclParse.c (Tcl_ParseBraces): fix for possible read
	after the end of buffer, [Bug 1813528] (Joe Mistachkin).

	* generic/tclObj.c (Tcl_FindCommandFromObj): fix finding a deleted
	command; cannot trigger this from Tcl itself, but crash reported
	on xotcl. This check is new to 8.4 but exists in 8.5, so this is a
	backport or something. Thanks Gustaf Neumann.

	* generic/tcl.h (Tcl_DecrRefCount): Update change from 2006-05-29
	to make macro more warning-robust in unbraced if code.
2008-04-07 15:16:40 +00:00
adam
70ae7fb880 Changes 8.4.16:
* Bug fixes
* Improvements
2007-10-13 11:41:33 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
adam
207349e730 Changes 8.4.15:
* Minor bugfixes
2007-05-31 13:01:53 +00:00
heinz
dffe7b93bf Added support for installation to DESTDIR. Approved by Jim Wise. 2007-05-29 18:35:58 +00:00
adam
a21f91c681 Changes 8.4.14:
* Tk_PhotoPutBlock performance restored (JPEG image loading).
  * [namespace inscope] change reverted; harmed Itcl.
  * Made [expr {srand(.)}] accept wide integer argument.
  * Made [lappend $invalidList] raise an error.
  * Improved [text] delete performance.
  * Support for the WM_UNICHAR window message on Windows
  * Stopped excess variable writes by [scale].
  * Tcl_Main no longer blocks main loop start for one interactive command.
  * [console] made thread safe.
  * Thread-enabled configuration uses MT-safe system calls.
  * Many Aqua/Tk bug fixes and improvements, see changes file.
  * Made unthreaded notifier naked-fork-safe on Darwin.
  * Support for weak linking on Mac OS X.
  * msgcat support for CFLocale on Darwin (msgcat 1.3.4)
  * Fixed crashes due to alignment issues in encoding translation routines.
  * Fixed crash with [listbox -listvariable] on namespace variable.
  * Fixed crash when Tcl_DeleteTrace changes proc on the active stack.
  * Fixed crash when normalizing filesystem pathnames.
  * Fixed crash due to invalid font name from XServer.
  * Several 64-bit bugs fixed and platform support enhanced.
2006-11-02 17:41:23 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
adam
32868e4ba1 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.
2006-04-27 08:17:09 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
minskim
4e88909889 Add link options to have a correct dependency_libs line in .la files
on NetBSD.

Bump PKGREVISION.
2006-02-23 23:30:57 +00:00
adam
36aff7b87b Changes 8.4.12:
* Repeated [namespace import] of same command now permitted.
  * ${prefix}/share added to ::tcl_pkgPath on some systems.
  * [exec]'s >> redirection has improved append behavior.
  * [info globals] returned only existing variables.
  * Recognize some Solaris variations of the cp1251 encoding.
  * Addressed [file mkdir] race condition.
  * Support opening >2GB files on RHEL 3.
  * Corrections to $argv formatting when [encoding system] is multibyte.
  * http 2.5.2: Update URL encoding rules to RFC 3986.
  * Fixed issue in recursive file delete with NFS lock files.
  * Stopped crash after use of Tcl_TraceCommand().
  * Win NT/XP: support unicode console.
  * Improved support for Tclkit to set [encoding system].
  * Added Korean timezone abbreviations.
  * Windows: exit codes can now exceed -128..127 range.
  * [load] support on LynxOS.
  * Packages with incorrect index scripts now cause a warning to be logged.
        *** POTENTIAL INCOMPATIBILITY ***
  * [lsearch -regexp] now accepts backrefs in the RE.
  * [selection get] made compatible with OpenOffice.org.
  * Dialog support for widget names containing spaces.
  * Improved Tk window manager event interaction on OS X Aqua.
2006-01-16 14:47:35 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
reed
a4bd461010 Remove wiz's quick workaround for the --mandir.
Remove the --mandir setting for CONFIGURE_ARGS as this is
now done by default (for GNU_CONFIGURE).

Remove the man page staging from post-install (and the
comment about this). The maintainer told me this was
a workaround for older versions of tcl and that it is
fixed now.
2005-10-07 18:38:34 +00:00