Date: Wed, 18 Aug 2004 15:32:03 +0400 (MSD) From: "Eygene A. Ryabinkin" <rea@rea.mbslab.kiae.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70613: mplayer port in 5.2-CURRENT is broken Message-ID: <200408181132.i7IBW3X2073695@rea.mbslab.kiae.ru> Resent-Message-ID: <200408181130.i7IBUL2c097571@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408181132.i7IBW3X2073695>