[MPlayer-dev-eng] [PATCH] OpenSolaris build failure

Diego Biurrun diego at biurrun.de
Sat Feb 7 18:35:17 CET 2009


On Sun, Feb 08, 2009 at 02:42:24AM +1000, Imran Syed wrote:
> 
> svn rev 28473 failed to build on OpenSolaris 2008.11 with the following error:
> 
> /usr/include/sys/feature_tests.h:353:2: #error "Compiler or options
> invalid for pre-UNIX 03 X/Open applications 	and pre-2001 POSIX
> applications"
> 
> Had to apply the attached patch. Simply commenting out the line:
> 
> #define _XOPEN_SOURCE
> 
> within the 2 affected files allows for a successful build. But the
> attached patch provides the same def for _XOPEN_SOURCE as in the
> following files:
> libavcodec/utils.c
> libavformat/rtpdec.c

Thanks, applied.

Diego



More information about the MPlayer-dev-eng mailing list