summaryrefslogtreecommitdiffstats
path: root/audio/waveplay/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-27 21:47:15 +0000
committersteve <steve@FreeBSD.org>1999-12-27 21:47:15 +0000
commit18bdbf8ea99258e4cafd61aed12a1a2f4fbb53a9 (patch)
tree589ef3ec7698d3e7e5bb4bf7c20acb59309df018 /audio/waveplay/files
parent1b40c7d761bfd9530d165ebc0933870b759affe8 (diff)
downloadFreeBSD-ports-18bdbf8ea99258e4cafd61aed12a1a2f4fbb53a9.zip
FreeBSD-ports-18bdbf8ea99258e4cafd61aed12a1a2f4fbb53a9.tar.gz
Add support for FreeBSD/Alpha and minor tweaks to Makefile.
PR: 15710 Submitted by: maintainer
Diffstat (limited to 'audio/waveplay/files')
-rw-r--r--audio/waveplay/files/patch-aa10
-rw-r--r--audio/waveplay/files/patch-ab19
-rw-r--r--audio/waveplay/files/patch-ac51
3 files changed, 80 insertions, 0 deletions
diff --git a/audio/waveplay/files/patch-aa b/audio/waveplay/files/patch-aa
new file mode 100644
index 0000000..768cce9
--- /dev/null
+++ b/audio/waveplay/files/patch-aa
@@ -0,0 +1,10 @@
+--- Makefile.orig Thu Dec 23 17:48:19 1999
++++ Makefile Thu Dec 23 17:48:39 1999
+@@ -1,7 +1,5 @@
+ #CC = gcc28
+-CC = cc #egcc
+ #CFLAGS = -g -O -Wall -DDEBUG
+-CFLAGS = -O -Wall
+ SRC = waveplay.c
+ OBJS = waveplay.o
+ HDR = wavefmt.h
diff --git a/audio/waveplay/files/patch-ab b/audio/waveplay/files/patch-ab
new file mode 100644
index 0000000..9403e8c
--- /dev/null
+++ b/audio/waveplay/files/patch-ab
@@ -0,0 +1,19 @@
+*** waveplay.c~ Wed Sep 9 14:24:05 1998
+--- waveplay.c Wed Nov 24 15:11:40 1999
+***************
+*** 150,156 ****
+ {
+ if (!stdin_flag)
+ fprintf(stderr, "File name : %s\n", filename);
+! fprintf(stderr, "Sampling rate : %ld Hz\n", wf.nSamplesPerSec);
+ fprintf(stderr, "Bits/Sample : %d Bits\n", wf.wBitsPerSample);
+ fprintf(stderr, "Channels : %d\n", wf.nChannels);
+ if (!rflag)
+--- 150,156 ----
+ {
+ if (!stdin_flag)
+ fprintf(stderr, "File name : %s\n", filename);
+! fprintf(stderr, "Sampling rate : %d Hz\n", wf.nSamplesPerSec);
+ fprintf(stderr, "Bits/Sample : %d Bits\n", wf.wBitsPerSample);
+ fprintf(stderr, "Channels : %d\n", wf.nChannels);
+ if (!rflag)
diff --git a/audio/waveplay/files/patch-ac b/audio/waveplay/files/patch-ac
new file mode 100644
index 0000000..e1dd35f
--- /dev/null
+++ b/audio/waveplay/files/patch-ac
@@ -0,0 +1,51 @@
+*** wavefmt.h~ Wed Sep 9 14:24:05 1998
+--- wavefmt.h Wed Nov 24 15:05:57 1999
+***************
+*** 11,33 ****
+ /* 構造体定義 (ref. MS-Windows mmsystem.h) */
+ typedef struct tWAVEFORMAT
+ {
+! u_short wFormatTag;
+! u_short nChannels;
+! u_long nSamplesPerSec;
+! u_long nAvgBytesPerSec;
+! u_short nBlockAlign;
+! u_short wBitsPerSample;
+ } WAVEFORMAT, *PWAVEFORMAT;
+
+ typedef struct tWAVEFORMATEX
+ {
+! u_short wFormatTag;
+! u_short nChannels;
+! u_long nSamplesPerSec;
+! u_long nAvgBytesPerSec;
+! u_short nBlockAlign;
+! u_short wBitsPerSample;
+! u_short cbSize;
+ } WAVEFORMATEX, *PWAVEFORMATEX;
+
+ #endif /* _WAVE_FMT_H_ */
+--- 11,33 ----
+ /* 構造体定義 (ref. MS-Windows mmsystem.h) */
+ typedef struct tWAVEFORMAT
+ {
+! u_int16_t wFormatTag;
+! u_int16_t nChannels;
+! u_int32_t nSamplesPerSec;
+! u_int32_t nAvgBytesPerSec;
+! u_int16_t nBlockAlign;
+! u_int16_t wBitsPerSample;
+ } WAVEFORMAT, *PWAVEFORMAT;
+
+ typedef struct tWAVEFORMATEX
+ {
+! u_int16_t wFormatTag;
+! u_int16_t nChannels;
+! u_int32_t nSamplesPerSec;
+! u_int32_t nAvgBytesPerSec;
+! u_int16_t nBlockAlign;
+! u_int16_t wBitsPerSample;
+! u_int16_t cbSize;
+ } WAVEFORMATEX, *PWAVEFORMATEX;
+
+ #endif /* _WAVE_FMT_H_ */
OpenPOWER on IntegriCloud