Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/dash/
Date: Sun, 27 Sep 2020 19:30:13
Message-Id: 1601234998.6b440355dfd42de32dd00d6f1e02c456876dd7e9.grobian@gentoo
1 commit: 6b440355dfd42de32dd00d6f1e02c456876dd7e9
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 19:29:24 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 19:29:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b440355
7
8 app-shells/dash-0.5.11.2: fix compilation on Solaris
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
12
13 app-shells/dash/dash-0.5.11.2.ebuild | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/app-shells/dash/dash-0.5.11.2.ebuild b/app-shells/dash/dash-0.5.11.2.ebuild
17 index 9482c8379d5..1d6d3b32458 100644
18 --- a/app-shells/dash/dash-0.5.11.2.ebuild
19 +++ b/app-shells/dash/dash-0.5.11.2.ebuild
20 @@ -32,9 +32,10 @@ src_prepare() {
21 }
22
23 src_configure() {
24 - # don't redefine stat on Solaris
25 if [[ ${CHOST} == *-solaris* ]] ; then
26 + # don't redefine stat, open, dirent, etc. on Solaris
27 export ac_cv_func_stat64=yes
28 + export ac_cv_func_open64=yes
29
30 # if your headers strictly adhere to POSIX, you'll need this too
31 [[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255