From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 19 21:50:24 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 3622316A4D0 for ; Thu, 19 Aug 2004 21:50:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 235DC43D2D for ; Thu, 19 Aug 2004 21:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7JLoNDe039312 for ; Thu, 19 Aug 2004 21:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7JLoN0F039302; Thu, 19 Aug 2004 21:50:23 GMT (envelope-from gnats) Date: Thu, 19 Aug 2004 21:50:23 GMT Message-Id: <200408192150.i7JLoN0F039302@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Thomas E. Zander" Subject: Re: 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: "Thomas E. Zander" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 21:50:24 -0000 The following reply was made to PR ports/70613; it has been noted by GNATS. From: "Thomas E. Zander" To: Oliver Eikemeier Cc: FreeBSD-gnats-submit@FreeBSD.org, "Eygene A. Ryabinkin" Subject: Re: ports/70613: mplayer port in 5.2-CURRENT is broken Date: Thu, 19 Aug 2004 23:41:34 +0200 --3siQDZowHQqNOShm Content-Type: multipart/mixed; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Gentlemen, Am Wed, dem 18. Aug 2004, um 14:04 +0200 Uhr schrubte Oliver Eikemeier zum Thema [Re: ports/70613: mplayer port in 5.2-CURRENT is broken]: > could you please have a look into PR 70613: > 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-metapat= ch, no big deal. If it works for you as it does for me, imho pr 70613 can be closed. Regards, Riggs --=20 - Die Welt schl=E4ft tief schon lange Zeit | Sent with RiggiSmooth [tm] - -- Mich nur flieht die Dunkelheit | ------------------------- -- --- Denn per Infrarot seh ich | just to fit your --- ---- Die Nacht ist wirklich widerlich. | primitive screen. ---- --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename=extra-patch-gcc34 Content-Transfer-Encoding: quoted-printable --- libaf/af_format.c.orig Sat Aug 7 20:30:05 2004 +++ libaf/af_format.c Sat Aug 7 20:32:03 2004 @@ -15,8 +15,13 @@ =20 // Integer to float conversion through lrintf() #ifdef HAVE_LRINTF +#ifdef __FreeBSD__ +#include +#define lrintf(x) rintf(x) +#else #define __USE_ISOC99 1 #include +#endif #else #define lrintf(x) ((int)(x)) #endif --- libavcodec/faandct.c.orig Sat Aug 7 20:45:54 2004 +++ libavcodec/faandct.c Sat Aug 7 20:46:18 2004 @@ -29,6 +29,21 @@ #include "dsputil.h" #include "faandct.h" =20 +#include "config.h" + +// Integer to float conversion through lrintf() +#ifdef HAVE_LRINTF +#ifdef __FreeBSD__ +#include +#define lrintf(x) rintf(x) +#else +#define __USE_ISOC99 1 +#include +#endif +#else +#define lrintf(x) ((int)(x)) +#endif + #define FLOAT float #ifdef FAAN_POSTSCALE # define SCALE(x) postscale[x] --- libavcodec/mpegaudiodec.c.orig Sat Aug 7 20:43:50 2004 +++ libavcodec/mpegaudiodec.c Sat Aug 7 20:44:23 2004 @@ -27,6 +27,21 @@ #include "mpegaudio.h" #include "dsputil.h" =20 +#include "config.h" + +// Integer to float conversion through lrintf() +#ifdef HAVE_LRINTF +#ifdef __FreeBSD__ +#include +#define lrintf(x) rintf(x) +#else +#define __USE_ISOC99 1 +#include +#endif +#else +#define lrintf(x) ((int)(x)) +#endif + /* * TODO: * - in low precision mode, use more 16 bit multiplies in synth filter --- libavcodec/mpegvideo.c.orig Sat Aug 7 20:41:35 2004 +++ libavcodec/mpegvideo.c Sat Aug 7 20:42:36 2004 @@ -38,6 +38,21 @@ //#undef NDEBUG //#include =20 +#include "config.h" + +// Integer to float conversion through lrintf() +#ifdef HAVE_LRINTF +#ifdef __FreeBSD__ +#include +#define lrintf(x) rintf(x) +#else +#define __USE_ISOC99 1 +#include +#endif +#else +#define lrintf(x) ((int)(x)) +#endif + #ifdef CONFIG_ENCODERS static void encode_picture(MpegEncContext *s, int picture_number); #endif //CONFIG_ENCODERS --- libavcodec/wmadec.c.orig Sat Aug 7 20:47:09 2004 +++ libavcodec/wmadec.c Sat Aug 7 20:47:30 2004 @@ -34,6 +34,21 @@ #include "avcodec.h" #include "dsputil.h" =20 +#include "config.h" + +// Integer to float conversion through lrintf() +#ifdef HAVE_LRINTF +#ifdef __FreeBSD__ +#include +#define lrintf(x) rintf(x) +#else +#define __USE_ISOC99 1 +#include +#endif +#else +#define lrintf(x) ((int)(x)) +#endif + /* size of blocks */ #define BLOCK_MIN_BITS 7 #define BLOCK_MAX_BITS 11 --- libmpcodecs/vf_qp.c.orig Sat Aug 7 20:26:22 2004 +++ libmpcodecs/vf_qp.c Sat Aug 7 20:33:45 2004 @@ -19,10 +19,22 @@ #include #include #include -#include #include =20 #include "../config.h" + +// Integer to float conversion through lrintf() +#ifdef HAVE_LRINTF +#ifdef __FreeBSD__ +#include +#define lrintf(x) rintf(x) +#else +#define __USE_ISOC99 1 +#include +#endif +#else +#define lrintf(x) ((int)(x)) +#endif =20 #ifdef USE_LIBAVCODEC =20 --- libavcodec/dsputil.h.orig Thu Jul 15 02:18:47 2004 +++ libavcodec/dsputil.h Thu Aug 19 23:11:22 2004 @@ -554,7 +554,7 @@ return score;\ } =20 -#ifndef HAVE_LRINTF +#if !defined(HAVE_LRINTF) && !defined(__FreeBSD__) /* XXX: add ISOC specific test to avoid specific BSD testing. */ /* better than nothing implementation. */ /* btw, rintf() is existing on fbsd too -- alex */ --/NkBOFFp2J2Af1nK-- --3siQDZowHQqNOShm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFBJR6OjdSJKchZls0RAg6MAJwIepjpqnqbXI7Pzld/EDxuqg3PGACdH8Mf qkJGUyox7VIPQ4cMiITYhXM= =0udF -----END PGP SIGNATURE----- --3siQDZowHQqNOShm--