svn commit: r546835 - head/lang/erlang-runtime20/files
Tobias C. Berner
tcberner at FreeBSD.org
Fri Aug 28 21:56:11 UTC 2020
Author: tcberner
Date: Fri Aug 28 21:56:10 2020
New Revision: 546835
URL: https://svnweb.freebsd.org/changeset/ports/546835
Log:
lang/erlang-runtime20: fix build on recent current
Added:
head/lang/erlang-runtime20/files/patch-erts_emulator_beam_erl__alloc.h (contents, props changed)
head/lang/erlang-runtime20/files/patch-erts_emulator_beam_global.h (contents, props changed)
Added: head/lang/erlang-runtime20/files/patch-erts_emulator_beam_erl__alloc.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/erlang-runtime20/files/patch-erts_emulator_beam_erl__alloc.h Fri Aug 28 21:56:10 2020 (r546835)
@@ -0,0 +1,11 @@
+--- erts/emulator/beam/erl_alloc.h.orig 2020-08-28 21:30:14 UTC
++++ erts/emulator/beam/erl_alloc.h
+@@ -146,7 +146,7 @@ typedef struct ErtsAllocatorWrapper_t_ {
+ void (*unlock)(void);
+ struct ErtsAllocatorWrapper_t_* next;
+ }ErtsAllocatorWrapper_t;
+-ErtsAllocatorWrapper_t *erts_allctr_wrappers;
++extern ErtsAllocatorWrapper_t *erts_allctr_wrappers;
+ extern int erts_allctr_wrapper_prelocked;
+ extern erts_tsd_key_t erts_allctr_prelock_tsd_key;
+ void erts_allctr_wrapper_prelock_init(ErtsAllocatorWrapper_t* wrapper);
Added: head/lang/erlang-runtime20/files/patch-erts_emulator_beam_global.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/erlang-runtime20/files/patch-erts_emulator_beam_global.h Fri Aug 28 21:56:10 2020 (r546835)
@@ -0,0 +1,13 @@
+--- erts/emulator/beam/global.h.orig 2020-08-28 21:32:51 UTC
++++ erts/emulator/beam/global.h
+@@ -959,8 +959,8 @@ void erts_update_ranges(BeamInstr* code, Uint size);
+ void erts_remove_from_ranges(BeamInstr* code);
+ UWord erts_ranges_sz(void);
+ void erts_lookup_function_info(FunctionInfo* fi, BeamInstr* pc, int full_info);
+-ErtsLiteralArea** erts_dump_lit_areas;
+-Uint erts_dump_num_lit_areas;
++extern ErtsLiteralArea** erts_dump_lit_areas;
++extern Uint erts_dump_num_lit_areas;
+
+ /* break.c */
+ void init_break_handler(void);
More information about the svn-ports-all
mailing list