From 0199630cb286ea0ec701c9dce7e4d5d9e36026e6 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 15 Sep 2018 22:01:43 +0800 Subject: [PATCH] net-misc/seafile-client: bump to 6.2.5 --- .../0001-Fix-build-with-libressl-2.7.x.patch | 25 +++++++++++++++++++ ...heres-0 => seafile-client-6.2.5.exheres-0} | 3 ++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 packages/net-misc/seafile-client/files/0001-Fix-build-with-libressl-2.7.x.patch rename packages/net-misc/seafile-client/{seafile-client-6.1.8.exheres-0 => seafile-client-6.2.5.exheres-0} (93%) diff --git a/packages/net-misc/seafile-client/files/0001-Fix-build-with-libressl-2.7.x.patch b/packages/net-misc/seafile-client/files/0001-Fix-build-with-libressl-2.7.x.patch new file mode 100644 index 0000000..e5521f9 --- /dev/null +++ b/packages/net-misc/seafile-client/files/0001-Fix-build-with-libressl-2.7.x.patch @@ -0,0 +1,25 @@ +From 1586d708693b97d2962258419b3f366c439ae540 Mon Sep 17 00:00:00 2001 +From: Julian Ospald +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 + diff --git a/packages/net-misc/seafile-client/seafile-client-6.1.8.exheres-0 b/packages/net-misc/seafile-client/seafile-client-6.2.5.exheres-0 similarity index 93% rename from packages/net-misc/seafile-client/seafile-client-6.1.8.exheres-0 rename to packages/net-misc/seafile-client/seafile-client-6.2.5.exheres-0 index 1ee64d4..7fe5ee1 100644 --- a/packages/net-misc/seafile-client/seafile-client-6.1.8.exheres-0 +++ b/packages/net-misc/seafile-client/seafile-client-6.2.5.exheres-0 @@ -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 )