community/erlang: upgrade to 20.3.2

This commit is contained in:
Natanael Copa 2018-04-05 19:14:47 +00:00
parent 2311458440
commit e7e1a45bc6
2 changed files with 22 additions and 4 deletions

View File

@ -3,7 +3,7 @@
# Contributor: Marlus Saraiva <marlus.saraiva@gmail.com>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=erlang
pkgver=20.3.1
pkgver=20.3.2
_srcver=$pkgver
pkgrel=0
pkgdesc="General-purpose programming language and runtime environment"
@ -63,7 +63,9 @@ subpackages="$pkgname-dev
options="!check"
source="https://github.com/erlang/otp/archive/OTP-$_srcver.tar.gz
0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch
0010-fix-nteventlog-remove.patch"
0010-fix-nteventlog-remove.patch
libressl-2.7.patch
"
builddir="$srcdir/otp-OTP-$_srcver"
@ -192,6 +194,7 @@ dev() {
}
sha512sums="fc63df0d7e057d37930c82f5b995b4c500c0cee64bb2f91837409b143a192c9157ae8c159d25d2848cc74fe63019db7a5b1b39d41b0fb2bda6a7f8bd41d229c5 OTP-20.3.1.tar.gz
sha512sums="060874cd4f72c1ecea178dd102f4b37a644485a810127092ad04fee76b52729ce199ee476335a2a40370bc718b7e03eb76869c3a48d457773856fd9f6d30a20b OTP-20.3.2.tar.gz
5d377faccd73382bc86c5aa3182767bc5d1639220c78c2f624135f597f3c823a6871ff13f6f8a109baa8a9ae5d215233b40193e5cfe07af275aa53f327e956de 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch
bb4346dabe17115bc310837c5f0aeb367a745d8ba2159495084e599d0419fc57648d144c811306914ac48d0e087d6150a356f38640ba070642b4578acc5fe573 0010-fix-nteventlog-remove.patch"
bb4346dabe17115bc310837c5f0aeb367a745d8ba2159495084e599d0419fc57648d144c811306914ac48d0e087d6150a356f38640ba070642b4578acc5fe573 0010-fix-nteventlog-remove.patch
1e624ba30c8b501bfe652143ccefab5bc4dec54a61b49fd496482f57202b95cdbaae76182e67f04ae3fd025b3e59aa2b34d5de503850203ea100a65af5dff605 libressl-2.7.patch"

View File

@ -0,0 +1,15 @@
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 9a3ea07..d972f79 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -103,7 +103,9 @@
# endif
/* LibreSSL wants the 1.0.1 API */
-# define NEED_EVP_COMPATIBILITY_FUNCTIONS
+# if LIBRESSL_VERSION_NUMBER < 0x2070000fL
+# define NEED_EVP_COMPATIBILITY_FUNCTIONS
+# endif
#endif