parent
369f1a59d6
commit
16e218cddc
11
srcpkgs/sqlcipher/patches/fix-libressl.patch
Normal file
11
srcpkgs/sqlcipher/patches/fix-libressl.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/crypto_openssl.c
|
||||||
|
+++ src/crypto_openssl.c
|
||||||
|
@@ -46,7 +46,7 @@ static unsigned int openssl_external_init = 0;
|
||||||
|
static unsigned int openssl_init_count = 0;
|
||||||
|
static sqlite3_mutex* openssl_rand_mutex = NULL;
|
||||||
|
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
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.0
|
version=3.4.1
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-tempstore=yes"
|
configure_args="--enable-tempstore=yes"
|
||||||
hostmakedepends="tcl"
|
hostmakedepends="tcl"
|
||||||
@ -11,7 +11,7 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
homepage="https://www.zetetic.net/sqlcipher/"
|
homepage="https://www.zetetic.net/sqlcipher/"
|
||||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=99b702ecf796de02bf7b7b35de4ceef145f0d62b4467a86707c2d59beea243d0
|
checksum=4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4
|
||||||
CFLAGS="-DSQLITE_HAS_CODEC"
|
CFLAGS="-DSQLITE_HAS_CODEC"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user