summaryrefslogtreecommitdiff
path: root/audio/splay/patches/patch-ah
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-02-20 18:30:39 +0000
committerdmcmahill <dmcmahill>2000-02-20 18:30:39 +0000
commit78d0754a99b871ab35776edf4247bec5475937e8 (patch)
treeb47fd5988708a16040e01f8dede9b123e7b96292 /audio/splay/patches/patch-ah
parent134e41c33ed86dc0d0569165c00eabb0aa0e14c5 (diff)
downloadpkgsrc-78d0754a99b871ab35776edf4247bec5475937e8.tar.gz
- mark as broken on big endian machines.
- add some patches that move in the direction of support for big endian machines.
Diffstat (limited to 'audio/splay/patches/patch-ah')
-rw-r--r--audio/splay/patches/patch-ah19
1 files changed, 12 insertions, 7 deletions
diff --git a/audio/splay/patches/patch-ah b/audio/splay/patches/patch-ah
index c7676173695..846e97524fa 100644
--- a/audio/splay/patches/patch-ah
+++ b/audio/splay/patches/patch-ah
@@ -1,9 +1,8 @@
-$NetBSD: patch-ah,v 1.3 1999/03/28 20:08:09 rh Exp $
+$NetBSD: patch-ah,v 1.4 2000/02/20 18:30:39 dmcmahill Exp $
---- mpegsound/mpeglayer3.cc.orig Fri Mar 6 18:43:55 1998
-+++ mpegsound/mpeglayer3.cc Sun Mar 28 19:41:06 1999
-@@ -46,17 +46,16 @@
- {
+--- mpegsound/mpeglayer3.cc.orig Fri Mar 6 12:43:55 1998
++++ mpegsound/mpeglayer3.cc Sun Feb 20 10:48:43 2000
+@@ -47,15 +47,14 @@
register unsigned short a;
-#ifndef WORDS_BIGENDIAN
@@ -17,9 +16,15 @@ $NetBSD: patch-ah,v 1.3 1999/03/28 20:08:09 rh Exp $
#else
- // a=((unsigned short *)(buffer+((bixindex>>3)&(WINDOWSIZE-1))));
- a=((unsigned short *)(buffer+((bixindex>>3))));
-+ a=((unsigned short *)(buffer+offset));
++ a=(unsigned short)(buffer[offset]);
#endif
+ }
a<<=(bitindex&7);
- bitindex+=bits;
+@@ -770,5 +769,5 @@
+ {
+ const HUFFMANCODETABLE *h;
+- register end;
++ register int end;
+
+ if (i<region1Start)