net-misc/seafile-client: bump to 6.2.5

This commit is contained in:
Julian Ospald 2018-09-15 22:01:43 +08:00
parent 96fab91de2
commit 0199630cb2
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 1586d708693b97d2962258419b3f366c439ae540 Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Sat, 15 Sep 2018 21:51:53 +0800
Subject: [PATCH] Fix build with libressl-2.7.x
---
src/utils/rsa.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/utils/rsa.cpp b/src/utils/rsa.cpp
index 99babc5..c103700 100644
--- a/src/utils/rsa.cpp
+++ b/src/utils/rsa.cpp
@@ -13,7 +13,7 @@ namespace {
/* Forward compatibility functions if libssl < 1.1.0. */
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
{
--
2.19.0

View File

@ -25,9 +25,9 @@ DEPENDENCIES="
virtual/pkg-config
build+run:
dev-db/sqlite:3
dev-libs/glib:2
dev-libs/jansson
dev-libs/libevent
net-libs/ccnet[~${PV}]
net-libs/libsearpc
net-misc/seafile[~${PV}]
x11-libs/qtbase:5
@ -39,4 +39,5 @@ BUGS_TO="hasufell@posteo.de"
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/select-qt5.patch
"${FILES}"/0001-Fix-build-with-libressl-2.7.x.patch
)