[MacPorts] #74300: libavif @1.4.2: expected parameter declarator
MacPorts
noreply at macports.org
Thu Aug 6 18:00:16 UTC 2026
#74300: libavif @1.4.2: expected parameter declarator
---------------------------+----------------------
Reporter: Dave-Allured | Owner: mascguy
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libavif |
---------------------------+----------------------
Comment (by Dave-Allured):
Replying to [comment:14 jmroot]:
> Looks like they're using CMAKE_C_STANDARD which sets the default
standard for all targets globally. But they're not setting
CMAKE_C_STANDARD_REQUIRED in the C11 case, which apparently makes it more
of a suggestion.
I do not know CMake very well. However, I think `CMAKE_C_STANDARD 11`
alone should have worked in this case, without `CMAKE_C_STANDARD_REQUIRED
ON`. So perhaps CMake itself is not handling early macOS versions
correctly. Also, MacPorts is currently using CMake version 3, but the
latest is version 4. I will take a closer look at CMake. Any other
thoughts?
--
Ticket URL: <https://trac.macports.org/ticket/74300#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list