summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch
diff options
context:
space:
mode:
authorZang Ruochen <xmdy61@gmail.com>2023-05-08 10:12:56 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-10 17:18:57 +0100
commit4b77dd0063aa6b794529b650f3f6e3fb9c4d1c3b (patch)
treee7d046f9ef0a421d5126e508c1c6ccd349102b46 /meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch
parent6588655baafff4019d9399fb391a6c6c73b89b6f (diff)
downloadpoky-4b77dd0063aa6b794529b650f3f6e3fb9c4d1c3b.tar.gz
elfutils: upgrade 0.188 -> 0.189
Refresh the following patch. 0015-config-eu.am-do-not-use-Werror.patch Remove the following patches as they have been fixed in the new version. 0001-PR29926-debuginfod-Fix-usage-of-deprecated-CURLINFO_.patch 0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch changelog: Version 0.189 "Don't deflate!" configure: eu-nm, eu-addr2line and eu-stack can provide demangled symbols when linked with libstdc++. Use --disable-demangler to disable. A new option --enable-sanitize-memory has been added for msan sanitizer support. libelf: elf_compress now supports ELFCOMPRESS_ZSTD when build against libzstd libdwfl: dwfl_module_return_value_location now returns 0 (no return type) for DIEs that point to a DW_TAG_unspecified_type. elfcompress: -t, --type= now support zstd if libelf has been build with ELFCOMPRESS_ZSTD support. backends: Add support for LoongArch and Synopsys ARCv2 processors. (From OE-Core rev: 918cff06ac52f265428e97307fff9d2b381b1302) Signed-off-by: Zang Ruochen <zangruochen@loongson.cn> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch b/meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch
deleted file mode 100644
index 2d4c912e82..0000000000
--- a/meta/recipes-devtools/elfutils/files/0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 6560fb26a62ef135a804357ef4f15a47de3e49b3 Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Tue, 10 Jan 2023 23:20:41 +0100
4Subject: [PATCH] debuginfod-client: Use CURLOPT_PROTOCOLS_STR for libcurl >= 7.85.0
5
6https://sourceware.org/bugzilla/show_bug.cgi?id=29926
7
8Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h=6560fb26a62ef135a804357ef4f15a47de3e49b3]
9Signed-off-by: Mark Wielaard <mark@klomp.org>
10---
11 debuginfod/debuginfod-client.c | 5 +++++
12 2 files changed, 10 insertions(+)
13
14diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
15index a16165bd..1ce45632 100644
16--- a/debuginfod/debuginfod-client.c
17+++ b/debuginfod/debuginfod-client.c
18@@ -1336,8 +1336,13 @@ debuginfod_query_server (debuginfod_client *c,
19
20 /* Only allow http:// + https:// + file:// so we aren't being
21 redirected to some unsupported protocol. */
22+#if CURL_AT_LEAST_VERSION(7, 85, 0)
23+ curl_easy_setopt_ck(data[i].handle, CURLOPT_PROTOCOLS_STR,
24+ "http,https,file");
25+#else
26 curl_easy_setopt_ck(data[i].handle, CURLOPT_PROTOCOLS,
27 (CURLPROTO_HTTP | CURLPROTO_HTTPS | CURLPROTO_FILE));
28+#endif
29 curl_easy_setopt_ck(data[i].handle, CURLOPT_URL, data[i].url);
30 if (vfd >= 0)
31 curl_easy_setopt_ck(data[i].handle, CURLOPT_ERRORBUFFER,
32--
332.39.1
34