MPlayer port does not compile. The compilation hangs on libmpcodecs/vf_qp.c Fix: 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 things 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__) How-To-Repeat: Download the port with Makefile version 1.101 and try to compile it.
State Changed From-To: open->feedback Asked maintainer for feedback.
Eygene A. Ryabinkin wrote: >> Number: 70613 >> Category: ports >> Synopsis: mplayer port in 5.2-CURRENT is broken Dear maintainer, could you please have a look into PR 70613: <http://www.freebsd.org/cgi/query-pr.cgi?pr=70613> Thanks -Oliver
On Thu, Aug 19, 2004 at 11:41:34PM +0200, Thomas E. Zander wrote: > Could you please verify and (if successful) commit the attached updated > version of extra-patch-gcc34 to the port? > > It just encapsulates Eygene's workaround from pr 70613 into the gcc-metapatch, > no big deal. Works fine for me. Thanks. rea
State Changed From-To: feedback->patched Keep visible for a bit in case more people decide to report this.
Responsible Changed From-To: freebsd-ports-bugs->vs I'll track this.
State Changed From-To: patched->closed Everything okay.