Date: Fri, 28 Aug 2020 17:38:45 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546766 - head/lang/erlang-runtime21/files Message-ID: <202008281738.07SHcjKh096384@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Fri Aug 28 17:38:45 2020 New Revision: 546766 URL: https://svnweb.freebsd.org/changeset/ports/546766 Log: lang/erlang-runtime21: fix build with -fno-common Add an upstream patch to lang/erlang-runtime21 to fix the build with -fno-common, which is the default with llvm 11. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum) Added: head/lang/erlang-runtime21/files/patch-de870d7f.c (contents, props changed) Added: head/lang/erlang-runtime21/files/patch-de870d7f.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/erlang-runtime21/files/patch-de870d7f.c Fri Aug 28 17:38:45 2020 (r546766) @@ -0,0 +1,13 @@ +diff --git a/lib/erl_interface/src/misc/ei_portio.h b/lib/erl_interface/src/misc/ei_portio.h +index 84ebc5039ab..5172d085b40 100644 +--- lib/erl_interface/src/misc/ei_portio.h ++++ lib/erl_interface/src/misc/ei_portio.h +@@ -47,7 +47,7 @@ int ei_writev_fill_ctx_t__(ei_socket_callbacks *cbs, void *ctx, const struct iov + int ei_socket_callbacks_have_writev__(ei_socket_callbacks *cbs); + #endif + +-ei_socket_callbacks ei_default_socket_callbacks; ++extern ei_socket_callbacks ei_default_socket_callbacks; + + #define EI_FD_AS_CTX__(FD) \ + ((void *) (long) (FD))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008281738.07SHcjKh096384>