summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-09-27 21:29:24 +0200
committerFabian Groffen <grobian@gentoo.org>2020-09-27 21:29:58 +0200
commit6b440355dfd42de32dd00d6f1e02c456876dd7e9 (patch)
tree64b29187510e228d46251577c00e94b1148d6dd9 /app-shells/dash
parentmedia-libs/libavif: Keyword 0.8.1 arm64, #744637 (diff)
downloadgentoo-6b440355dfd42de32dd00d6f1e02c456876dd7e9.tar.gz
gentoo-6b440355dfd42de32dd00d6f1e02c456876dd7e9.tar.bz2
gentoo-6b440355dfd42de32dd00d6f1e02c456876dd7e9.zip
app-shells/dash-0.5.11.2: fix compilation on Solaris
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-shells/dash')
-rw-r--r--app-shells/dash/dash-0.5.11.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-shells/dash/dash-0.5.11.2.ebuild b/app-shells/dash/dash-0.5.11.2.ebuild
index 9482c8379d58..1d6d3b324589 100644
--- a/app-shells/dash/dash-0.5.11.2.ebuild
+++ b/app-shells/dash/dash-0.5.11.2.ebuild
@@ -32,9 +32,10 @@ src_prepare() {
}
src_configure() {
- # don't redefine stat on Solaris
if [[ ${CHOST} == *-solaris* ]] ; then
+ # don't redefine stat, open, dirent, etc. on Solaris
export ac_cv_func_stat64=yes
+ export ac_cv_func_open64=yes
# if your headers strictly adhere to POSIX, you'll need this too
[[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255