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 2D96C15808C for ; Thu, 10 Feb 2022 12:05:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7432BE0B09; Thu, 10 Feb 2022 12:05:58 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E47BE0B09 for ; Thu, 10 Feb 2022 12:05:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4AFAF34315D for ; Thu, 10 Feb 2022 12:05:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 025F62B3 for ; Thu, 10 Feb 2022 12:05:56 +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: <1644494745.c20b92558b8c696c07ad55aa46f21bb2d931703b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgcrypt/files/, dev-libs/libgcrypt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgcrypt/files/libgcrypt-1.10.0-musl-jitterentropy-includes.patch dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild X-VCS-Directories: dev-libs/libgcrypt/files/ dev-libs/libgcrypt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c20b92558b8c696c07ad55aa46f21bb2d931703b X-VCS-Branch: master Date: Thu, 10 Feb 2022 12:05:56 +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: a1f576d4-401b-4f4b-bb8a-9c1fb21f0698 X-Archives-Hash: ca4c3a3019909564518e9e34f221d66b commit: c20b92558b8c696c07ad55aa46f21bb2d931703b Author: Sam James gentoo org> AuthorDate: Thu Feb 10 11:57:23 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 10 12:05:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20b9255 dev-libs/libgcrypt: add musl build patch for 1.10.0 Signed-off-by: Sam James gentoo.org> ...gcrypt-1.10.0-musl-jitterentropy-includes.patch | 26 ++++++++++++++++++++++ dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild | 2 ++ 2 files changed, 28 insertions(+) diff --git a/dev-libs/libgcrypt/files/libgcrypt-1.10.0-musl-jitterentropy-includes.patch b/dev-libs/libgcrypt/files/libgcrypt-1.10.0-musl-jitterentropy-includes.patch new file mode 100644 index 000000000000..205944dd7a1b --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-1.10.0-musl-jitterentropy-includes.patch @@ -0,0 +1,26 @@ +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=ffaef0be613121d3ee37867d82932a7a30c2bc6d + +From: Heiko Becker +Date: Thu, 3 Feb 2022 22:46:41 +0000 +Subject: [PATCH] jitterentropy: Include and + +* random/jitterentropy-base-user.h: Include for O_RDONLY +* random/jitterentropy-base-user.h: Include for LONG_MAX + +-- + +Fixes the build with musl libc. + +Signed-off-by: Heiko Becker +--- a/random/jitterentropy-base-user.h ++++ b/random/jitterentropy-base-user.h +@@ -39,6 +39,9 @@ + * DAMAGE. + */ + ++#include ++#include ++ + #ifndef GCRYPT_JITTERENTROPY_BASE_USER_H + #define GCRYPT_JITTERENTROPY_BASE_USER_H + diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild index 513ccf607690..de6cdbebc481 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.10.0.ebuild @@ -38,6 +38,8 @@ BDEPEND="doc? ( virtual/texi2dvi ) PATCHES=( "${FILESDIR}"/${PN}-multilib-syspath.patch "${FILESDIR}"/${PN}-powerpc-darwin.patch + + "${FILESDIR}"/${P}-musl-jitterentropy-includes.patch ) MULTILIB_CHOST_TOOLS=(