[MacPorts] #63370: libogg @1.3.5: missing include for fixed-width types in ogg/os_types.h (was: ffmpeg @4.4_2+gpl2: ERROR: libtheora not found)
MacPorts
noreply at macports.org
Wed Aug 18 03:33:42 UTC 2021
#63370: libogg @1.3.5: missing include for fixed-width types in ogg/os_types.h
----------------------+----------------------
Reporter: mrkapqa | Owner: judaew
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libogg |
----------------------+----------------------
Changes (by jmroot):
* owner: dbevans => judaew
* port: ffmpeg => libogg
Comment:
The patch that is being applied in the libogg port is no longer correct
because upstream changed from `uint*_t` to `u_int*_t`. (This is why it's
important to pay attention to patches that only apply with a fuzz factor.)
The situation is this: `int*_t` are defined by `stdint.h` as per C99 and
POSIX.1-2017. `u_int*_t` (note the extra underscore) are nonstandard and
are defined by `sys/types.h`. But `sys/types.h` also ensures that `int*_t`
are defined.
So long story short, upstream's fix is correct, and the patch should be
removed from the port.
--
Ticket URL: <https://trac.macports.org/ticket/63370#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list