From owner-freebsd-multimedia@freebsd.org Mon Apr 18 16:55:34 2016 Return-Path: Delivered-To: freebsd-multimedia@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 6A85AB131A1 for ; Mon, 18 Apr 2016 16:55:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 556A91CB6 for ; Mon, 18 Apr 2016 16:55:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5112BB131A0; Mon, 18 Apr 2016 16:55:34 +0000 (UTC) Delivered-To: multimedia@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 50B47B1319F for ; Mon, 18 Apr 2016 16:55:34 +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 413D61CB5 for ; Mon, 18 Apr 2016 16:55:34 +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 u3IGtXs8078413 for ; Mon, 18 Apr 2016 16:55:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 208895] graphics/opencv: Fix build with ffmpeg 3.0.x Date: Mon, 18 Apr 2016 16:55:34 +0000 X-Bugzilla-Reason: CC 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 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhale@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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-multimedia@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 16:55:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208895 --- Comment #1 from Ben Woods --- graphics/opencv only fails to build with ffmpeg 3.0.x if the port has the FFMPEG option set (not default). When building without the attached patch, with the FFMPEG option set and ff= mpeg 3.0.x, the build fails with many errors similar to this: In file included from /wrkdirs/usr/ports/graphics/opencv/work/opencv-2.4.9/modules/highgui/src/ca= p_ffmpeg_impl.hpp:60: /wrkdirs/usr/ports/graphics/opencv/work/opencv-2.4.9/modules/highgui/src/ff= mpeg_codecs.hpp:104:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { CODEC_ID_H264, MKTAG('H', '2', '6', '4') }, ^~~~~~~~~~~~~ AV_CODEC_ID_H264 Refer to the full build log without the attached patch here: http://package22.nyi.freebsd.org/data/103i386-default-PR207547/2016-02-27_2= 0h30m58s/logs/errors/opencv-2.4.9_7.log --=20 You are receiving this mail because: You are on the CC list for the bug.=