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 4454D138334 for ; Sun, 17 Jun 2018 14:24:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 607E9E08F7; Sun, 17 Jun 2018 14:24:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 3133BE08F7 for ; Sun, 17 Jun 2018 14:24:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 0D195335C8D for ; Sun, 17 Jun 2018 14:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A10028D for ; Sun, 17 Jun 2018 14:24:46 +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: <1529245479.e9b10da8ccfcff1583c63c83b3762d4fe51a2812.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/dash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/dash/dash-0.5.10.2.ebuild X-VCS-Directories: app-shells/dash/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: e9b10da8ccfcff1583c63c83b3762d4fe51a2812 X-VCS-Branch: master Date: Sun, 17 Jun 2018 14:24:46 +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: 78ad1e28-507e-40d6-9dba-fc3438ce7fff X-Archives-Hash: 1bdcafa37d015935ac9d16c8c8dd00fb commit: e9b10da8ccfcff1583c63c83b3762d4fe51a2812 Author: Fabian Groffen gentoo org> AuthorDate: Sun Jun 17 14:24:29 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Jun 17 14:24:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b10da8 app-shells/dash: fix compilation on Solaris <=10, bug #657990 Closes: https://bugs.gentoo.org/657990 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-shells/dash/dash-0.5.10.2.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-shells/dash/dash-0.5.10.2.ebuild b/app-shells/dash/dash-0.5.10.2.ebuild index d51383e2eb1..4935f47043a 100644 --- a/app-shells/dash/dash-0.5.10.2.ebuild +++ b/app-shells/dash/dash-0.5.10.2.ebuild @@ -55,6 +55,9 @@ src_configure() { # don't redefine stat on Solaris if [[ ${CHOST} == *-solaris* ]] ; then export ac_cv_func_stat64=yes + + # if your headers strictly adhere to POSIX, you'll need this too + [[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255 fi append-cppflags -DJOBS=$(usex libedit 1 0) use static && append-ldflags -static