From greid@ukug.uk.freebsd.org  Fri Dec 22 05:48:58 2000
Return-Path: <greid@ukug.uk.freebsd.org>
Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47])
	by hub.freebsd.org (Postfix) with ESMTP id 1BF9D37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Dec 2000 05:48:58 -0800 (PST)
Received: from sobek.openirc.co.uk ([62.252.14.36])
          by mta07-svc.ntlworld.com
          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
          id <20001222134846.XBSB26323.mta07-svc.ntlworld.com@sobek.openirc.co.uk>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 22 Dec 2000 13:48:46 +0000
Message-Id: <Pine.BSF.4.21.0012221351050.98390-100000@sobek.openirc.co.uk>
Date: Fri, 22 Dec 2000 13:52:42 +0000 (GMT)
From: George Reid <greid@ukug.uk.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] audio/mxv has unfetchable distfile

>Number:         23753
>Category:       ports
>Synopsis:       [PATCH] audio/mxv has unfetchable distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 22 05:50:00 PST 2000
>Closed-Date:    Thu Aug 30 20:59:33 PDT 2001
>Last-Modified:  Thu Aug 30 20:59:46 PDT 2001
>Originator:     George Reid
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD UKUG
>Environment:
n/a
>Description:
Port audio/mxv has an unfetchable distfile. Patch updates port to
version 1.23PL03. Patches from previous version are merged.
>How-To-Repeat:
Try to build :)
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/home/ncvs/ports/audio/mxv/Makefile,v
retrieving revision 1.11
diff -r1.11 Makefile
9c9
< PORTVERSION=	1.20
---
> PORTVERSION=	1.23PL03
Index: distinfo
===================================================================
RCS file: /usr/home/ncvs/ports/audio/mxv/distinfo,v
retrieving revision 1.2
diff -r1.2 distinfo
1c1
< MD5 (mxv-v1.20-source.tar.gz) = 742a7d49d5754853ab9dcacfae91c633
---
> MD5 (mxv-v1.23PL03-source.tar.gz) = cadba2e57afb929dd6c2cc520e5f9497
Index: files/patch-ai
===================================================================
RCS file: /usr/home/ncvs/ports/audio/mxv/files/patch-ai,v
retrieving revision 1.2
diff -r1.2 patch-ai
1,2c1,2
< *** old/vw_converter.C	Thu Jan 30 00:22:41 1997
< --- vw_converter.C	Mon Jul 12 15:28:20 1999
---
> *** vw_converter.C.orig	Mon Mar 27 22:54:58 2000
> --- vw_converter.C	Fri Dec 22 13:49:15 2000
4,6c4,7
< *** 27,33 ****
< --- 27,37 ----
<   #pragma implementation
---
> *** 36,42 ****
> --- 36,46 ----
>   #ifdef DEBUG_MIXER
>   #include <string.h>
8d8
<   
13a14
>   #include <String.h>
16d16
<   #include "vw_converter.h"
18,19c18,20
< *** 114,122 ****
<   		fprintf(stderr, "setting frag size code to 0x%x\n", sizeCode);
---
> *** 492,498 ****
> --- 496,504 ----
>   		fprintf(stderr, "attempting to set frag size code to 0x%x\n", sizeCode);
21,31c22
<   
<   		if (!ioctl (SNDCTL_DSP_SETFRAGMENT, (char *) &sizeCode))
<   			error("Unable to set fragment size.");
< ! 		else if (!ioctl(SNDCTL_DSP_SETFMT, (char *) &confirmedFormat))
<   			error("Unable to set sample format.");
<   		else if(confirmedFormat != sampleFormat)
<   			error("This sample format not supported by hardware.");
< --- 118,129 ----
<   		fprintf(stderr, "setting frag size code to 0x%x\n", sizeCode);
<   #endif
<   
---
>   		// we do not check for failure on this
33,37c24,26
<   		if (!ioctl (SNDCTL_DSP_SETFRAGMENT, (char *) &sizeCode))
<   			error("Unable to set fragment size.");
< ! 		else 
< ! #endif
< ! 		if (!ioctl(SNDCTL_DSP_SETFMT, (char *) &confirmedFormat))
---
>   		ioctl (SNDCTL_DSP_SETFRAGMENT, (char *) &sizeCode);
> + #endif
>   		if (!ioctl(SNDCTL_DSP_SETFMT, (char *) &confirmedFormat))
40d28
<   			error("This sample format not supported by hardware.");


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: sf 
State-Changed-When: Sun Jan 21 10:03:23 PST 2001 
State-Changed-Why:  
Forwarded to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23753 
State-Changed-From-To: feedback->closed 
State-Changed-By: dwcjr 
State-Changed-When: Thu Aug 30 20:59:33 PDT 2001 
State-Changed-Why:  
Is able to be fetched now. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23753 
>Unformatted:
