[MacPorts] #55894: gegl: fails to build against ffmpeg-devel
MacPorts
noreply at macports.org
Fri Mar 23 17:56:35 UTC 2018
#55894: gegl: fails to build against ffmpeg-devel
---------------------+---------------------
Reporter: Ionic | Owner: dbevans
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.99
Resolution: | Keywords:
Port: gegl |
---------------------+---------------------
Comment (by dbevans):
Yes, ffmpeg-devel breaks both API and ABI with the current ffmpeg, both
signs that a new major release with API changes will be coming before
long.
In the case of GEGL, the constants CODEC_CAP_TRUNCATED and
CODEC_FLAG_TRUNCATED where renamed to AV_CODEC_CAP_TRUNCATED and
AV_CODEC_FLAG_TRUNCATED several years ago.
The current ffmpeg version includes aliases of the form
{{{
#define CODEC_CAP_TRUNCATED AV_CODEC_CAP_TRUNCATED
#define CODEC_FLAG_TRUNCATED AV_CODEC_FLAG_TRUNCATED
}}}
In the latest ffrmpeg-devel these aliases have finally been dropped. The
fix is relatively simple and I'm testing it now. Both ffmpeg and ffmpeg-
devel recognize the newer API.
There's likely to be similar problems with other ffmpeg dependents when
building with ffmpeg-devel.
--
Ticket URL: <https://trac.macports.org/ticket/55894#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list