Created attachment 170071 [details]
Patch to fix build of multimedia/libquicktime using ffmpeg 3.0.x
multimedia/libquicktime: Fix build with ffmpeg 3.0.x
Add patches to allow libquicktime to build successfully once multimedia/ffmpeg is updated to 3.0.x. Note that multimedia/ffmpeg is currently still on the 2.8.x branch, however these patches are backwards compatible with ffmpeg 2.8.x.
Note: these patches were obtained from Debian , and since they overlapped with the existing patch-ffmpeg2 in the FreeBSD ports tree, the existing patch was removed in favour of Debian's more complete ffmpeg29 and libav10 patches.
Created attachment 170072 [details]
QA: Successful poudriere testport logs for multimedia/libquicktime with patch against current ports tree (FFmpeg 2.8.6_2,1) on FreeBSD 11-current amd64
Created attachment 170073 [details]
QA: Successful poudriere testport logs for multimedia/libquicktime with patch against FFmpeg 3.0.1 (from PR 207547) on FreeBSD 11-current amd64
A commit references this bug:
Date: Sat May 7 17:22:22 UTC 2016
New revision: 414778
multimedia/libquicktime: unbreak build with ffmpeg 3.0
lqt_ffmpeg.c:389:13: error: use of undeclared identifier 'CODEC_ID_MPEG1VIDEO'; did you mean 'AV_CODEC_ID_MPEG1VIDEO'?
.id = CODEC_ID_MPEG1VIDEO,
lqt_ffmpeg.c:547:13: error: use of undeclared identifier 'CODEC_ID_SVQ1'; did you mean 'AV_CODEC_ID_SVQ1'?
.id = CODEC_ID_SVQ1,
Reported by: antoine (via exp-run)
Submitted by: Ben Woods <email@example.com>
Obtained from: Debian