pkgsrc/audio/cmp3/patches/patch-ae
cjep 46ce46ab4f Replace multiline string printf's with several singleline string
printf's to appease gcc 3.2. Noticed in agc's bulk build.
2004-01-02 16:17:40 +00:00

49 lines
2 KiB
Text

$NetBSD: patch-ae,v 1.1 2004/01/02 16:17:40 cjep Exp $
--- rnmp3.c.orig 2000-01-14 13:55:56.000000000 +0000
+++ rnmp3.c 2004-01-02 16:06:58.000000000 +0000
@@ -256,26 +256,25 @@
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
- find . -type f | rnmp3\n", VERSION);
+ printf("rnmp3 %s:\n\n", VERSION);
+ printf("Usage - pipe names into rnmp3. (\"find | rnmp3 args\")\n");
+ printf(" If first parameter starts with -, the following string will be removed\n");
+ printf(" from all names if they exist (enclose spaces with \"\")\n");
+ printf(" If any other commands are entered, commands will not be executed,\n");
+ printf(" just printed\n\n");
+
+ printf(" rnmp3 Rename\n");
+ printf(" rnmp3 test Don't rename, just show changes\n");
+ printf(" rnmp3 -\"string\" Rename after removing \"string\"\n");
+ printf(" rnmp3 -\"string\" test Don't rename after removing \"string\"\n");
+ printf(" rnmp3 --test test Rename after removing \"-test\"\n\n");
+
+ printf(" Before - \"1-This is my (file name) man.mp3\"\n");
+ printf(" After - \"01-ThisIsMy-FileName-Man.mp3\"\n\n");
+
+ printf("Suggested uses:\n");
+ printf(" find . | rnmp3\n");
+ printf(" find . -type f | rnmp3\n");
exit(0);
}