diff --git a/srcpkgs/pidgin-sipe/patches/libressl.patch b/srcpkgs/pidgin-sipe/patches/libressl.patch new file mode 100644 index 00000000000..291c3d6c0ca --- /dev/null +++ b/srcpkgs/pidgin-sipe/patches/libressl.patch @@ -0,0 +1,20 @@ +--- src/core/sipe-digest-openssl.c.orig 2017-06-11 00:58:07.000000000 +0000 ++++ src/core/sipe-digest-openssl.c 2017-07-15 11:50:28.560520967 +0000 +@@ -77,7 +77,7 @@ + /* Stream HMAC(SHA1) digest for file transfer */ + gpointer sipe_digest_ft_start(const guchar *sha1_digest) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + HMAC_CTX *ctx = g_malloc(sizeof(HMAC_CTX)); + HMAC_CTX_init(ctx); + #else +@@ -101,7 +101,7 @@ + + void sipe_digest_ft_destroy(gpointer context) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + HMAC_CTX_cleanup(context); + g_free(context); + #else diff --git a/srcpkgs/pidgin-sipe/template b/srcpkgs/pidgin-sipe/template index c555840cfcc..f6a65e83ec0 100644 --- a/srcpkgs/pidgin-sipe/template +++ b/srcpkgs/pidgin-sipe/template @@ -1,7 +1,7 @@ # Template file for 'pidgin-sipe' pkgname=pidgin-sipe -version=1.22.0 -revision=2 +version=1.22.1 +revision=1 build_style=gnu-configure hostmakedepends="pkg-config intltool" makedepends="pidgin-devel libressl-devel libxml2-devel" @@ -11,4 +11,4 @@ maintainer="Renato Aguiar " license="GPL-2" homepage="http://sipe.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/sipe/sipe/$pkgname-$version.tar.xz" -checksum=7fe7e483c0dc2578162a29e7e4e37287b890875fa828516fd353d3c113559ec3 +checksum=3f5092b22bb7638a8945484b2b538c58b4d4fcf913d4b86a5ece1107d28a5154