Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  8 Jun 2006 01:01:49 +0900 (JST)
From:      Yoshihide Sonoda <yshd@na.rim.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98638: update port: audio/waveplay
Message-ID:  <20060607160149.AC6585C03D@sayaka.sokohiki.org>
Resent-Message-ID: <200606071810.k57IASZC051889@freefall.freebsd.org>

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

>Number:         98638
>Category:       ports
>Synopsis:       update port: audio/waveplay
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 07 18:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihide Sonoda
>Release:        FreeBSD 6.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD sayaka.sokohiki.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Nov 12 15:45:56 JST 2005 root@kotoko.sokohiki.org:/usr/obj/usr/src/sys/kotoko amd64


	
>Description:
	a change of MASTER_SITES and a bug fix

>How-To-Repeat:
	
>Fix:

	

Please apply this patch.

--- waveplay.diff begins here ---
diff -uNr waveplay.old/Makefile waveplay/Makefile
--- waveplay.old/Makefile	Tue Jan 25 18:15:36 2005
+++ waveplay/Makefile	Thu Jun  8 00:12:39 2006
@@ -7,8 +7,9 @@
 
 PORTNAME=		waveplay
 PORTVERSION=		2001.09.24
+PORTREVISION=		1
 CATEGORIES=		audio
-MASTER_SITES=		http://sore.totto.to/~ysonoda/FreeBSD/ports/
+MASTER_SITES=		http://www.sokohiki.org/~yoshi/FreeBSD/ports/
 DISTNAME=		waveplay-20010924
 
 MAINTAINER=		yshd@na.rim.or.jp
diff -uNr waveplay.old/files/patch-aa waveplay/files/patch-aa
--- waveplay.old/files/patch-aa	Thu Jan  1 09:00:00 1970
+++ waveplay/files/patch-aa	Thu Jun  8 00:23:12 2006
@@ -0,0 +1,24 @@
+*** waveplay.c~	Mon Sep 24 16:38:40 2001
+--- waveplay.c	Thu Jun  8 00:22:50 2006
+***************
+*** 286,293 ****
+      int status;
+      int arg;
+  
+!     if ((fd = open(devname, O_WRONLY)) == -1)
+      	return fd;
+  
+      /* チャンネル(STEREO or MONAURAL)を設定 */
+      arg = (int)(pwf->nChannels);
+--- 286,296 ----
+      int status;
+      int arg;
+  
+!     if ((fd = open(devname, O_WRONLY)) == -1) {
+!         fprintf(stderr, "%s - ", devname);
+!         perror("openDSP");
+      	return fd;
++     }
+  
+      /* チャンネル(STEREO or MONAURAL)を設定 */
+      arg = (int)(pwf->nChannels);
--- waveplay.diff ends here ---


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



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