[MacPorts] #61147: xournal @0.4.8.2016_1: error: implicit declaration of function 'read', 'write', 'close' (was: xournal @0.4.8.2016_1: build failure with recent clang on Catalina)
MacPorts
noreply at macports.org
Wed Sep 9 14:09:10 UTC 2020
#61147: xournal @0.4.8.2016_1: error: implicit declaration of function 'read',
'write', 'close'
----------------------+-------------------------------
Reporter: mzucker | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords: catalina haspatch
Port: xournal |
----------------------+-------------------------------
Changes (by ryandesign):
* status: assigned => accepted
Comment:
Thanks for letting me know about the problem.
Instead of disabling the compiler check, I will fix the problem by
including the correct headers, and I'll report the problem and the patch
to the developers.
I'm not sure why you added `-std=gnu89`; we've been compiling the port
with clang since Lion (2011) which defaults to C99 which has been fine for
this port, as far as I know.
--
Ticket URL: <https://trac.macports.org/ticket/61147#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list