From 450d49aa29643d74c1d52db1ead005a2dd3a1e66 Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Wed, 3 Oct 2018 16:02:42 +0200 Subject: [PATCH] MEGAsdk: update to 3.4.1. --- common/shlibs | 2 +- srcpkgs/MEGAsdk/patches/libressl.patch | 15 +++++++++++++++ srcpkgs/MEGAsdk/template | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/MEGAsdk/patches/libressl.patch diff --git a/common/shlibs b/common/shlibs index 9918b8fad85..b54ae617a7c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2937,7 +2937,7 @@ libvted-3.so.0 libvted-3.7.0_2 libpeasd-3.so.0 libpeasd-3.7.0_2 libgstreamerd-3.so.0 libgstreamerd-3.7.0_2 libgtkdgl-3.so.0 libgtkdgl-3.7.0_2 -libmega.so.30308 MEGAsdk-3.3.8_1 +libmega.so.30401 MEGAsdk-3.4.1_1 libopenglrecorder.so.0 libopenglrecorder-0.1.0_1 libgpod.so.4 libgpod-0.8.3_1 libi2c.so.0 i2c-tools-4.0_1 diff --git a/srcpkgs/MEGAsdk/patches/libressl.patch b/srcpkgs/MEGAsdk/patches/libressl.patch new file mode 100644 index 00000000000..2acb9c6c1ff --- /dev/null +++ b/srcpkgs/MEGAsdk/patches/libressl.patch @@ -0,0 +1,15 @@ +Source: John +Upstream: Pending: https://github.com/meganz/sdk/pull/1217 +Reson: Fix compiling with libressl +--- +--- src/posix/net.cpp 2018-10-02 13:03:00.000000000 +0200 ++++ - 2018-10-03 16:01:20.000116632 +0200 +@@ -2530,7 +2530,7 @@ + #define EVP_PKEY_get0_RSA(_pkey_) ((_pkey_)->pkey.rsa) + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x1010100fL) ++#if (OPENSSL_VERSION_NUMBER < 0x1010100fL) || defined (LIBRESSL_VERSION_NUMBER) + const BIGNUM *RSA_get0_n(const RSA *rsa) + { + #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER) diff --git a/srcpkgs/MEGAsdk/template b/srcpkgs/MEGAsdk/template index da73b9d1e97..1178e85be98 100644 --- a/srcpkgs/MEGAsdk/template +++ b/srcpkgs/MEGAsdk/template @@ -1,6 +1,6 @@ # Template file for 'MEGAsdk' pkgname=MEGAsdk -version=3.4.0 +version=3.4.1 revision=1 wrksrc=sdk-${version} build_style=gnu-configure @@ -16,7 +16,7 @@ maintainer="John " license="BSD-2-Clause" homepage="https://mega.nz" distfiles="https://github.com/meganz/sdk/archive/v${version}.tar.gz" -checksum=0a13576ac3efb741dd67c43698a99ff1ff721cc806f28908cc0bdba808d4988b +checksum=94dfa5ac6e9cfea70d0a4f2a3e5577e718343f569309f39163167f1874def150 replaces="libmega>=0" build_options="libuv mediainfo"