lang/erlang: Fix build with -fno-common.
Add a patch to lang/erlang to fix the build with -fno-common, which is the default with llvm 11. MFH: 2020Q3
This commit is contained in:
parent
7051d36f6b
commit
e59f376845
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545536
@ -0,0 +1,11 @@
|
||||
--- lib/erl_interface/src/misc/ei_portio.h.orig 2020-08-20 15:20:59 UTC
|
||||
+++ lib/erl_interface/src/misc/ei_portio.h
|
||||
@@ -47,7 +47,7 @@ int ei_writev_fill_ctx_t__(ei_socket_callbacks *cbs, v
|
||||
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))
|
Loading…
Reference in New Issue
Block a user