From owner-freebsd-ports Thu Jan 18 5:10:21 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3AEF037B404 for ; Thu, 18 Jan 2001 05:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0IDA1l35924; Thu, 18 Jan 2001 05:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D829637B401 for ; Thu, 18 Jan 2001 05:09:50 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0ID9oX35896; Thu, 18 Jan 2001 05:09:50 -0800 (PST) (envelope-from nobody) Message-Id: <200101181309.f0ID9oX35896@freefall.freebsd.org> Date: Thu, 18 Jan 2001 05:09:50 -0800 (PST) From: conrad@th.physik.uni-bonn.de To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/24427: small fixes for audio/sox Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24427 >Category: ports >Synopsis: small fixes for audio/sox >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 18 05:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jan Conrad >Release: FreeBSD-4.2R for ALPHA >Organization: Univ. Bonn, Physics Department >Environment: FreeBSD mach.th.physik.uni-bonn.de 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Jan 9 12:40:10 CET 2001 admin@mach.th.physik.uni-bonn.de: /usr/src/sys/compile/MACH alpha >Description: Small fixes for compilation errors on alpha >How-To-Repeat: do make >Fix: use the following patches (in work/sox-12.17.1) D: --- avr.c.orig Tue Aug 15 04:10:58 2000 +++ avr.c Thu Jan 18 12:27:14 2001 @@ -38,7 +38,7 @@ unsigned short midi; /* 0xffff = no MIDI note assigned, 0xffXX = single key note assignment 0xLLHH = key split, low/hi note */ - ULONG int rate; /* sample frequency in hertz */ + ULONG rate; /* sample frequency in hertz */ ULONG size; /* sample length in bytes or words (see rez) */ ULONG lbeg; /* offset to start of loop in bytes or words. set to zero if unused. */ --- resample.c.orig Fri Sep 1 18:08:24 2000 +++ resample.c Thu Jan 18 12:32:34 2001 @@ -180,7 +180,7 @@ resample_t r = (resample_t) effp->priv; LONG Xoff, gcdrate; int i; - extern long st_gcd(P2(long a,long b)); + extern LONG st_gcd(P2(LONG,LONG)); r->Factor = (double)effp->outinfo.rate / (double)effp->ininfo.rate; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message