mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
megatools: remove libressl patches
This commit is contained in:
parent
e9a6cb65ce
commit
389f5467c9
2 changed files with 1 additions and 41 deletions
|
@ -1,40 +0,0 @@
|
||||||
--- lib/mega.c.orig 2017-09-27 14:15:26.356842896 +0200
|
|
||||||
+++ lib/mega.c 2017-09-27 14:15:45.495808811 +0200
|
|
||||||
@@ -803,7 +803,7 @@ static gboolean rsa_key_gen(rsa_key* k)
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
RSA_get0_key(key, &k->m, &k->e, &k->d);
|
|
||||||
RSA_get0_factors(key, &k->q, &k->p);
|
|
||||||
RSA_get0_crt_params(key, NULL, NULL, &k->u);
|
|
||||||
@@ -2988,7 +2988,7 @@ struct _put_data
|
|
||||||
GByteArray* buffer;
|
|
||||||
};
|
|
||||||
|
|
||||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
void AES_ctr128_encrypt(
|
|
||||||
const unsigned char *in,
|
|
||||||
unsigned char *out,
|
|
||||||
--- lib/tools.c.orig 2017-09-27 14:15:36.322825147 +0200
|
|
||||||
+++ lib/tools.c 2017-09-27 14:15:58.974784808 +0200
|
|
||||||
@@ -107,7 +107,7 @@ static GOptionEntry network_options[] =
|
|
||||||
{ NULL }
|
|
||||||
};
|
|
||||||
|
|
||||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100004L
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100004L && !defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
static void init_openssl_locking()
|
|
||||||
{
|
|
||||||
// OpenSSL >= 1.1.0-pre4 doesn't require specific callback setup
|
|
||||||
@@ -567,7 +567,7 @@ void tool_fini(mega_session* s)
|
|
||||||
CRYPTO_cleanup_all_ex_data();
|
|
||||||
ERR_free_strings();
|
|
||||||
|
|
||||||
-#if OPENSSL_VERSION_NUMBER < 0x10100004L
|
|
||||||
+#if OPENSSL_VERSION_NUMBER < 0x10100004L || defined(LIBRESSL_VERSION_NUMBER)
|
|
||||||
CRYPTO_set_id_callback(NULL);
|
|
||||||
CRYPTO_set_locking_callback(NULL);
|
|
||||||
#endif
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'megatools'
|
# Template file for 'megatools'
|
||||||
pkgname=megatools
|
pkgname=megatools
|
||||||
version=1.9.98
|
version=1.9.98
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config asciidoc"
|
hostmakedepends="pkg-config asciidoc"
|
||||||
makedepends="glib-networking gobject-introspection libressl-devel libcurl-devel fuse-devel libsodium-devel glib-devel"
|
makedepends="glib-networking gobject-introspection libressl-devel libcurl-devel fuse-devel libsodium-devel glib-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue