diff --git a/srcpkgs/yara/patches/libressl.patch b/srcpkgs/yara/patches/libressl.patch index 4094d6aca8c..6619f483b05 100644 --- a/srcpkgs/yara/patches/libressl.patch +++ b/srcpkgs/yara/patches/libressl.patch @@ -1,14 +1,5 @@ --- libyara/libyara.c.orig 2017-05-22 10:24:23.000000000 +0000 +++ libyara/libyara.c 2017-05-23 00:18:32.658793790 +0000 -@@ -37,7 +37,7 @@ - #include - #include - --#if defined(HAVE_LIBCRYPTO) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(HAVE_LIBCRYPTO) && (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)) - #include - #endif - @@ -71,7 +71,7 @@ char yr_altercase[256]; diff --git a/srcpkgs/yara/template b/srcpkgs/yara/template index 6d63b10ca0d..87ed0c26173 100644 --- a/srcpkgs/yara/template +++ b/srcpkgs/yara/template @@ -1,6 +1,6 @@ # Template file for 'yara' pkgname=yara -version=3.6.3 +version=3.7.0 revision=1 build_style=gnu-configure configure_args="--enable-magic --enable-cuckoo" @@ -11,7 +11,7 @@ maintainer="Michael Gehring " license="3-clause-BSD" homepage="http://virustotal.github.io/yara/" distfiles="https://github.com/VirusTotal/yara/archive/v${version}.tar.gz" -checksum=ad2c0e788b4d8b2f3e9078f448754313249a302b749b9a24e932bfc5e141a5e8 +checksum=01f0841e7387918c2b6d0b7fb48014bda41d1487be1cabf718a0576018969641 pre_configure() { autoreconf -fi