svn commit: r546766 - head/lang/erlang-runtime21/files
Niclas Zeising
zeising at FreeBSD.org
Fri Aug 28 17:38:45 UTC 2020
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))
More information about the svn-ports-all
mailing list