MPlayer port for FreeBSD

Eygene A. Ryabinkin rea at
Wed Aug 18 04:00:17 PDT 2004

I've found bug in mplayer port on 5.2-CURRENT and tried to send the bugreport
to riggs at (Makefile's MAINTEINER), but is blocks my mail. So I send
original message to you.
On Wed, Aug 18, 2004 at 02:59:14PM +0400, Eygene A. Ryabinkin wrote:
>   Hi!
>  I've tried to compile mplayer port on FreeBSD 5.2-CURRENT (port Makefile
> version 1.101) and I got compile error. The problem lies in the file
> libavcodec/dsputil.h: on the line 557 and below it says
> -------
> #ifndef HAVE_LPRINTF
> /* XXX: add ISOC specific test to avoid specific BSD testing. */
> /* better than nothing implementation. */
> /* btw, rintf() is existing on fbsd too -- alex */
> static inline long int lrintf(float x)
> -------
> The problem is that in file libmpcodecs/vf_qp.c we already have the knob for
> FreeBSD: it #define's lrintf(x) as rintf(x). So we got an obvious compile error.
> My fix was to replace string
>  #ifndef HAVE_LPRINTF
> by
>  #if !defined(HAVE_LRINTF) && !defined(__FreeBSD__)
>  Thanks for audience,
> 	rea

More information about the freebsd-ports mailing list