Date: Wed, 18 Aug 2004 15:02:10 +0400 From: "Eygene A. Ryabinkin" <rea@rea.mbslab.kiae.ru> To: ports@freebsd.org Subject: MPlayer port for FreeBSD Message-ID: <20040818110210.GA48277@rea.mbslab.kiae.ru> In-Reply-To: <20040818105914.GA7584@rea.mbslab.kiae.ru> References: <20040818105914.GA7584@rea.mbslab.kiae.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! I've found bug in mplayer port on 5.2-CURRENT and tried to send the bugreport to riggs@rrr.de (Makefile's MAINTEINER), but is blocks my mail. So I send original message to you. rea 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040818110210.GA48277>