From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/
Date: Wed, 11 Jan 2017 11:06:11 +0000 (UTC) [thread overview]
Message-ID: <1484132755.7eaff6c31b22e5345e03702148ef52866c8ba283.slyfox@gentoo> (raw)
commit: 7eaff6c31b22e5345e03702148ef52866c8ba283
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 11:05:41 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 11:05:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eaff6c3
dev-util/radare2: backport eroen's openssl-1.1.0c fix
Bug: https://bugs.gentoo.org/604576
Package-Manager: Portage-2.3.3_p18, Repoman-2.3.1_p11
.../files/radare2-1.1.0-openssl-1.1.0c.patch | 31 ++++++++++++++++++++++
dev-util/radare2/radare2-1.1.0.ebuild | 3 ++-
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/dev-util/radare2/files/radare2-1.1.0-openssl-1.1.0c.patch b/dev-util/radare2/files/radare2-1.1.0-openssl-1.1.0c.patch
new file mode 100644
index 00000000..28e2f55
--- /dev/null
+++ b/dev-util/radare2/files/radare2-1.1.0-openssl-1.1.0c.patch
@@ -0,0 +1,31 @@
+commit ecd8cf26c2647a1f455595209fcf2d6bfb72240f
+Author: eroen <eroen@users.noreply.github.com>
+Date: Tue Jan 3 23:45:07 2017 +0100
+
+ Disable deprecated initialization for openssl 1.1.0 (#6423)
+
+ Openssl 1.1.0 handles this initialization internally. Leaving the calls in
+ place causes "undefined reference" errors if openssl was built with
+ `--api=1.1.0`.
+
+ X-Gentoo-Bug: 604576
+ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604576
+
+diff --git a/libr/socket/socket.c b/libr/socket/socket.c
+index 1e30120fb..1ba87e77e 100755
+--- a/libr/socket/socket.c
++++ b/libr/socket/socket.c
+@@ -116,11 +116,13 @@ R_API RSocket *r_socket_new (int is_ssl) {
+ s->sfd = NULL;
+ s->ctx = NULL;
+ s->bio = NULL;
++#if OPENSSL_VERSION_NUMBER < 0x1010000fL
+ if (!SSL_library_init ()) {
+ r_socket_free (s);
+ return NULL;
+ }
+ SSL_load_error_strings ();
++#endif
+ }
+ #endif
+ return s;
diff --git a/dev-util/radare2/radare2-1.1.0.ebuild b/dev-util/radare2/radare2-1.1.0.ebuild
index ed05b06..a7480ac 100644
--- a/dev-util/radare2/radare2-1.1.0.ebuild
+++ b/dev-util/radare2/radare2-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -22,6 +22,7 @@ DEPEND="${RDEPEND}
"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.9.9-nogit.patch
+ epatch "${FILESDIR}"/${P}-openssl-1.1.0c.patch
}
src_configure() {
next reply other threads:[~2017-01-11 11:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 11:06 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-06-22 8:21 [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/, dev-util/radare2/files/ Sergei Trofimovich
2021-04-12 23:06 Sergei Trofimovich
2022-04-25 6:57 Joonas Niilola
2023-01-23 4:32 John Helmert III
2024-09-14 7:14 Joonas Niilola
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=1484132755.7eaff6c31b22e5345e03702148ef52866c8ba283.slyfox@gentoo \
--to=slyfox@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