[MPlayer-cvslog] r21203 - in trunk: Makefile loader/ext.c loader/ldt_keeper.c osdep/Makefile osdep/mmap_anon.c osdep/mmap_anon.h

Diego Biurrun diego at biurrun.de
Sat Nov 25 02:34:29 CET 2006


On Sat, Nov 25, 2006 at 02:22:20AM +0100, nplourde wrote:
> 
> Modified:
>    trunk/Makefile
>    trunk/loader/ext.c
>    trunk/loader/ldt_keeper.c
>    trunk/osdep/Makefile
> 
> Log:
> added mmap_anon to osdep lib. Used in loader for now
> 
> --- trunk/Makefile	(original)
> +++ trunk/Makefile	Sat Nov 25 02:22:20 2006
> @@ -62,7 +62,6 @@
>                stream/stream.a \
>                libswscale/libswscale.a \
>                libvo/libosd.a \
> -              osdep/libosdep.a \
>  
>  LIBS_MPLAYER = libvo/libvo.a \
>                 libao2/libao2.a \
> @@ -158,6 +157,8 @@
>  OBJS_MPLAYER += osdep/mplayer-rc.o
>  endif
>  
> +COMMON_LIBS += osdep/libosdep.a
> +

WTH?  Why this nonsense?

> --- trunk/osdep/Makefile	(original)
> +++ trunk/osdep/Makefile	Sat Nov 25 02:22:20 2006
> @@ -12,6 +12,7 @@
>        fseeko.c \
>        swab.c \
>        setenv.c \
> +      mmap_anon.c \
>        # timer.c \

IMO there should be a configure check and this should be conditionally
compiled if no mmap is natively available.  Or is there a good reason to
use this one always?

Diego



More information about the MPlayer-cvslog mailing list