commit:     6b440355dfd42de32dd00d6f1e02c456876dd7e9
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 19:29:24 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 19:29:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b440355

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 <AT> gentoo.org>

 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 9482c8379d5..1d6d3b32458 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

Reply via email to