diff --git a/srcpkgs/libevent/patches/fix-libressl-2.7.patch b/srcpkgs/libevent/patches/fix-libressl-2.7.patch deleted file mode 100644 index 5a42a4a577a..00000000000 --- a/srcpkgs/libevent/patches/fix-libressl-2.7.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- openssl-compat.h.orig 2018-04-23 16:26:06.271112397 +0200 -+++ openssl-compat.h 2018-04-23 16:27:06.157202883 +0200 -@@ -1,7 +1,11 @@ - #ifndef OPENSSL_COMPAT_H - #define OPENSSL_COMPAT_H - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL -+#define BIO_get_init(b) (b)->init -+#define BIO_get_data(b) (b)->ptr -+#define BIO_get_shutdown(b) (b)->shutdown -+#elif (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) - - static inline BIO_METHOD *BIO_meth_new(int type, const char *name) - { -@@ -30,6 +34,6 @@ static inline BIO_METHOD *BIO_meth_new(i - - #define TLS_method SSLv23_method - --#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ -+#endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) */ - - #endif /* OPENSSL_COMPAT_H */ diff --git a/srcpkgs/libevent/template b/srcpkgs/libevent/template index 1105394201a..0e424c73831 100644 --- a/srcpkgs/libevent/template +++ b/srcpkgs/libevent/template @@ -1,7 +1,7 @@ # Template file for 'libevent' pkgname=libevent -version=2.1.8 -revision=6 +version=2.1.10 +revision=1 wrksrc="${pkgname}-${version}-stable" build_style=gnu-configure makedepends="libressl-devel" @@ -10,7 +10,7 @@ maintainer="Juan RP " homepage="http://libevent.org/" license="3-clause-BSD" distfiles="https://github.com/libevent/libevent/releases/download/release-${version}-stable/libevent-${version}-stable.tar.gz" -checksum=965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2 +checksum=e864af41a336bb11dab1a23f32993afe963c1f69618bd9292b89ecf6904845b0 post_install() { vlicense LICENSE