Bug 209348 - multimedia/libquicktime: Fix build with ffmpeg 3.0.x
Summary: multimedia/libquicktime: Fix build with ffmpeg 3.0.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL: http://sources.debian.net/patches/lib...
Keywords: patch, patch-ready
Depends on:
Blocks: 207547
  Show dependency treegraph
 
Reported: 2016-05-06 23:05 UTC by Ben Woods
Modified: 2016-05-07 17:23 UTC (History)
1 user (show)

See Also:


Attachments
Patch to fix build of multimedia/libquicktime using ffmpeg 3.0.x (44.96 KB, patch)
2016-05-06 23:05 UTC, Ben Woods
woodsb02: maintainer-approval+
Details | Diff
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 (242.88 KB, text/plain)
2016-05-06 23:07 UTC, Ben Woods
no flags Details
QA: Successful poudriere testport logs for multimedia/libquicktime with patch against FFmpeg 3.0.1 (from PR 207547) on FreeBSD 11-current amd64 (245.76 KB, text/plain)
2016-05-06 23:08 UTC, Ben Woods
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woods freebsd_committer 2016-05-06 23:05:59 UTC
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/
Comment 1 Ben Woods freebsd_committer 2016-05-06 23:07:15 UTC
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
Comment 2 Ben Woods freebsd_committer 2016-05-06 23:08:31 UTC
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
Comment 3 commit-hook freebsd_committer 2016-05-07 17:23:19 UTC
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
Comment 4 Jan Beich freebsd_committer 2016-05-07 17:23:56 UTC
Thanks. Committed.