pkgsrc/lang/erlang/patches/patch-ao
asau 786ef722e5 Update to Erlang/OTP R14B02
Highlights composed by Matthew Sporleder.


Changes in R14B02 (http://www.erlang.org/download/otp_src_R14B02.readme)

- It is now possible to use Erlang specifications and types
  in EDoc documentation
- All tests in Erlang/OTP have been converted to be run with
  Common Test as the backend instead of Test Server.
- From this release, the previously experimental halfword
  emulator is now official
- Dependency generation for Makefiles has been added to the
  compiler and erlc
- Add a --fullpath option to Dialyzer (include version 2.4.2)
- Many fixes in erts
- Remove hipe constants pool
- Partial support for recursive structs and unions
- It is now possible to use SSH to sign and verify binary data.
- typer has been rewritten


Changes R14B01 (http://www.erlang.org/download/otp_src_R14B01.readme)

- New ETS option compressed, to enable a more compact storage
  format at the expence of heavier table operations
- There is now a new function inet:getifaddrs/0 modeled after
  C library function getifaddrs() on BSD and Linux that reports
  existing interfaces and their addresses on the host
- Multiple crashes and infinite loops fixed
- AES CTR encryption support in crypto
- erl_call: remove get_hostent
- The Erlang VM now supports Unicode filenames
- New ETS option compressed


Changes in R14B (http://www.erlang.org/download/otp_src_R14B.readme)

- Large parts of the ethread library have been rewritten.
- The changed API of the ethread library has also caused
  modifications in the Erlang runtime system.
- Some Built In Functions (BIFs) are now autoimported
- Added erlang:system_info(build_type)
- A number of memory leaks in the crypto NIF library have been fixed
- erl_call: fix multiple buffer overflows
- NIF 64-bit integer support
- Removed some potential vulnerabilities from the Erlang Port
  Mapper Daemon (epmd)
- Replaced the old http client api module (http) with the new,
  httpc in the users guide.
- inet6 improvements
- ssh fixes
- many ssl improvements/fixes
- wx crash fix


Changes in R14A (http://www.erlang.org/download/otp_src_R14A.readme)

- R14A is a major new release of Erlang/OTP.
- The module binary from EEP31 (and EEP9) is implemented
- It is now possible for the user to provide specific callback
  modules that handle test configuration data
- New NIF features
- Receive statements that can only read out a newly created
  reference are now specially optimized so that it will execute
  in constant time regardless of the number of messages in the
  receive queue for the process.
- The run_test script has been replaced by a program (with the
  same name) which can be executed without explicit installation
- eprof has been reimplemented with support in the Erlang
  virtual machine and is now both faster (i.e. slows down the
  code being measured less) and scales much better


Changes in R13B04 (http://www.erlang.org/download/otp_src_R13B04.readme)

- Many documentation and documentation build improvements
- cross-compile/build improvements
- buffer overflow fix
- telnet keep alive fixes
- compiler crash on boolean ifs
- -Werror for erlc fixed
- macro overloading implemented
- the crypto module now supports Blowfish
- explicit top directories in archive files are now optional
- add lock profiling tool: lcnt
- httpd methods "PUT" and "DELETE" now allowed + others fixes
  to resolver routine
- compression supported when copying between mnesia nodes
2011-04-14 19:34:07 +00:00

15 lines
450 B
Text

$NetBSD: patch-ao,v 1.2 2011/04/14 19:34:09 asau Exp $
--- erts/emulator/hipe/hipe_sparc.c.orig 2010-06-24 07:26:50.000000000 +0300
+++ erts/emulator/hipe/hipe_sparc.c 2010-06-24 07:27:25.000000000 +0300
@@ -130,6 +130,10 @@
#define ALLOC_CODE_STATS(X) do{}while(0)
#endif
+#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
static void morecore(unsigned int alloc_bytes)
{
unsigned int map_bytes;