summaryrefslogtreecommitdiff
path: root/audio/sox
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-02-26 04:14:40 +0000
committerSteve Price <steve@FreeBSD.org>2001-02-26 04:14:40 +0000
commit8c5cb7b00b3210bb623717f2736e6113ebda6936 (patch)
treeecdee8be95e2317c97c133e5e9971c83da858f1b /audio/sox
parentUpdate to version 0.6b. (diff)
Fix compilation errors on FreeBSD/Alpha.
PR: 24427 Submitted by: Jan Conrad <conrad@th.physik.uni-bonn.de>
Notes
Notes: svn path=/head/; revision=38744
Diffstat (limited to 'audio/sox')
-rw-r--r--audio/sox/files/patch-aa11
-rw-r--r--audio/sox/files/patch-ab11
2 files changed, 22 insertions, 0 deletions
diff --git a/audio/sox/files/patch-aa b/audio/sox/files/patch-aa
new file mode 100644
index 000000000000..6b0b4b75867c
--- /dev/null
+++ b/audio/sox/files/patch-aa
@@ -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. */
diff --git a/audio/sox/files/patch-ab b/audio/sox/files/patch-ab
new file mode 100644
index 000000000000..a28c33234f86
--- /dev/null
+++ b/audio/sox/files/patch-ab
@@ -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;
+