erlang: update to 19.0.
This commit is contained in:
parent
a10b2d9471
commit
fa89d12c2a
2 changed files with 20 additions and 1 deletions
19
srcpkgs/erlang/patches/crypto_segfault.patch
Normal file
19
srcpkgs/erlang/patches/crypto_segfault.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
commit 4763141dcb61464fdc3ac11273d0a21874670bb5
|
||||
Author: Duncaen <mail@duncano.de>
|
||||
Date: Wed Aug 3 16:56:29 2016 +0200
|
||||
|
||||
Fix segfault in crypto by increasing algo_cipher array
|
||||
|
||||
diff --git lib/crypto/c_src/crypto.c lib/crypto/c_src/crypto.c
|
||||
index 7183c39..d0044fe 100644
|
||||
--- lib/crypto/c_src/crypto.c
|
||||
+++ lib/crypto/c_src/crypto.c
|
||||
@@ -749,7 +749,7 @@ static ERL_NIF_TERM algo_hash[8]; /* increase when extending the list */
|
||||
static int algo_pubkey_cnt;
|
||||
static ERL_NIF_TERM algo_pubkey[7]; /* increase when extending the list */
|
||||
static int algo_cipher_cnt;
|
||||
-static ERL_NIF_TERM algo_cipher[20]; /* increase when extending the list */
|
||||
+static ERL_NIF_TERM algo_cipher[21]; /* increase when extending the list */
|
||||
|
||||
static void init_algorithms_types(ErlNifEnv* env)
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'erlang'
|
||||
pkgname=erlang
|
||||
version=19.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=otp_src_${version}
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-smp-support"
|
||||
|
|
Loading…
Reference in a new issue