update erlang.spec and add extern-ei-default-socket-callbacks.patch
This commit is contained in:
parent
18ed21df36
commit
dfde791442
@ -11,7 +11,7 @@
|
||||
%global __with_wxwidgets 1
|
||||
Name: erlang
|
||||
Version: 21.3.3
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: General-purpose programming language and runtime environment
|
||||
License: ASL 2.0
|
||||
URL: https://www.erlang.org
|
||||
@ -31,6 +31,7 @@ Patch7: otp-0007-Add-extra-search-directory.patch
|
||||
Patch8: otp-0008-Avoid-forking-sed-to-get-basename.patch
|
||||
Patch9: otp-0009-Load-man-pages-from-system-wide-directory.patch
|
||||
Patch10: otp-0010-Improve-nodes-querying.patch
|
||||
Patch11: extern-ei-default-socket-callbacks.patch
|
||||
BuildRequires: gcc gcc-c++ flex
|
||||
%if %{with doc}
|
||||
%if 0%{?need_bootstrap} < 1
|
||||
@ -1723,6 +1724,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jul 30 2021 liping <liping136@huawei.com> - 21.3.3-3
|
||||
- Support parallel compilation
|
||||
|
||||
* Sat Mar 27 2021 weishengjing <weishengjing1@huawei.com> - 21.3.3-2
|
||||
- Support parallel compilation
|
||||
|
||||
|
||||
11
extern-ei-default-socket-callbacks.patch
Normal file
11
extern-ei-default-socket-callbacks.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/lib/erl_interface/src/misc/ei_portio.h 2021-08-03 11:40:41.087250211 +0800
|
||||
+++ b/lib/erl_interface/src/misc/ei_portio.h 2021-08-03 11:40:19.690906742 +0800
|
||||
@@ -47,7 +47,7 @@
|
||||
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…
x
Reference in New Issue
Block a user