From 6b440355dfd42de32dd00d6f1e02c456876dd7e9 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 27 Sep 2020 21:29:24 +0200 Subject: [PATCH] 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 --- app-shells/dash/dash-0.5.11.2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-shells/dash/dash-0.5.11.2.ebuild b/app-shells/dash/dash-0.5.11.2.ebuild index 9482c8379d58f..1d6d3b3245890 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