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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E758F139694 for ; Thu, 2 Mar 2017 10:06:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D2B6E0CCC; Thu, 2 Mar 2017 10:06:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFD93E0CCC for ; Thu, 2 Mar 2017 10:06:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B317A3412B7 for ; Thu, 2 Mar 2017 10:06:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5799459AA for ; Thu, 2 Mar 2017 10:06:48 +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: <1488449200.83e4182537a4a1950cab2da490403c848ebd4edd.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg/, app-crypt/gnupg/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch app-crypt/gnupg/gnupg-2.1.19.ebuild X-VCS-Directories: app-crypt/gnupg/files/ app-crypt/gnupg/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 83e4182537a4a1950cab2da490403c848ebd4edd X-VCS-Branch: master Date: Thu, 2 Mar 2017 10:06:48 +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-Archives-Salt: 1c2c91db-1845-42ce-ad4c-8426b5d7efbd X-Archives-Hash: ab34d9696e921481b128b7657a3e0b74 commit: 83e4182537a4a1950cab2da490403c848ebd4edd Author: Fabian Groffen gentoo org> AuthorDate: Thu Mar 2 10:06:13 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Mar 2 10:06:40 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83e41825 app-crypt/gnupg: fix compilation on Solaris Package-Manager: Portage-2.3.4-prefix, Repoman-2.3.2 .../gnupg/files/gnupg-2.1.19-solaris-ucred.patch | 19 +++++++++++++++++++ app-crypt/gnupg/gnupg-2.1.19.ebuild | 1 + 2 files changed, 20 insertions(+) diff --git a/app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch b/app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch new file mode 100644 index 00000000000..aefce5e8256 --- /dev/null +++ b/app-crypt/gnupg/files/gnupg-2.1.19-solaris-ucred.patch @@ -0,0 +1,19 @@ +command-ssh: include ucred.h + +In order to use ucred() when HAVE_SO_PEERCRED is defined, ucred.h needs +to be included on Solaris. + +https://bugs.gnupg.org/gnupg/issue2981 + +--- a/agent/command-ssh.c ++++ b/agent/command-ssh.c +@@ -40,6 +40,9 @@ + #include + #include + #include ++#ifdef HAVE_UCRED_H ++#include ++#endif + + #include "agent.h" + diff --git a/app-crypt/gnupg/gnupg-2.1.19.ebuild b/app-crypt/gnupg/gnupg-2.1.19.ebuild index ad3a2fa22ba..9eb3471d66f 100644 --- a/app-crypt/gnupg/gnupg-2.1.19.ebuild +++ b/app-crypt/gnupg/gnupg-2.1.19.ebuild @@ -54,6 +54,7 @@ DOCS=( PATCHES=( "${FILESDIR}/${PN}-2.1.16-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch" + "${FILESDIR}"/${P}-solaris-ucred.patch ) src_configure() {