Date: Fri, 18 Jul 2003 18:23:32 +0200 From: Simon Barner <barner@in.tum.de> To: Kris Kennaway <kris@obsecurity.org> Cc: current@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -- fix for audio/cmp3 Message-ID: <20030718162332.GA752@zi025.glhnet.mhn.de> In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org> References: <20030718025200.GA36893@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718162332.GA752>
