maintainer-feedback requested: [Bug 255035] multimedia/ffmpeg: fix build with lensfun option enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 13 14:24:01 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia at FreeBSD.org> for maintainer-feedback:
Bug 255035: multimedia/ffmpeg: fix build with lensfun option enabled
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255035



--- Description ---
ffmpeg 4.4 switched to trunk lensfun API that is incompartible with lensfun
version from our ports. So build of ffmpeg with lensfun option enabled fails
with the following message:
libavfilter/vf_lensfun.c:231:119: error: too few arguments to function call,
expected 5, have 3
		lf_modifier_enable_vignetting_correction(lensfun->modifier,
lensfun->aperture, lensfun->focus_distance);
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~		       
				      ^
/usr/local/include/lensfun/lensfun.h:3097:15: note:
'lf_modifier_enable_vignetting_correction' declared here
LF_EXPORT int lf_modifier_enable_vignetting_correction (
	      ^
libavfilter/vf_lensfun.c:233:75: error: too few arguments to function call,
expected 3, have 1

and others.

The attached patch rollbacks some upstream changes to make ffmpeg buildable
again.
This patch is intended to be removed after lensfun upgrade.


More information about the freebsd-multimedia mailing list