MEGAsdk: update to 3.4.1.

This commit is contained in:
John Zimmermann 2018-10-03 16:02:42 +02:00 committed by Helmut Pozimski
parent 4b4bb22b6b
commit 450d49aa29
3 changed files with 18 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -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 <johnz@posteo.net>"
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"