[MacPorts] #62853: dash @0.5.11.3: error: variable has incomplete type 'struct stat64'
MacPorts
noreply at macports.org
Mon May 17 06:04:25 UTC 2021
#62853: dash @0.5.11.3: error: variable has incomplete type 'struct stat64'
-------------------------+---------------------------------------
Reporter: ryandesign | Owner: Mathias.Laurin+macports@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur arm64
Port: dash |
-------------------------+---------------------------------------
Comment (by saagarjha):
I reported the issue upstream yesterday, but their mailing list archives
seem slow to update to unfortunately I don't have a link to it yet. I'm
probably going to suggest this patch to them (if anyone has an actual
Apple silicon Mac to test this on, that would be much appreciated):
{{{
$ git diff
diff --git a/configure.ac b/configure.ac
index 44f2f95..fbe7284 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,7 +140,7 @@ if test "$ac_cv_func_signal" != yes; then
fi
dnl Check for stat64 (dietlibc/klibc).
-AC_CHECK_FUNC(stat64,, [
+AC_CHECK_DECL(stat64,, [
AC_DEFINE(fstat64, fstat, [64-bit operations are the same as
32-bit])
AC_DEFINE(lstat64, lstat, [64-bit operations are the same as
32-bit])
AC_DEFINE(stat64, stat, [64-bit operations are the same as
32-bit])
}}}
I'm not sure what upstream's release schedule is; perhaps we should carry
this until they cut a new version.
--
Ticket URL: <https://trac.macports.org/ticket/62853#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list