[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-multimedia
Subject:    maintainer-feedback requested: [Bug 255035] multimedia/ffmpeg: fix build with lensfun option enabled
From:       bugzilla-noreply () freebsd ! org
Date:       2021-04-13 14:23:59
Message-ID: bug-255035-12827-sL7HhtoAR9 () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@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.
_______________________________________________
freebsd-multimedia@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic