Created attachment 170123 [details] Patch to fix build of multimedia/vdr-plugin-markad using ffmpeg 3.0.x multimedia/vdr-plugin-markad: - Update patch of command/decoder.cpp to allow vdr-plugin-markad 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. The additional changes to this file were based on upstream bug report #1898 [1], and also the requirement to replace s/avcodec_alloc_frame/av_frame_alloc/g. - Update all patches in files/ directory to the standard format (pet portlint), and remove PATCH_STRIP=-p1 from Makefile [1] https://projects.vdr-developer.org/issues/1898
Created attachment 170124 [details] QA: Successful poudriere testport logs for multimedia/vdr-plugin-markad with patch against FFmpeg 3.0.1 (from PR 207547) on FreeBSD 11-current amd64
Created attachment 170125 [details] QA: Successful poudriere testport logs for multimedia/vdr-plugin-markad with patch against current ports tree (FFmpeg 2.8.7,1) on FreeBSD 11-current amd64
This diff has been added to phabricator for review: https://reviews.freebsd.org/D6283
A commit references this bug: Author: woodsb02 Date: Tue May 10 15:35:21 UTC 2016 New revision: 414944 URL: https://svnweb.freebsd.org/changeset/ports/414944 Log: multimedia/vdr-plugin-markad: Fix build with ffmpeg 3.0.x - Update patch of command/decoder.cpp to allow vdr-plugin-markad 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. The additional changes to this file were based on upstream bug report #1898 [1], and also the requirement to replace s/avcodec_alloc_frame/av_frame_alloc/g. - Regenerate patches with makepatch (pet portlint), and remove PATCH_STRIP=-p1 from Makefile. [1] https://projects.vdr-developer.org/issues/1898 PR: 209386 Reported by: antoine (PR207547) Reviewed by: mat (mentor) Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D6283 Changes: head/multimedia/vdr-plugin-markad/Makefile head/multimedia/vdr-plugin-markad/files/patch-Makefile head/multimedia/vdr-plugin-markad/files/patch-command-Makefile head/multimedia/vdr-plugin-markad/files/patch-command-decoder.cpp head/multimedia/vdr-plugin-markad/files/patch-command-decoder.cpp-ffmpeg1 head/multimedia/vdr-plugin-markad/files/patch-command-markad-standalone.cpp head/multimedia/vdr-plugin-markad/files/patch-command_Makefile head/multimedia/vdr-plugin-markad/files/patch-command_decoder.cpp head/multimedia/vdr-plugin-markad/files/patch-command_decoder.h head/multimedia/vdr-plugin-markad/files/patch-command_markad-standalone.cpp head/multimedia/vdr-plugin-markad/files/patch-plugin-Makefile head/multimedia/vdr-plugin-markad/files/patch-plugin-markad.cpp head/multimedia/vdr-plugin-markad/files/patch-plugin-status.cpp head/multimedia/vdr-plugin-markad/files/patch-plugin_Makefile head/multimedia/vdr-plugin-markad/files/patch-plugin_markad.cpp head/multimedia/vdr-plugin-markad/files/patch-plugin_status.cpp head/multimedia/vdr-plugin-markad/files/patch-vdr-markad-0.1.4-libav9