erlang: fix libressl-2.7

This commit is contained in:
Enno Boland 2018-04-23 18:08:22 +02:00
parent 15d33d7afa
commit 5dd3d24656
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
--- ./otp_src_20.3/lib/crypto/c_src/crypto.c.orig 2018-04-23 18:04:06.652997515 +0200
+++ ./otp_src_20.3/lib/crypto/c_src/crypto.c 2018-04-23 18:03:47.480968547 +0200
@@ -102,8 +102,10 @@
# undef FIPS_SUPPORT
# endif
+# if LIBRESSL_VERSION_NUMBER < 0x2070000fL
/* LibreSSL wants the 1.0.1 API */
-# define NEED_EVP_COMPATIBILITY_FUNCTIONS
+# define NEED_EVP_COMPATIBILITY_FUNCTIONS
+# endif
#endif

View File

@ -1,7 +1,7 @@
# Template file for 'erlang' # Template file for 'erlang'
pkgname=erlang pkgname=erlang
version=20.3 version=20.3
revision=1 revision=2
create_wrksrc=yes create_wrksrc=yes
build_wrksrc=otp_src_${version} build_wrksrc=otp_src_${version}
build_style=gnu-configure build_style=gnu-configure