commit:     639abba4cde67f7478c8e924dc91fff2de9415e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 23:14:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 23:27:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639abba4

dev-db/sqlitestudio: drop obsolete LibreSSL patch

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/sqlitestudio-3.2.1-libressl.patch        | 32 ----------------------
 1 file changed, 32 deletions(-)

diff --git a/dev-db/sqlitestudio/files/sqlitestudio-3.2.1-libressl.patch 
b/dev-db/sqlitestudio/files/sqlitestudio-3.2.1-libressl.patch
deleted file mode 100644
index 06552942e94..00000000000
--- a/dev-db/sqlitestudio/files/sqlitestudio-3.2.1-libressl.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 64542c8c5cb3ad9249fa353ff4472c405057d743 Mon Sep 17 00:00:00 2001
-From: Stefan Strogin <[email protected]>
-Date: Mon, 25 Mar 2019 18:07:13 +0200
-Subject: [PATCH] #3505 Fix compilation with LibreSSL >=2.7.0
-
-HMAC_CTX_{new,free} were provided by LibreSSL 2.7.0.
-Do not redefine them, otherwise it breaks compilation.
-
-Upstream-Status: Accepted
-[https://github.com/pawelsalawa/sqlitestudio/pull/3507]
-Signed-off-by: Stefan Strogin <[email protected]>
----
- Plugins/DbSqliteCipher/sqlcipher.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/Plugins/DbSqliteCipher/sqlcipher.c 
b/Plugins/DbSqliteCipher/sqlcipher.c
-index 4918cb6f..10c4e5a3 100644
---- a/Plugins/DbSqliteCipher/sqlcipher.c
-+++ b/Plugins/DbSqliteCipher/sqlcipher.c
-@@ -21638,7 +21638,8 @@ static unsigned int openssl_external_init = 0;
- static unsigned int openssl_init_count = 0;
- static sqlcipher_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));
--- 
-2.21.0
-

Reply via email to