[MacPorts] #64667: mpv @0.34.1 Build failed: -> task in 'objects' failed with exit status 1:
MacPorts
noreply at macports.org
Wed Jun 29 15:39:50 UTC 2022
#64667: mpv @0.34.1 Build failed: -> task in 'objects' failed with exit status 1:
-------------------------+-----------------------
Reporter: cave-canem | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: Mavericks
Port: mpv |
-------------------------+-----------------------
Comment (by jmroot):
So the relevant part of the log is actually this:
{{{
:info:build ../video/zimg.c:34:15: error: expected parameter declarator
:info:build static_assert(MP_IMAGE_BYTE_ALIGN >= ZIMG_ALIGN, "");
}}}
Older macOS versions don't have `static_assert` defined in `assert.h`. A
C11 compiler is being used, so it should be safe to do this somewhere:
{{{
#ifndef
#define static_assert _Static_assert
#endif
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64667#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list