From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/curl/, net-misc/curl/files/
Date: Sun, 13 Nov 2016 13:21:34 +0000 (UTC) [thread overview]
Message-ID: <1479043292.9b38608dcdd87371cf27c20be9db126f5ebea06c.blueness@gentoo> (raw)
commit: 9b38608dcdd87371cf27c20be9db126f5ebea06c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 13:16:28 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 13:21:32 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b38608d
net-misc/curl: fix build with <net-libs/mbedtls-2.4.0, bug #599092
Package-Manager: portage-2.3.0
net-misc/curl/curl-7.51.0.ebuild | 3 ++-
net-misc/curl/files/curl-fix-mbedtls.patch | 37 ++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/net-misc/curl/curl-7.51.0.ebuild b/net-misc/curl/curl-7.51.0.ebuild
index 311cf72..88cb7ea 100644
--- a/net-misc/curl/curl-7.51.0.ebuild
+++ b/net-misc/curl/curl-7.51.0.ebuild
@@ -114,7 +114,8 @@ src_prepare() {
epatch \
"${FILESDIR}"/${PN}-7.30.0-prefix.patch \
"${FILESDIR}"/${PN}-respect-cflags-3.patch \
- "${FILESDIR}"/${PN}-fix-gnutls-nettle.patch
+ "${FILESDIR}"/${PN}-fix-gnutls-nettle.patch \
+ "${FILESDIR}"/${PN}-fix-mbedtls.patch
sed -i '/LD_LIBRARY_PATH=/d' configure.ac || die #382241
diff --git a/net-misc/curl/files/curl-fix-mbedtls.patch b/net-misc/curl/files/curl-fix-mbedtls.patch
new file mode 100644
index 00000000..b82e4c6
--- /dev/null
+++ b/net-misc/curl/files/curl-fix-mbedtls.patch
@@ -0,0 +1,37 @@
+This addresses bug #599092
+
+https://bugs.gentoo.org/show_bug.cgi?id=599092
+
+commit 9ea3a6e150dfc822ba1565f649b634848597d2d9
+Author: Daniel Stenberg <daniel@haxx.se>
+Date: Fri Nov 4 11:13:16 2016 +0100
+
+ mbedtls: fix build with mbedtls versions < 2.4.0
+
+ Regression added in 62a8095e714
+
+ Reported-by: Tony Kelman
+
+ Discussed in #1087
+
+diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c
+index 24249dd..9f29ff0 100644
+--- a/lib/vtls/mbedtls.c
++++ b/lib/vtls/mbedtls.c
+@@ -31,11 +31,15 @@
+
+ #ifdef USE_MBEDTLS
+
++#include <mbedtls/version.h>
++#if MBEDTLS_VERSION_NUMBER >= 0x02040000
+ #include <mbedtls/net_sockets.h>
++#else
++#include <mbedtls/net.h>
++#endif
+ #include <mbedtls/ssl.h>
+ #include <mbedtls/certs.h>
+ #include <mbedtls/x509.h>
+-#include <mbedtls/version.h>
+
+ #include <mbedtls/error.h>
+ #include <mbedtls/entropy.h>
next reply other threads:[~2016-11-13 13:21 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-13 13:21 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-30 11:44 [gentoo-commits] repo/gentoo:master commit in: net-misc/curl/, net-misc/curl/files/ Matt Jolly
2025-05-30 11:44 Matt Jolly
2024-09-14 22:15 Matt Jolly
2024-08-05 7:23 Matt Jolly
2024-05-30 2:02 Matt Jolly
2024-05-22 7:03 Matt Jolly
2024-04-26 13:37 Sam James
2024-04-20 4:04 Matt Jolly
2024-04-01 3:59 Matt Jolly
2024-04-01 3:59 Matt Jolly
2024-03-28 2:09 Matt Jolly
2024-02-08 1:18 Sam James
2024-01-05 5:57 Sam James
2024-01-05 5:57 Sam James
2023-10-11 7:03 Sam James
2023-05-23 3:42 Sam James
2023-05-17 7:58 Sam James
2023-05-17 7:58 Sam James
2023-03-23 8:59 Sam James
2023-02-22 10:00 Sam James
2022-12-23 1:29 Sam James
2022-10-28 17:18 Sam James
2022-07-03 2:36 Andreas K. Hüttel
2022-07-02 12:41 Sam James
2022-05-05 13:46 Jakov Smolić
2022-04-20 20:14 Sam James
2021-09-18 3:01 Sam James
2020-06-10 20:13 Anthony G. Basile
2018-04-18 21:42 Aaron Bauman
2016-05-18 12:25 Anthony G. Basile
2016-03-24 12:24 Anthony G. Basile
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=1479043292.9b38608dcdd87371cf27c20be9db126f5ebea06c.blueness@gentoo \
--to=blueness@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