summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-21 15:47:27 +0000
committerwiz <wiz@pkgsrc.org>2001-03-21 15:47:27 +0000
commit514faeb0104295a025ce986e07cd4d79ee08142e (patch)
tree63ae8ebc7d56e32ce2cdc817bb3f967794412029 /audio
parent2cea0f14273dee7f24044287611bd20a8c470c52 (diff)
downloadpkgsrc-514faeb0104295a025ce986e07cd4d79ee08142e.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')
-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;