From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 18 11:30:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A7216A4CF for ; Wed, 18 Aug 2004 11:30:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7069043D53 for ; Wed, 18 Aug 2004 11:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7IBULw6097575 for ; Wed, 18 Aug 2004 11:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7IBUL2c097571; Wed, 18 Aug 2004 11:30:21 GMT (envelope-from gnats) Resent-Date: Wed, 18 Aug 2004 11:30:21 GMT Resent-Message-Id: <200408181130.i7IBUL2c097571@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eygene A. Ryabinkin" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9DE616A4CE for ; Wed, 18 Aug 2004 11:30:09 +0000 (GMT) Received: from rea.mbslab.kiae.ru (rea.mbslab.kiae.ru [144.206.177.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4321243D39 for ; Wed, 18 Aug 2004 11:30:08 +0000 (GMT) (envelope-from rea@rea.mbslab.kiae.ru) Received: from rea.mbslab.kiae.ru (localhost [127.0.0.1]) by rea.mbslab.kiae.ru (8.13.1/8.13.1) with ESMTP id i7IBW3kt073696 for ; Wed, 18 Aug 2004 15:32:03 +0400 (MSD) Received: (from rea@localhost) by rea.mbslab.kiae.ru (8.13.1/8.13.1/Submit) id i7IBW3X2073695; Wed, 18 Aug 2004 15:32:03 +0400 (MSD) Message-Id: <200408181132.i7IBW3X2073695@rea.mbslab.kiae.ru> Date: Wed, 18 Aug 2004 15:32:03 +0400 (MSD) From: "Eygene A. Ryabinkin" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70613: mplayer port in 5.2-CURRENT is broken X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Eygene A. Ryabinkin" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 11:30:21 -0000 >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: