Subject: pkg/36054: Wrong #include in ffmpeg with faad option on
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <alnsn@yandex.ru>
List: pkgsrc-bugs
Date: 03/21/2007 20:40:00
>Number:         36054
>Category:       pkg
>Synopsis:       Wrong #include in ffmpeg with faad option on
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 21 20:40:00 +0000 2007
>Originator:     Alexander Nasonov
>Release:        FreeBSD 6.2-STABLE i388
>Organization:
>Environment:
FreeBSD fbx1000 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Feb  2 01:35:39 MSK 2007     alnsn@fbx1000:/home/obj/MAKEOBJDIRPREFIX/usr/src/sys/GENERIC  i386

>Description:
when PKG_OPTION.ffmpeg includes faad option, the package multimedia/ffmpeg fail to compile.
>How-To-Repeat:
in mk.conf: PKG_OPTIONS.ffmpeg=     faad lame vorbis
$ cd multimedia/ffmpeg
$ bmake
>Fix:
The line

#incluce "faad.h"

should be replaced with

#include "faad2/faad.h"

in libavcodec/faad.c.