svn commit: r545536 - head/lang/erlang/files

Niclas Zeising zeising at FreeBSD.org
Thu Aug 20 15:36:09 UTC 2020


Author: zeising
Date: Thu Aug 20 15:36:08 2020
New Revision: 545536
URL: https://svnweb.freebsd.org/changeset/ports/545536

Log:
  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

Added:
  head/lang/erlang/files/patch-lib_erl__interface_src_misc_ei__portio.h   (contents, props changed)

Added: head/lang/erlang/files/patch-lib_erl__interface_src_misc_ei__portio.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/erlang/files/patch-lib_erl__interface_src_misc_ei__portio.h	Thu Aug 20 15:36:08 2020	(r545536)
@@ -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))


More information about the svn-ports-head mailing list