Created attachment 199620 [details] obs-studio-22.0.3_2.patch
Hi takefu, Could you please provide some background: what error message are you seeing, what led to this patch? Thanks, Yuri
This patch needs to go into the upstream pull request. The port should only have PATCHxx tokens added.
(In reply to Yuri Victorovich from comment #1) Hi yuri, some members of AACENC_InfoStruct structure has been changed[1] between fdk-aac 0.1.6 and 2.0.0. Consumers of fdk-aac should check the fdk-aac library version and take care of the difference of members. Otherwise, updating audio/fdk-aac to 2.0.0 will break this port. See also bug 233558. [1] https://github.com/mstorsjo/fdk-aac/commit/6cfabd35363c3ef5e3b209b867169a500b3ccc3c#diff-b3d270e95452f0923c4f7ecf49dc44e0R1102
(In reply to Koichiro Iwao from comment #3) Yes, so this belongs in obs-studio's upstream, not in the port.
A commit references this bug: Author: yuri Date: Sat Dec 1 08:31:09 UTC 2018 New revision: 486325 URL: https://svnweb.freebsd.org/changeset/ports/486325 Log: multimedia/obs-studio: Compatibility fix for new obs-libfdk API PR: 233590 Changes: head/multimedia/obs-studio/Makefile head/multimedia/obs-studio/distinfo
Committed PATCH_SITES/PATCHFILES pointing to the pull request.