aboutsummaryrefslogtreecommitdiff
path: root/audio/play/files
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/play/files
parent5a20e7990eb544509174d617d359bf0d4ac64737 (diff)
Notes
Diffstat (limited to 'audio/play/files')
-rw-r--r--audio/play/files/patch-encode__riff.c (renamed from audio/play/files/patch-encode_riff.c)14
-rw-r--r--audio/play/files/patch-play.c22
2 files changed, 17 insertions, 19 deletions
diff --git a/audio/play/files/patch-encode_riff.c b/audio/play/files/patch-encode__riff.c
index c4ce12c4b53c..9965314a2953 100644
--- a/audio/play/files/patch-encode_riff.c
+++ b/audio/play/files/patch-encode__riff.c
@@ -1,6 +1,6 @@
---- encode_riff.c.orig Tue Mar 25 16:25:07 1997
-+++ encode_riff.c Thu Aug 19 14:37:52 2004
-@@ -11,7 +11,7 @@
+--- encode_riff.c.orig 1997-03-25 15:25:07 UTC
++++ encode_riff.c
+@@ -11,7 +11,7 @@ static char rcsid[] =
#include <signal.h>
#include <err.h>
@@ -9,7 +9,7 @@
#include "play.h"
#include "encode_riff.h"
-@@ -74,7 +74,7 @@
+@@ -74,7 +74,7 @@ int play_riff(char *audio_file, riff_hea
char *bufp;
char *device;
int devfd, filefd;
@@ -18,7 +18,7 @@
if (!f_hasdsp) {
fprintf(stderr, "%s: %s: needs DSP for play\n", myname, audio_file);
-@@ -109,7 +109,12 @@
+@@ -109,7 +109,12 @@ int play_riff(char *audio_file, riff_hea
warn("%s", device);
stat = FAIL; goto failplay0;
}
@@ -31,7 +31,7 @@
warn("%s", device);
stat = FAIL; goto failplay0;
}
-@@ -121,11 +126,6 @@
+@@ -121,11 +126,6 @@ int play_riff(char *audio_file, riff_hea
warn("%s", device);
stat = FAIL; goto failplay0;
}
@@ -43,7 +43,7 @@
if (headerp->channels > 1) {
int ch = headerp->channels;
if (ioctl(devfd, SNDCTL_DSP_STEREO, &ch) < 0) {
-@@ -163,6 +163,8 @@
+@@ -163,6 +163,8 @@ int play_riff(char *audio_file, riff_hea
warn("read");
stat = FAIL; goto failplay2;
}
diff --git a/audio/play/files/patch-play.c b/audio/play/files/patch-play.c
index 6f11414e8534..e8a74e8aa5e8 100644
--- a/audio/play/files/patch-play.c
+++ b/audio/play/files/patch-play.c
@@ -1,12 +1,10 @@
-*** play.c.orig Wed May 20 11:42:42 1998
---- play.c Wed May 20 13:21:15 1998
-***************
-*** 4,9 ****
---- 4,10 ----
-
- #include <stdio.h>
- #include <stdlib.h>
-+ #include <unistd.h>
- #include <fcntl.h>
- #include <err.h>
- #include <signal.h>
+--- play.c.orig 1997-03-25 15:25:12 UTC
++++ play.c
+@@ -4,6 +4,7 @@ static char rcsid[] = "$Id: play.c,v 1.7
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <fcntl.h>
+ #include <err.h>
+ #include <signal.h>