From owner-freebsd-ports-bugs@freebsd.org Fri Nov 18 22:01:38 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32D25C48F5E for ; Fri, 18 Nov 2016 22:01:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 084C6DDD for ; Fri, 18 Nov 2016 22:01:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAIM1bJr068057 for ; Fri, 18 Nov 2016 22:01:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214188] emulators/kcemu: fails to build with ffmpeg 3.x Date: Fri, 18 Nov 2016 22:01:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 22:01:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214188 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: jbeich Date: Fri Nov 18 22:00:37 UTC 2016 New revision: 426344 URL: https://svnweb.freebsd.org/changeset/ports/426344 Log: emulators/kcemu: unbreak build with ffmpeg 3.x ffmpeg.cc:79:29: error: use of undeclared identifier 'PIX_FMT_YUV420P'; d= id you mean 'AV_PIX_FMT_YUV420P'? _stream->codec->pix_fmt =3D PIX_FMT_YUV420P; ^~~~~~~~~~~~~~~ AV_PIX_FMT_YUV420P /usr/local/include/libavutil/pixfmt.h:62:5: note: 'AV_PIX_FMT_YUV420P' declared here AV_PIX_FMT_YUV420P, ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample= per 2x2 Y samples) ^ ffmpeg.cc:100:12: error: use of undeclared identifier 'avcodec_alloc_fram= e' _frame =3D avcodec_alloc_frame(); ^ ffmpeg.cc:159:18: error: use of undeclared identifier 'avcodec_encode_vid= eo'; did you mean 'avcodec_encode_video2'? int out_size =3D avcodec_encode_video(_stream->codec, _buf, _bufsize, _frame); ^~~~~~~~~~~~~~~~~~~~ avcodec_encode_video2 /usr/local/include/libavcodec/avcodec.h:5261:5: note: 'avcodec_encode_vid= eo2' declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^ ffmpeg.cc:159:55: error: cannot initialize a parameter of type 'AVPacket = *' with an lvalue of type 'byte_t *' (aka 'unsigned char *') int out_size =3D avcodec_encode_video(_stream->codec, _buf, _bufsize, _frame); ^~~~ /usr/local/include/libavcodec/avcodec.h:5261:60: note: passing argument to parameter 'avpkt' here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^ PR: 214188 Approved by: maintainer timeout (2 weeks) Changes: head/emulators/kcemu/Makefile head/emulators/kcemu/files/patch-src-ui-gtk-ffmpeg.cc --=20 You are receiving this mail because: You are the assignee for the bug.=