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 D37431396D9 for ; Wed, 15 Nov 2017 15:01:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA330E0C48; Wed, 15 Nov 2017 15:01:53 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C96A4E0C48 for ; Wed, 15 Nov 2017 15:01:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 736B9340DF9 for ; Wed, 15 Nov 2017 15:01:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A6F89BA0 for ; Wed, 15 Nov 2017 15:01:51 +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: <1510758107.e0cb5603dcd642128351cf1f2a63a6f65064a4da.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/p11-kit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/p11-kit/p11-kit-0.23.9.ebuild X-VCS-Directories: app-crypt/p11-kit/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: e0cb5603dcd642128351cf1f2a63a6f65064a4da X-VCS-Branch: master Date: Wed, 15 Nov 2017 15:01:51 +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: 42ccc9f7-d649-46e7-b1b6-f6a7da0f0ea2 X-Archives-Hash: fa5b06be8f3234a67d6adec1053d8983 commit: e0cb5603dcd642128351cf1f2a63a6f65064a4da Author: Fabian Groffen gentoo org> AuthorDate: Wed Nov 15 14:58:27 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Nov 15 15:01:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0cb5603 app-crypt/p11-kit: marked *-solaris, bug #383453 Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-crypt/p11-kit/p11-kit-0.23.9.ebuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app-crypt/p11-kit/p11-kit-0.23.9.ebuild b/app-crypt/p11-kit/p11-kit-0.23.9.ebuild index 2844a988909..4bcaa5230ad 100644 --- a/app-crypt/p11-kit/p11-kit-0.23.9.ebuild +++ b/app-crypt/p11-kit/p11-kit-0.23.9.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/p11-glue/${PN}/releases/download/${PV}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+asn1 debug +libffi +trust" REQUIRED_USE="trust? ( asn1 )" @@ -26,6 +26,20 @@ pkg_setup() { export FAKED_MODE=1 } +src_prepare() { + if [[ ${CHOST} == *-solaris2.* && ${CHOST##*-solaris2.} -lt 11 ]] ; then + # Solaris 10 and before doesn't know about XPG7 (XOPEN_SOURCE=700) + # drop to XPG6 to make feature_tests.h happy + sed -i -e '/define _XOPEN_SOURCE/s/700/600/' common/compat.c || die + # paths.h isn't available, oddly enough also not used albeit included + sed -i -e '/#include /d' trust/test-trust.c || die + # we don't have SUN_LEN here + sed -i -e 's/SUN_LEN \(([^)]\+)\)/strlen (\1->sun_path)/' \ + p11-kit/server.c || die + fi + default +} + multilib_src_configure() { ECONF_SOURCE="${S}" econf \ $(use_enable trust trust-module) \