image.c:28:24: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? i->frame->format = PIX_FMT_RGB24; // best choice? ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ image.c:243:32: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? encoder_context->pix_fmt = PIX_FMT_RGB24; ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ http://package23.nyi.freebsd.org/data/103i386-default-PR207547/2016-10-04_18h24m30s/logs/errors/nordlicht-0.4.4.log
Created attachment 176611 [details] nordlicht.diff This is the combination of these three commits: https://github.com/nordlicht/nordlicht/commit/5505a1898ab997a23b75553794eff6609447c43b.patch https://github.com/nordlicht/nordlicht/commit/6e534a0c273756b88eecea7f510b6aa8a62dd789 https://github.com/nordlicht/nordlicht/pull/63/commits/b8f439c2796d6b1de73511c0610aecb31c942790 which should allow nordlicht to build with either ffmpeg 2.x or 3.x
A commit references this bug: Author: jbeich Date: Fri Nov 4 12:03:33 UTC 2016 New revision: 425315 URL: https://svnweb.freebsd.org/changeset/ports/425315 Log: multimedia/nordlicht: unbreak build with ffmpeg 3.x image.c:28:24: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? i->frame->format = PIX_FMT_RGB24; // best choice? ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ image.c:243:32: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? encoder_context->pix_fmt = PIX_FMT_RGB24; ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ PR: 214196 Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer) Obtained from: upstream Changes: head/multimedia/nordlicht/Makefile head/multimedia/nordlicht/files/patch-image.c head/multimedia/nordlicht/files/patch-source.c
A commit references this bug: Author: jbeich Date: Fri Nov 4 12:06:16 UTC 2016 New revision: 425316 URL: https://svnweb.freebsd.org/changeset/ports/425316 Log: MFH: r425315 multimedia/nordlicht: unbreak build with ffmpeg 3.x image.c:28:24: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? i->frame->format = PIX_FMT_RGB24; // best choice? ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ image.c:243:32: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? encoder_context->pix_fmt = PIX_FMT_RGB24; ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 /usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here AV_PIX_FMT_RGB24, ///< packed RGB 8:8:8, 24bpp, RGBRGB... ^ PR: 214196 Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer) Obtained from: upstream Approved by: ports-secteam blanket Changes: _U branches/2016Q4/ branches/2016Q4/multimedia/nordlicht/Makefile branches/2016Q4/multimedia/nordlicht/files/patch-image.c branches/2016Q4/multimedia/nordlicht/files/patch-source.c
Thanks. Landed. PORTREVISION was bumped out of caution for image.c: encoder_context->time_base.num = 1; encoder_context->time_base.den = 1;