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 [1], 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. [1] http://sources.debian.net/patches/libquicktime/2:1.2.4-8/
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: Author: jbeich Date: Sat May 7 17:22:22 UTC 2016 New revision: 414778 URL: https://svnweb.freebsd.org/changeset/ports/414778 Log: 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, ^~~~~~~~~~~~~ [...] PR: 209348 Reported by: antoine (via exp-run) Submitted by: Ben Woods <woodsb02@gmail.com> Obtained from: Debian Changes: head/multimedia/libquicktime/Makefile head/multimedia/libquicktime/files/patch-ffmpeg2 head/multimedia/libquicktime/files/patch-ffmpeg29 head/multimedia/libquicktime/files/patch-libav10
Thanks. Committed.