From: "Alon Bar-Lev" <alonbl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gnutls/files/, net-libs/gnutls/
Date: Mon, 14 Jan 2019 19:17:50 +0000 (UTC) [thread overview]
Message-ID: <1547493458.9a28e54de3798ec4ce92508cc2c4c67b985f817f.alonbl@gentoo> (raw)
commit: 9a28e54de3798ec4ce92508cc2c4c67b985f817f
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 14 19:17:22 2019 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Jan 14 19:17:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a28e54d
net-libs/gnutls: fix build failure
Closes: https://bugs.gentoo.org/show_bug.cgi?id=675424
Thanks: Toralf Förster
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
net-libs/gnutls/files/gnutls-3.6.5-build.patch | 31 ++++++++++++++++++++++++++
net-libs/gnutls/gnutls-3.6.5.ebuild | 4 ++++
2 files changed, 35 insertions(+)
diff --git a/net-libs/gnutls/files/gnutls-3.6.5-build.patch b/net-libs/gnutls/files/gnutls-3.6.5-build.patch
new file mode 100644
index 00000000000..00c11da4ae7
--- /dev/null
+++ b/net-libs/gnutls/files/gnutls-3.6.5-build.patch
@@ -0,0 +1,31 @@
+From b7fdb4125e4eebc5af2155b6d36cf17339a3abf5 Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Tue, 25 Dec 2018 14:44:11 +0300
+Subject: [PATCH] tests: cipher-openssl-compat: don't call
+ EVP_CIPHER_CTX_init()
+
+There is no need to call EVP_CIPHER_CTX_init() after
+EVP_CIPHER_CTX_new().
+
+Fixes #658
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ tests/slow/cipher-openssl-compat.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/tests/slow/cipher-openssl-compat.c b/tests/slow/cipher-openssl-compat.c
+index a4cb3522d..64adf25a4 100644
+--- a/tests/slow/cipher-openssl-compat.c
++++ b/tests/slow/cipher-openssl-compat.c
+@@ -106,7 +106,6 @@ static int cipher_test(const char *ocipher, gnutls_cipher_algorithm_t gcipher,
+ #if OPENSSL_VERSION_NUMBER >= 0x10100000L
+ if (gcipher == GNUTLS_CIPHER_AES_128_CCM
+ || gcipher == GNUTLS_CIPHER_AES_256_CCM) {
+- assert(EVP_CIPHER_CTX_init(ctx)==1);
+ assert(EVP_CipherInit_ex(ctx, evp_cipher, 0, 0, 0, 0) >
+ 0);
+
+--
+2.19.2
+
diff --git a/net-libs/gnutls/gnutls-3.6.5.ebuild b/net-libs/gnutls/gnutls-3.6.5.ebuild
index 0e4f46b96b2..883584c16a7 100644
--- a/net-libs/gnutls/gnutls-3.6.5.ebuild
+++ b/net-libs/gnutls/gnutls-3.6.5.ebuild
@@ -53,6 +53,10 @@ DOCS=(
HTML_DOCS=()
+PATCHES=(
+ "${FILESDIR}/${P}-build.patch"
+)
+
pkg_setup() {
# bug#520818
export TZ=UTC
next reply other threads:[~2019-01-14 19:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 19:17 Alon Bar-Lev [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 7:02 [gentoo-commits] repo/gentoo:master commit in: net-libs/gnutls/files/, net-libs/gnutls/ Sam James
2024-08-21 5:30 Sam James
2023-08-08 4:38 Sam James
2020-06-01 19:17 Thomas Deutschmann
2019-04-17 11:48 Alon Bar-Lev
2019-01-15 18:46 Alon Bar-Lev
2017-04-07 11:33 Alon Bar-Lev
2017-01-30 6:48 Alon Bar-Lev
2016-12-08 15:59 Alon Bar-Lev
2016-09-23 6:53 Alon Bar-Lev
2016-06-14 15:46 Alon Bar-Lev
2016-05-09 18:29 Alon Bar-Lev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1547493458.9a28e54de3798ec4ce92508cc2c4c67b985f817f.alonbl@gentoo \
--to=alonbl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox