freebsd-ports/graphics/php5-ffmpeg/Makefile
Jan Beich f1bbcd1a5b graphics/php5-ffmpeg: unbreak with ffmpeg 4.0
ffmpeg_movie.c:978:29: error: no member named 'codec_name' in 'struct AVCodecContext'; did you mean 'coded_frame'?
    } else if (decoder_ctx->codec_name[0] != '\0') {
                            ^~~~~~~~~~
                            coded_frame
/usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' declared here
    attribute_deprecated AVFrame *coded_frame;
                                  ^
ffmpeg_movie.c:978:43: error: invalid operands to binary expression ('AVFrame' (aka 'struct AVFrame') and 'int')
    } else if (decoder_ctx->codec_name[0] != '\0') {
               ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
ffmpeg_movie.c:979:35: error: no member named 'codec_name' in 'struct AVCodecContext'
        codec_name = decoder_ctx->codec_name;
                     ~~~~~~~~~~~  ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-04 11:40:44 +00:00

24 lines
518 B
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= ffmpeg
PORTVERSION= 0.6.0.20120114
DISTVERSIONPREFIX= php-
PORTREVISION= 7
CATEGORIES= graphics
MASTER_SITES= LOCAL/sunpoet
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= FFmpeg shared extension for php
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgd.so:graphics/gd \
libavutil.so:multimedia/ffmpeg
IGNORE_WITH_PHP=70 71 72
USES= localbase php:ext tar:xz
.include <bsd.port.mk>