./ff-load.c:312:36: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (p->codec->capabilities & CODEC_CAP_TRUNCATED)
^
./ff-load.c:313:26: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
p->enc->flags |= CODEC_FLAG_TRUNCATED;
PR: 227726
$ gimp /path/to/file.png
GEGL-geglmodule.c-Message: Module '/usr/local/lib/gegl-0.2/ff-load.so'
load error: /usr/local/lib/gegl-0.2/ff-load.so: Undefined symbol "av_read_packet"
$ echo CFLAGS+=-Werror=implicit-function-declaration >>Makefile.local
$ make
[...]
./ff-load.c:140:9: error: implicit declaration of function 'av_close_input_file' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
av_close_input_file (p->ic);
^
./ff-load.c:219:23: error: implicit declaration of function 'av_read_packet' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (av_read_packet (p->ic, &p->pkt) < 0)
^
./ff-load.c:274:13: error: implicit declaration of function 'av_open_input_file' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL);
^
./ff-load.c:279:13: error: implicit declaration of function 'av_find_stream_info' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
err = av_find_stream_info (p->ic);
^
./ff-load.c:279:13: note: did you mean 'avformat_find_stream_info'?
/usr/local/include/libavformat/avformat.h:2217:5: note: 'avformat_find_stream_info' declared here
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
^
./ff-load.c:315:11: error: implicit declaration of function 'avcodec_open' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (avcodec_open (p->enc, p->codec) < 0)
^
./ff-load.c:315:11: note: did you mean 'avcodec_open2'?
/usr/local/include/libavcodec/avcodec.h:4324:5: note: 'avcodec_open2' declared here
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
^
./ff-load.c:324:23: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
p->lavc_frame = avcodec_alloc_frame ();
^
PR: 207547
Approved by: portmgr blanket
Remove Obsolete reinplace lines.
Make sure we have ruby and bash available for building docs and not depend
on others to supply it.
Don't install docs double.
PR: ports/179531 [1]
Submitted by: bar@