[FFmpeg-cvslog] doc: Mention that DragonFly BSD requires __BSD_VISIBLE set

Martin Storsjö git at videolan.org
Sun Apr 24 03:50:08 CEST 2011


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Apr 22 00:45:06 2011 +0300| [d5c5a1c7e2959a5174522b5ac1d73d5095b8c5a3] | committer: Martin Storsjö

doc: Mention that DragonFly BSD requires __BSD_VISIBLE set

Setting this should fix the FATE build failure on DragonFly BSD,
since inet_aton only is visible if __BSD_VISIBLE is set.

Alternatively, a line defining __BSD_VISIBLE=1 could be
added at the top of os_support.c. For FreeBSD, similar lines
are required in libavdevice/bktr.c and libavdevice/oss_audio.c, too.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d5c5a1c7e2959a5174522b5ac1d73d5095b8c5a3
---

 doc/general.texi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/general.texi b/doc/general.texi
index 423402c..edd5e60 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -784,9 +784,9 @@ to configure.
 BSD make will not build Libav, you need to install and use GNU Make
 (@file{gmake}).
 
- at subsubsection FreeBSD
+ at subsubsection FreeBSD, DragonFly BSD
 
-FreeBSD will not compile out-of-the-box due to broken system headers.
+These systems will not compile out-of-the-box due to broken system headers.
 Passing @code{--extra-cflags=-D__BSD_VISIBLE} to configure will work
 around the problem. This may have unexpected sideeffects, so use it at
 your own risk. If you care about FreeBSD, please make an attempt at



More information about the ffmpeg-cvslog mailing list