summaryrefslogtreecommitdiff
path: root/audio/wavplay/files/patch-wavplay.h
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-08-05 14:30:08 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-08-05 14:30:08 +0000
commit4cba75dcdaaf337d83c10b411491f58d4d317d24 (patch)
treeeda4e5590bb0de0c611937f03e009bed9661e7cf /audio/wavplay/files/patch-wavplay.h
parentmove f9e3e60b-e650-11d8-9b0a-000347a4fa7d to vuxml, add mozilla to the list o... (diff)
Fix a function prototype to get this to build with -CURRENT's gcc 3.4.
Notes
Notes: svn path=/head/; revision=115464
Diffstat (limited to 'audio/wavplay/files/patch-wavplay.h')
-rw-r--r--audio/wavplay/files/patch-wavplay.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/wavplay/files/patch-wavplay.h b/audio/wavplay/files/patch-wavplay.h
new file mode 100644
index 000000000000..ac3a9dd7ac08
--- /dev/null
+++ b/audio/wavplay/files/patch-wavplay.h
@@ -0,0 +1,11 @@
+--- wavplay.h.orig Thu Aug 5 17:24:45 2004
++++ wavplay.h Thu Aug 5 17:24:49 2004
+@@ -500,7 +500,7 @@
+ extern int UnlockDSP(int ipc,int playrecx,ErrFunc erf);
+
+ extern WAVFILE *WavOpenForRead(const char *Pathname,ErrFunc erf);
+-extern WAVFILE *WavOpenForWrite(const char *Pathname,OprMode m,UInt32 sample_rate,UInt16 bits,UInt32 samples,ErrFunc erf);
++extern WAVFILE *WavOpenForWrite(const char *Pathname,Chan chmode,UInt32 sample_rate,UInt16 bits,UInt32 samples,ErrFunc erf);
+ extern void WavReadOverrides(WAVFILE *wfile,WavPlayOpts *wavopts);
+ extern int WavClose(WAVFILE *wfile,ErrFunc erf);
+