erlang: fix libressl-2.7
This commit is contained in:
parent
15d33d7afa
commit
5dd3d24656
14
srcpkgs/erlang/patches/fix-libressl.patch
Normal file
14
srcpkgs/erlang/patches/fix-libressl.patch
Normal 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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'erlang'
|
||||
pkgname=erlang
|
||||
version=20.3
|
||||
revision=1
|
||||
revision=2
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=otp_src_${version}
|
||||
build_style=gnu-configure
|
||||
|
Loading…
x
Reference in New Issue
Block a user