From owner-freebsd-ports@FreeBSD.ORG Fri Jul 18 09:23:45 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DD6637B401; Fri, 18 Jul 2003 09:23:45 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0A1543FA3; Fri, 18 Jul 2003 09:23:39 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id CBDD838756; Fri, 18 Jul 2003 18:23:32 +0200 (CEST) Date: Fri, 18 Jul 2003 18:23:32 +0200 From: Simon Barner To: Kris Kennaway Message-ID: <20030718162332.GA752@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aVD9QWMuhilNxW9f" Content-Disposition: inline In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: ports@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -- fix for audio/cmp3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 16:23:45 -0000 --aVD9QWMuhilNxW9f Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [...] > If you are running 4.x, you can also help to develop fixes for these > ports by installing the gcc33 port and setting >=20 > CC=3D/usr/local/bin/gcc33 > CXX=3D/usr/local/bin/g++33 [...] Hi, since I have some spare time today, I fixed some of the broken ports (I will start with those ports that are maintained by ports@). I am running 4.8-STABLE with the g++33 (GCC) 3.3.1 20030707 port. I will also check the fixed ports with the base systems gcc. For clarity's sake I will one email per fixed port. You will find the patches for audio/cmp3 attached to this email. Regards, Simon --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-cmp3listfiles.c" Content-Transfer-Encoding: quoted-printable --- cmp3listfiles.c.orig Fri Jul 18 17:55:33 2003 +++ cmp3listfiles.c Fri Jul 18 17:56:23 2003 @@ -270,13 +270,13 @@ /* XXX - alert person */ return; fprintf(outfile, -"#########################################################################= ##### -# Dumped Cmp3 playlist ass file -# -# Addable features (on individual lines): -# %%[command] - executes commands initially using system() call -# @ - randomizes this playlist at load time -# $ - turns on repeat mode at load time +"#########################################################################= #####\n\ +# Dumped Cmp3 playlist ass file\n\ +#\n\ +# Addable features (on individual lines):\n\ +# %%[command] - executes commands initially using system() call\n\ +# @ - randomizes this playlist at load time\n\ +# $ - turns on repeat mode at load time\n\ #\n\n"); =20 filename =3D shmptr->plhead; --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-rnmp3.c" Content-Transfer-Encoding: quoted-printable --- rnmp3.c.orig Fri Jul 18 18:00:43 2003 +++ rnmp3.c Fri Jul 18 18:02:36 2003 @@ -256,25 +256,21 @@ =20 void usage() { - printf("rnmp3 %s: - =20 -Usage - pipe names into rnmp3. (\"find | rnmp3 args\") - If first parameter starts with -, the following string will be removed - from all names if they exist (enclose spaces with \"\") - If any other commands are entered, commands will not be executed, - just printed - - rnmp3 Rename - rnmp3 test Don't rename, just show changes - rnmp3 -\"string\" Rename after removing \"string\" - rnmp3 -\"string\" test Don't rename after removing \"string\" - rnmp3 --test test Rename after removing \"-test\" - - Before - \"1-This is my (file name) man.mp3\" - After - \"01-ThisIsMy-FileName-Man.mp3\" - -Suggested uses: - find . | rnmp3 + printf("rnmp3 %s:\n\n\ +Usage - pipe names into rnmp3. (\"find | rnmp3 args\")\n\ + If first parameter starts with -, the following string will be removed= \n\ + from all names if they exist (enclose spaces with \"\")\n\ + If any other commands are entered, commands will not be executed,\n\ + just printed\n\n\ + rnmp3 Rename\n\ + rnmp3 test Don't rename, just show changes\n\ + rnmp3 -\"string\" Rename after removing \"string\"\n\ + rnmp3 -\"string\" test Don't rename after removing \"string\"\n\ + rnmp3 --test test Rename after removing \"-test\"\n\n\ + Before - \"1-This is my (file name) man.mp3\"\n\ + After - \"01-ThisIsMy-FileName-Man.mp3\"\n\n\ +Suggested uses:\n\ + find . | rnmp3\n\ find . -type f | rnmp3\n", VERSION); =20 exit(0); --k1lZvvs/B4yU6o8G-- --aVD9QWMuhilNxW9f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/GB8ECkn+/eutqCoRAg4nAKC4p+5V1HlDVVn59gmdjQczh56xxwCgyngR 3YBZ2DT4YPjAFphd/1EamY4= =985X -----END PGP SIGNATURE----- --aVD9QWMuhilNxW9f--