Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlitestudio/files/
Date: Fri, 30 Apr 2021 23:27:52
Message-Id: 1619825243.639abba4cde67f7478c8e924dc91fff2de9415e6.sam@gentoo
1 commit: 639abba4cde67f7478c8e924dc91fff2de9415e6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 30 23:14:57 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 23:27:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639abba4
7
8 dev-db/sqlitestudio: drop obsolete LibreSSL patch
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .../files/sqlitestudio-3.2.1-libressl.patch | 32 ----------------------
13 1 file changed, 32 deletions(-)
14
15 diff --git a/dev-db/sqlitestudio/files/sqlitestudio-3.2.1-libressl.patch b/dev-db/sqlitestudio/files/sqlitestudio-3.2.1-libressl.patch
16 deleted file mode 100644
17 index 06552942e94..00000000000
18 --- a/dev-db/sqlitestudio/files/sqlitestudio-3.2.1-libressl.patch
19 +++ /dev/null
20 @@ -1,32 +0,0 @@
21 -From 64542c8c5cb3ad9249fa353ff4472c405057d743 Mon Sep 17 00:00:00 2001
22 -From: Stefan Strogin <stefan.strogin@×××××.com>
23 -Date: Mon, 25 Mar 2019 18:07:13 +0200
24 -Subject: [PATCH] #3505 Fix compilation with LibreSSL >=2.7.0
25 -
26 -HMAC_CTX_{new,free} were provided by LibreSSL 2.7.0.
27 -Do not redefine them, otherwise it breaks compilation.
28 -
29 -Upstream-Status: Accepted
30 -[https://github.com/pawelsalawa/sqlitestudio/pull/3507]
31 -Signed-off-by: Stefan Strogin <stefan.strogin@×××××.com>
32 ----
33 - Plugins/DbSqliteCipher/sqlcipher.c | 3 ++-
34 - 1 file changed, 2 insertions(+), 1 deletion(-)
35 -
36 -diff --git a/Plugins/DbSqliteCipher/sqlcipher.c b/Plugins/DbSqliteCipher/sqlcipher.c
37 -index 4918cb6f..10c4e5a3 100644
38 ---- a/Plugins/DbSqliteCipher/sqlcipher.c
39 -+++ b/Plugins/DbSqliteCipher/sqlcipher.c
40 -@@ -21638,7 +21638,8 @@ static unsigned int openssl_external_init = 0;
41 - static unsigned int openssl_init_count = 0;
42 - static sqlcipher_sqlite3_mutex* openssl_rand_mutex = NULL;
43 -
44 --#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
45 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
46 -+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
47 - static HMAC_CTX *HMAC_CTX_new(void)
48 - {
49 - HMAC_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));
50 ---
51 -2.21.0
52 -