From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56E11158093 for ; Sat, 2 Jul 2022 12:41:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87DACE0ABF; Sat, 2 Jul 2022 12:41:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AD86E0ABF for ; Sat, 2 Jul 2022 12:41:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2803434111F for ; Sat, 2 Jul 2022 12:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8567950C for ; Sat, 2 Jul 2022 12:41:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1656765663.5faad6a505dc25262ff894805bfae514df4fba8f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/curl/, net-misc/curl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/curl/curl-7.84.0.ebuild net-misc/curl/files/curl-7.84.0-include-sched.patch X-VCS-Directories: net-misc/curl/files/ net-misc/curl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5faad6a505dc25262ff894805bfae514df4fba8f X-VCS-Branch: master Date: Sat, 2 Jul 2022 12:41:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7688ea8a-b71b-4698-8482-055ccfc5bb5e X-Archives-Hash: b00186fc6e583198a0464ad1784edf1d commit: 5faad6a505dc25262ff894805bfae514df4fba8f Author: Sam James gentoo org> AuthorDate: Sat Jul 2 12:41:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 2 12:41:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5faad6a5 net-misc/curl: backport include fix Closes: https://bugs.gentoo.org/855710 Signed-off-by: Sam James gentoo.org> net-misc/curl/curl-7.84.0.ebuild | 1 + .../curl/files/curl-7.84.0-include-sched.patch | 24 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/net-misc/curl/curl-7.84.0.ebuild b/net-misc/curl/curl-7.84.0.ebuild index 7ea18d7d53d0..7e08867a5200 100644 --- a/net-misc/curl/curl-7.84.0.ebuild +++ b/net-misc/curl/curl-7.84.0.ebuild @@ -96,6 +96,7 @@ MULTILIB_CHOST_TOOLS=( PATCHES=( "${FILESDIR}"/${PN}-7.30.0-prefix.patch "${FILESDIR}"/${PN}-respect-cflags-3.patch + "${FILESDIR}"/${PN}-7.84.0-include-sched.patch ) src_prepare() { diff --git a/net-misc/curl/files/curl-7.84.0-include-sched.patch b/net-misc/curl/files/curl-7.84.0-include-sched.patch new file mode 100644 index 000000000000..842310d2eaab --- /dev/null +++ b/net-misc/curl/files/curl-7.84.0-include-sched.patch @@ -0,0 +1,24 @@ +https://github.com/curl/curl/commit/e2e7f54b7bea521fa8373095d0f43261a720cda0 +https://bugs.gentoo.org/855710 + +From e2e7f54b7bea521fa8373095d0f43261a720cda0 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Mon, 27 Jun 2022 08:46:21 +0200 +Subject: [PATCH] easy_lock.h: include sched.h if available to fix build + +Patched-by: Harry Sintonen + +Closes #9054 +--- a/lib/easy_lock.h ++++ b/lib/easy_lock.h +@@ -36,6 +36,9 @@ + + #elif defined (HAVE_ATOMIC) + #include ++#if defined(HAVE_SCHED_YIELD) ++#include ++#endif + + #define curl_simple_lock atomic_bool + #define CURL_SIMPLE_LOCK_INIT false +