pkgsrc/audio/cmp3/patches/patch-af
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

36 lines
1.3 KiB
Text

$NetBSD: patch-af,v 1.1 2004/01/02 16:17:40 cjep Exp $
--- cmp3listfiles.c.orig 2000-03-17 00:06:25.000000000 +0000
+++ cmp3listfiles.c 2004-01-02 16:12:02.000000000 +0000
@@ -7,7 +7,7 @@
#include <stdio.h>
#include <string.h>
-#include"cmp3funcs.h"
+#include "cmp3funcs.h"
typedef struct {
char dirLetter;
@@ -269,15 +269,14 @@
if (outfile == NULL)
/* 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\n");
+fprintf(outfile, "##############################################################################\n");
+fprintf(outfile, "# Dumped Cmp3 playlist ass file\n");
+fprintf(outfile, "#\n");
+fprintf(outfile, "# Addable features (on individual lines):\n");
+fprintf(outfile, "# %%[command] - executes commands initially using system() call\n");
+fprintf(outfile, "# @ - randomizes this playlist at load time\n");
+fprintf(outfile, "# $ - turns on repeat mode at load time\n");
+fprintf(outfile, "#\n\n");
filename = shmptr->plhead;
for(i=0; i < shmptr->listlen; i++) {