aboutsummaryrefslogtreecommitdiff
path: root/audio/waveplay
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-27 21:47:15 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-27 21:47:15 +0000
commita91f25777656028c1c61bc801f768d905298d805 (patch)
tree242e7bf61318e70794812a2761d7e56c96a6211b /audio/waveplay
parent81a63133444f358adf9f562538e9d974f53a2fc9 (diff)
downloadports-a91f25777656028c1c61bc801f768d905298d805.tar.gz
ports-a91f25777656028c1c61bc801f768d905298d805.zip
Notes
Diffstat (limited to 'audio/waveplay')
-rw-r--r--audio/waveplay/Makefile7
-rw-r--r--audio/waveplay/files/patch-aa10
-rw-r--r--audio/waveplay/files/patch-ab19
-rw-r--r--audio/waveplay/files/patch-ac51
4 files changed, 82 insertions, 5 deletions
diff --git a/audio/waveplay/Makefile b/audio/waveplay/Makefile
index 6409e0960ddf..a3a101e44254 100644
--- a/audio/waveplay/Makefile
+++ b/audio/waveplay/Makefile
@@ -1,7 +1,7 @@
# New ports collection makefile for: waveplay
# Version required: 1.0
# Date created: 23 Jan 1999
-# Whom: ysonoda@dontaku.csce.kyushu-u.ac.jp
+# Whom: Yoshihide SONODA <ysonoda@dontaku.csce.kyushu-u.ac.jp>
#
# $FreeBSD$
#
@@ -14,10 +14,7 @@ MASTER_SITES= http://dontaku.csce.kyushu-u.ac.jp/~ysonoda/archives/program/Free
MAINTAINER= ysonoda@dontaku.csce.kyushu-u.ac.jp
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/waveplay ${PREFIX}/bin/waveplay
-
-post-install:
- strip ${PREFIX}/bin/waveplay
+ ${INSTALL_PROGRAM} ${WRKSRC}/waveplay ${PREFIX}/bin/waveplay
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/waveplay
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/waveplay/
diff --git a/audio/waveplay/files/patch-aa b/audio/waveplay/files/patch-aa
new file mode 100644
index 000000000000..768cce92f351
--- /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 000000000000..9403e8c6089c
--- /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 000000000000..e1dd35fb3785
--- /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_ */