summaryrefslogtreecommitdiff
path: root/audio/libvorbis
diff options
context:
space:
mode:
authorwiz <wiz>2001-03-21 15:47:27 +0000
committerwiz <wiz>2001-03-21 15:47:27 +0000
commit8f8b8a79365082af1a205f072f2c2c3fd5a169d1 (patch)
tree63ae8ebc7d56e32ce2cdc817bb3f967794412029 /audio/libvorbis
parentff3e16c182d2ae04d4461b806487b6562b087ce8 (diff)
downloadpkgsrc-8f8b8a79365082af1a205f072f2c2c3fd5a169d1.tar.gz
Add a patch forwarded from the Xiphophorus CVS repository by
Christian Weisgerber: Fixes encoder core dumps on 64-bit architectures.
Diffstat (limited to 'audio/libvorbis')
-rw-r--r--audio/libvorbis/files/patch-sum3
-rw-r--r--audio/libvorbis/patches/patch-aa13
2 files changed, 16 insertions, 0 deletions
diff --git a/audio/libvorbis/files/patch-sum b/audio/libvorbis/files/patch-sum
new file mode 100644
index 00000000000..58ef21add55
--- /dev/null
+++ b/audio/libvorbis/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2001/03/21 15:47:27 wiz Exp $
+
+SHA1 (patch-aa) = 2293192c1eeadfdb9629d94c86a083c8e348f137
diff --git a/audio/libvorbis/patches/patch-aa b/audio/libvorbis/patches/patch-aa
new file mode 100644
index 00000000000..9e23ba939bd
--- /dev/null
+++ b/audio/libvorbis/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2001/03/21 15:47:28 wiz Exp $
+
+--- lib/psy.c.orig Mon Feb 26 05:37:59 2001
++++ lib/psy.c
+@@ -191,7 +191,7 @@
+ p->total_octave_lines=maxoc-p->firstoc+1;
+
+ p->ath=_ogg_malloc(n*sizeof(float));
+- p->octave=_ogg_malloc(n*sizeof(int));
++ p->octave=_ogg_malloc(n*sizeof(long));
+ p->bark=_ogg_malloc(n*sizeof(float));
+ p->vi=vi;
+ p->n=n;