[MacPorts] #61590: alpine @2.23: error: implicit declaration of function 'time' is invalid in C99
MacPorts
noreply at macports.org
Sat Mar 27 17:01:43 UTC 2021
#61590: alpine @2.23: error: implicit declaration of function 'time' is invalid in
C99
-----------------------+-----------------------------
Reporter: fcorrao1 | Owner: jcvernaleo
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: bigsur catalina
Port: alpine |
-----------------------+-----------------------------
Comment (by bifyu):
Eduardo Chappa, who is currently maintaining alpine has said:
> ...the solution is to edit the file `imap/src/osdep/unix/os_osx.h` and
add the line
>
> `#include <time.h>`
>
> which some people have successfully added after the line
>
> `#include <sys/file.h>`
>
> The reason why I have not committed this fix yet is because I do not
know if this fix is compatible with existing compilers supported by Apply
in older systems. In other words, I do not know if this fix must be
`"ifdef"`ined or if it can be added this way and older and newer systems
will work.
>
> I do not own an apple system, so I do not know.
If this can be confirmed for Eduardo, we could get this fix committed for
a future release.
--
Ticket URL: <https://trac.macports.org/ticket/61590#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list