Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 05:09:50 -0800 (PST)
From:      conrad@th.physik.uni-bonn.de
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/24427: small fixes for audio/sox
Message-ID:  <200101181309.f0ID9oX35896@freefall.freebsd.org>

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

>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




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