pidgin-sipe: update to 1.22.1.
This commit is contained in:
parent
af448bd027
commit
54475610cd
2 changed files with 23 additions and 3 deletions
20
srcpkgs/pidgin-sipe/patches/libressl.patch
Normal file
20
srcpkgs/pidgin-sipe/patches/libressl.patch
Normal file
|
@ -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
|
|
@ -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 <contact@renatoaguiar.org>"
|
|||
license="GPL-2"
|
||||
homepage="http://sipe.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/sipe/sipe/$pkgname-$version.tar.xz"
|
||||
checksum=7fe7e483c0dc2578162a29e7e4e37287b890875fa828516fd353d3c113559ec3
|
||||
checksum=3f5092b22bb7638a8945484b2b538c58b4d4fcf913d4b86a5ece1107d28a5154
|
||||
|
|
Loading…
Add table
Reference in a new issue