mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
sqlcipher: fix libressl-2.7
This commit is contained in:
parent
dbd3fde38e
commit
990de6594d
2 changed files with 13 additions and 1 deletions
12
srcpkgs/sqlcipher/patches/fix-libressl-2.7.patch
Normal file
12
srcpkgs/sqlcipher/patches/fix-libressl-2.7.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- src/crypto_openssl.c.orig 2018-04-23 19:52:51.654950856 +0200
|
||||||
|
+++ src/crypto_openssl.c 2018-04-23 19:54:16.786079484 +0200
|
||||||
|
@@ -47,7 +47,8 @@ static unsigned int openssl_external_ini
|
||||||
|
static unsigned int openssl_init_count = 0;
|
||||||
|
static sqlite3_mutex* openssl_rand_mutex = NULL;
|
||||||
|
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
||||||
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
||||||
|
static HMAC_CTX *HMAC_CTX_new(void)
|
||||||
|
{
|
||||||
|
HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sqlcipher'
|
# Template file for 'sqlcipher'
|
||||||
pkgname=sqlcipher
|
pkgname=sqlcipher
|
||||||
version=3.4.2
|
version=3.4.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-tempstore=yes"
|
configure_args="--enable-tempstore=yes"
|
||||||
hostmakedepends="tcl"
|
hostmakedepends="tcl"
|
||||||
|
|
Loading…
Add table
Reference in a new issue