Created attachment 169338 [details]
QA: Successful poudriere testport logs for deskutils/libstreamanalyzer with patch against current ports tree (FFmpeg 2.8.6_2,1) on FreeBSD 11-current amd64
These patches were obtained from the PLD Linux repository: http://git.pld-linux.org/gitweb.cgi/packages/strigi.git/commitdiff/845404c35fb382923b3ff5addc8e1ed402c98251 Only the change to ffmpegendanalyzer.cpp actually looks related to ffmpeg 3.0. Can you check if the port also works if you remove the rest of the changes in the patch? Debian's patch seems to be less intrusive: http://anonscm.debian.org/viewvc/pkg-kde/kde-extras/strigi/trunk/debian/patches/ffmpeg_2.9.patch?view=markup&pathrev=20374 Created attachment 169353 [details]
Patch to fix build of deskutils/libstreamanalyzer using ffmpeg 3.0.x
Indeed, the less obtrusive patch from Debian Linux allows deskutils/libstreamanalyzer to successfully compile with ffmpeg 3.0.x. I have updated the attached patch to use Debian's patch.
Created attachment 169354 [details]
QA: Successful poudriere testport logs for deskutils/libstreamanalyzer with patch against current ports tree (FFmpeg 2.8.6_2,1) on FreeBSD 11-current amd64
Created attachment 169355 [details]
QA: Successful poudriere testport logs for deskutils/libstreamanalyzer with patch against FFmpeg 3.0.1 (from PR 207547) on FreeBSD 11-current amd64
Comment on attachment 169353 [details]
Patch to fix build of deskutils/libstreamanalyzer using ffmpeg 3.0.x
Thanks, I'll land this to the tree.
A commit references this bug: Author: rakuco Date: Sat Apr 16 16:45:28 UTC 2016 New revision: 413452 URL: https://svnweb.freebsd.org/changeset/ports/413452 Log: Add a patch from Debian to make the port build with FFMPEG 3.x. The patch is backwards compatible with FFMPEG 2, so add it now to prepare the ground for FFMPEG 3. PR: 208816 Submitted by: Ben Woods <woodsb02@gmail.com> Obtained from: Debian Changes: head/deskutils/libstreamanalyzer/files/patch-ffmpeg30 Committed, thanks for the patch! |
Created attachment 169337 [details] Patch to fix build of deskutils/libstreamanalyzer using ffmpeg 3.0.x deskutils/libstreamanalyzer: Fix build with ffmpeg 3.0.x Add patch to allow libstreamanalyzer 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 this patch is backwards compatible with ffmpeg 2.8.x.