Date: Fri, 28 Aug 2020 21:56:11 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546835 - head/lang/erlang-runtime20/files Message-ID: <202008282156.07SLuBqL063446@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008282156.07SLuBqL063446>