pkgsrc/lang/tcl/patches/patch-generic_tclInt.h
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

27 lines
553 B
C

$NetBSD: patch-generic_tclInt.h,v 1.1 2012/08/21 21:31:47 marino Exp $
--- generic/tclInt.h.orig 2012-07-16 11:57:05.000000000 +0000
+++ generic/tclInt.h
@@ -38,21 +38,9 @@
#include <stdio.h>
#include <ctype.h>
-#ifdef NO_STDLIB_H
-# include "../compat/stdlib.h"
-#else
-# include <stdlib.h>
-#endif
-#ifdef NO_STRING_H
-#include "../compat/string.h"
-#else
+#include <stdlib.h>
#include <string.h>
-#endif
-#ifdef STDC_HEADERS
#include <stddef.h>
-#else
-typedef int ptrdiff_t;
-#endif
/*
* Ensure WORDS_BIGENDIAN is defined correctly: