Fixing gcc 3.3 compile failures -- fix for audio/cmp3

Simon Barner barner at in.tum.de
Fri Jul 18 09:23:45 PDT 2003


[...]

> If you are running 4.x, you can also help to develop fixes for these
> ports by installing the gcc33 port and setting
> 
>   CC=/usr/local/bin/gcc33
>   CXX=/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
-------------- next part --------------
--- 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");
 
     filename = shmptr->plhead;
-------------- next part --------------
--- rnmp3.c.orig	Fri Jul 18 18:00:43 2003
+++ rnmp3.c	Fri Jul 18 18:02:36 2003
@@ -256,25 +256,21 @@
 
 void usage()
 {
-    printf("rnmp3 %s:
-    
-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);
 
     exit(0);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030718/99cbc6e5/attachment.bin


More information about the freebsd-current mailing list