Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2020 15:36:09 +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: r545536 - head/lang/erlang/files
Message-ID:  <202008201536.07KFa9MA045708@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008201536.07KFa9MA045708>