erlang: Update from 21.3.8 to 22.0.1

This commit is contained in:
Fredrik Fornwall 2019-05-30 00:25:07 +02:00
parent 8e9cb8293d
commit d658945bf4
2 changed files with 2 additions and 15 deletions

View File

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://www.erlang.org/ TERMUX_PKG_HOMEPAGE=https://www.erlang.org/
TERMUX_PKG_DESCRIPTION="General-purpose concurrent functional programming language" TERMUX_PKG_DESCRIPTION="General-purpose concurrent functional programming language"
TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=21.3.8 TERMUX_PKG_VERSION=22.0.1
TERMUX_PKG_SHA256=e20df59eac5ec0f3d47cb775eb7cfb20438df24d93ba859959a18fe07abf3e6e TERMUX_PKG_SHA256=694f133abfca3c7fb8376b223ea484413bcd16b82354f178fba798f37335f163
TERMUX_PKG_SRCURL=https://github.com/erlang/otp/archive/OTP-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SRCURL=https://github.com/erlang/otp/archive/OTP-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_DEPENDS="openssl, ncurses, zlib" TERMUX_PKG_DEPENDS="openssl, ncurses, zlib"
TERMUX_PKG_HOSTBUILD="yes" TERMUX_PKG_HOSTBUILD="yes"

View File

@ -1,13 +0,0 @@
diff -u -r ../otp-OTP-21.0.5/lib/crypto/c_src/crypto.c ./lib/crypto/c_src/crypto.c
--- ../otp-OTP-21.0.5/lib/crypto/c_src/crypto.c 2018-08-10 17:02:51.000000000 +0000
+++ ./lib/crypto/c_src/crypto.c 2018-08-23 22:08:35.654582842 +0000
@@ -193,7 +193,8 @@
#endif
#if OPENSSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION(0,9,8,'h') \
- && defined(HAVE_EC)
+ && defined(HAVE_EC) \
+ && !defined(OPENSSL_NO_ENGINE)
/* If OPENSSL_NO_EC is set, there will be an error in ec.h included from engine.h
So if EC is disabled, you can't use Engine either....
*/