Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 1999 12:57:28 +0900 (JST)
From:      ysonoda@dontaku.csce.kyushu-u.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15710: Update port: audio/waveplay
Message-ID:  <199912270357.MAA24084@lily.csce.kyushu-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         15710
>Category:       ports
>Synopsis:       Update port: audio/waveplay
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 20:00:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihide SONODA
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
Kyushu University
>Environment:

	

>Description:

	
Update audio/waveplay port.
Including support of FreeBSD/alpha and some modification of Makefile.

>How-To-Repeat:

	

>Fix:
	
	
Please apply this patch.

diff -uNr /usr/ports/audio/waveplay/Makefile waveplay/Makefile
--- /usr/ports/audio/waveplay/Makefile	Wed Aug 25 16:09:10 1999
+++ waveplay/Makefile	Fri Dec 24 09:37:45 1999
@@ -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: ports/audio/waveplay/Makefile,v 1.2 1999/08/25 04:36:16 obrien Exp $
 #
@@ -14,10 +14,7 @@
 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 -uNr /usr/ports/audio/waveplay/patches/patch-aa waveplay/patches/patch-aa
--- /usr/ports/audio/waveplay/patches/patch-aa	Thu Jan  1 09:00:00 1970
+++ waveplay/patches/patch-aa	Fri Dec 24 09:36:38 1999
@@ -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 -uNr /usr/ports/audio/waveplay/patches/patch-ab waveplay/patches/patch-ab
--- /usr/ports/audio/waveplay/patches/patch-ab	Thu Jan  1 09:00:00 1970
+++ waveplay/patches/patch-ab	Wed Nov 24 15:12:33 1999
@@ -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 -uNr /usr/ports/audio/waveplay/patches/patch-ac waveplay/patches/patch-ac
--- /usr/ports/audio/waveplay/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ waveplay/patches/patch-ac	Wed Nov 24 15:06:55 1999
@@ -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_ */

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912270357.MAA24084>