ports/70613: mplayer port in 5.2-CURRENT is broken

Eygene A. Ryabinkin rea at rea.mbslab.kiae.ru
Wed Aug 18 11:30:21 UTC 2004


>Number:         70613
>Category:       ports
>Synopsis:       mplayer port in 5.2-CURRENT is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 18 11:30:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eygene A. Ryabinkin
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
RRC KI
>Environment:
System: FreeBSD rea.mbslab.kiae.ru 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Tue Aug 17 21:46:44 MSD 2004 rea at rea.mbslab.kiae.ru:/usr/src/sys/i386/compile/REA i386


	
>Description:
 MPlayer port does not compile. The compilation hangs on libmpcodecs/vf_qp.c
>How-To-Repeat:
 Download the port with Makefile version 1.101 and try to compile it.
>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__)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list