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 C7044159C96 for ; Mon, 29 Jul 2024 19:48:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AB16E2ADB; Mon, 29 Jul 2024 19:48:00 +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 D965EE2ADA for ; Mon, 29 Jul 2024 19:47:59 +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 DCA98335DC0 for ; Mon, 29 Jul 2024 19:47:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A78A1E7E for ; Mon, 29 Jul 2024 19:47:57 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1722282475.c85d3cd324bd95113029b0a5c55b55a3f93bcaba.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/gnupg/gnupg-2.4.5-r2.ebuild X-VCS-Directories: app-crypt/gnupg/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: c85d3cd324bd95113029b0a5c55b55a3f93bcaba X-VCS-Branch: master Date: Mon, 29 Jul 2024 19:47:57 +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: db883c9d-98e8-443e-a6ad-54a687b5efcc X-Archives-Hash: 25a6938327768ecc4e44432847f61cc0 commit: c85d3cd324bd95113029b0a5c55b55a3f93bcaba Author: Fabian Groffen gentoo org> AuthorDate: Mon Jul 29 19:44:49 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Jul 29 19:47:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c85d3cd3 app-crypt/gnupg-2.4.5-r2: accept pointer type differences on Solaris gnupg uses a function pointer for passing functions like getpeername which internally on Solaris use slightly different (yet compatible) definitions than gnupg's code specifies. This results in an error with newer compilers, but since there's basically not much wrong with this, suppress the warning for now. Signed-off-by: Fabian Groffen gentoo.org> app-crypt/gnupg/gnupg-2.4.5-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild b/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild index 5b2191cfb0b7..5b6cf6eaca80 100644 --- a/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild +++ b/app-crypt/gnupg/gnupg-2.4.5-r2.ebuild @@ -95,6 +95,10 @@ src_prepare() { # which in turn requires discovery in Autoconf, something that upstream deeply resents. sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \ -i "${T}"/gpg-agent-ssh.socket || die + + # definition of getpeername etc uses different things like socket_fd_t + [[ ${CHOST} == *-solaris* ]] && + append-cflags $(test-flags-CC -Wno-incompatible-pointer-types) } my_src_configure() {