pkgsrc/lang/ocaml/patches/patch-ad
adam 50f21fdec0 Changes 3.09.1:
* Bug fixes
* New features:
- otherlibs/labltk: browser uses menu bars instead of menu buttons


Changes 3.09.0:

Language features:
- Introduction of private row types, for abstracting the row in object
  and variant types.

Type checking:
- Polymorphic variants with at most one constructor [< `A of t] are no
  longer systematically promoted to the exact type [`A of t]. This was
  more confusing than useful, and created problems with private row
  types.

Native-code compiler (ocamlopt):
* Revised implementation of the -pack option (packing of several compilation
  units into one).  The .cmx files that are to be packed with
  "ocamlopt -pack -o P.cmx" must be compiled with "ocamlopt -for-pack P".
  In exchange for this additional constraint, ocamlopt -pack is now
  available on all platforms (no need for binutils).
* Fixed wrong evaluation order for arguments to certain inlined functions.

* Other (see 'Changes')
2006-01-16 09:41:48 +00:00

15 lines
303 B
Text

$NetBSD: patch-ad,v 1.7 2006/01/16 09:41:48 adam Exp $
--- byterun/sys.c.orig 2005-11-09 16:58:03.000000000 +0100
+++ byterun/sys.c
@@ -51,10 +51,6 @@
#include "stacks.h"
#include "sys.h"
-#ifndef _WIN32
-extern int errno;
-#endif
-
static char * error_message(void)
{
return strerror(errno);