From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 12:06:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AAB516A4CE for ; Fri, 20 Aug 2004 12:06:51 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id F251A43D4C for ; Fri, 20 Aug 2004 12:06:50 +0000 (GMT) (envelope-from riggs@rrr.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 80B4C6397A; Fri, 20 Aug 2004 14:06:49 +0200 (CEST) Received: from marvin.riggiland.au (ppp-62-245-210-243.mnet-online.de [62.245.210.243]) by mail.m-online.net (Postfix) with ESMTP id 0A79DFFED4; Fri, 20 Aug 2004 14:06:48 +0200 (CEST) Received: from marvin.riggiland.au (localhost [127.0.0.1]) by marvin.riggiland.au (8.13.1/8.12.11) with ESMTP id i7KC6nSX017784; Fri, 20 Aug 2004 14:06:49 +0200 (CEST) (envelope-from riggs@marvin.riggiland.au) Received: (from riggs@localhost) by marvin.riggiland.au (8.13.1/8.13.1/Submit) id i7KC6nUX017783; Fri, 20 Aug 2004 14:06:49 +0200 (CEST) (envelope-from riggs) Date: Fri, 20 Aug 2004 14:06:49 +0200 From: "Thomas E. Zander" To: Matt Message-ID: <20040820120649.GA17512@marvin.riggiland.au> References: <20040820113839.GA93606@stud.fit.vutbr.cz> <4125E570.70801@xtaz.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline In-Reply-To: <4125E570.70801@xtaz.net> Organization: RiggiServ - Ihr Partner =?iso-8859-15?Q?f?= =?iso-8859-15?Q?=FCr?= alles Delikate X-PGP-KeyID: 0xC85996CD X-PGP-URI: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xC85996CD X-PGP-Fingerprint: 4F59 75B4 4CE3 3B00 BC61 5400 8DD4 8929 C859 96CD X-Mailer: Riggisoft Ausguck Eggsbress (Build 1093002767) X-Operating-System: Riggiland BSD 5.2-CURRENT (To serve and protect.) cc: Divacky Roman cc: stolz@i2.informatik.rwth-aachen.de cc: current@freebsd.org Subject: Re: broken make X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 12:06:51 -0000 --aM3YZ0Iwxop3KEKx Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, 20. Aug 2004, at 12:50 +0100, Matt wrote according to [Re: broken make]: > The mplayer port has been broken on -current since the last commit to=20 > the Makefile to enable GTK2. I get this: > [snip] > Stop in /usr/ports/multimedia/mplayer. >=20 > This was mentioned by the port maintainer in this thread: > http://docs.freebsd.org/cgi/mid.cgi?20040817185121.GA16366 >=20 > However I haven't seen anything else about it since. Patch for this is already on the way and will probably committed soon. Until it's done, you could replace ${PORTSDIR}/multimedia/mplayer/files/extra-patch-gcc34 by the attached file. Riggs --=20 - "[...] I talked to the computer at great length and -- explained my view of the Universe to it" said Marvin. --- And what happened?" pressed Ford. ---- "It committed suicide." said Marvin. --FL5UXtIhxfXey3p5 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 */ --FL5UXtIhxfXey3p5-- --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFBJelZjdSJKchZls0RAh+7AJ9WQhHHGehBUIVFUYRL1p1XKJES1gCeLxZG 6GhSMj3Ic8DAFwppLrfpn8k= =Ba4E -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--