diff --git a/srcpkgs/FreeRADIUS/patches/libressl.patch b/srcpkgs/FreeRADIUS/patches/libressl.patch new file mode 100644 index 00000000000..7c5760beed3 --- /dev/null +++ b/srcpkgs/FreeRADIUS/patches/libressl.patch @@ -0,0 +1,11 @@ +--- src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c 2018-04-17 19:12:27.000000000 +0200 ++++ src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c 2019-04-27 16:56:01.628410415 +0200 +@@ -44,7 +44,7 @@ + { + const EVP_CIPHER *c; + const EVP_MD *h; +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090000fL) + int md_size; + + if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL || diff --git a/srcpkgs/FreeRADIUS/template b/srcpkgs/FreeRADIUS/template index 525d5959ee4..ff85a2ad689 100644 --- a/srcpkgs/FreeRADIUS/template +++ b/srcpkgs/FreeRADIUS/template @@ -1,7 +1,7 @@ # Template file for 'FreeRADIUS' pkgname=FreeRADIUS version=3.0.17 -revision=3 +revision=4 wrksrc=freeradius-server-${version} build_style=gnu-configure nocross=yes # Not supported by upstream