summaryrefslogtreecommitdiff
path: root/audio/cdparanoia/files/patch-main.c
diff options
context:
space:
mode:
authorTobias Rehbein <tobias.rehbein@web.de>2024-07-04 06:24:52 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2024-07-04 06:24:52 +0000
commitd0b1d9ec73207ca2400394af1db811ddcf3d2759 (patch)
treea2baeeddc17afba8863fb57cbd5447857222321f /audio/cdparanoia/files/patch-main.c
parentsysutils/mackerel-agent: Update to 0.82.0 (diff)
audio/cdparanoia: the port had been updated to version III-10.2
- GC no longer useful post-patch target and GNU_CONFIGURE_MANPREFIX - Replace stripping in post-install with proper BSD_INSTALL_* calls PR: 200925
Diffstat (limited to 'audio/cdparanoia/files/patch-main.c')
-rw-r--r--audio/cdparanoia/files/patch-main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/cdparanoia/files/patch-main.c b/audio/cdparanoia/files/patch-main.c
new file mode 100644
index 000000000000..f34b292b307b
--- /dev/null
+++ b/audio/cdparanoia/files/patch-main.c
@@ -0,0 +1,15 @@
+--- main.c.orig 2019-07-23 18:12:13 UTC
++++ main.c
+@@ -588,10 +588,10 @@ static void callback(long inpos, int function){
+ buffer[aheadposition+19]='>';
+ }
+
+- fprintf(stderr,buffer);
++ fprintf(stderr,"%s",buffer);
+
+ if (logfile != NULL && function==-1) {
+- fprintf(logfile,buffer+1);
++ fprintf(logfile,"%s",buffer+1);
+ fprintf(logfile,"\n\n");
+ fflush(logfile);
+ }