1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Fix compilation errors on FreeBSD/Alpha.

PR:		24427
Submitted by:	Jan Conrad <conrad@th.physik.uni-bonn.de>
This commit is contained in:
Steve Price 2001-02-26 04:14:40 +00:00
parent 5e2335e108
commit 8c5cb7b00b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38744
2 changed files with 22 additions and 0 deletions

11
audio/sox/files/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- avr.c.orig Mon Aug 14 21:10:58 2000
+++ avr.c Sat Feb 24 22:27:31 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. */

11
audio/sox/files/patch-ab Normal file
View File

@ -0,0 +1,11 @@
--- resample.c.orig Fri Sep 1 11:08:24 2000
+++ resample.c Sat Feb 24 22:28:16 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;