OSDN Git Service

doc: Mention that DragonFly BSD requires __BSD_VISIBLE set
authorMartin Storsjö <martin@martin.st>
Thu, 21 Apr 2011 21:45:06 +0000 (00:45 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 22 Apr 2011 21:06:20 +0000 (00:06 +0300)
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@martin.st>
doc/general.texi

index 423402c..edd5e60 100644 (file)
@@ -784,9 +784,9 @@ to configure.
 BSD make will not build Libav, you need to install and use GNU Make
 (@file{gmake}).
 
-@subsubsection FreeBSD
+@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