summaryrefslogtreecommitdiff
path: root/audio/splay
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-05-12 11:30:02 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-05-12 11:30:02 +0000
commite6799bd001d8a99ea6d4cf47883b6b6a0b064362 (patch)
tree768d5a37af01979470d114eb538483ca14646d6b /audio/splay
parent045736862d46ece7816944e8179c1aa3d1b7d223 (diff)
downloadpkgsrc-e6799bd001d8a99ea6d4cf47883b6b6a0b064362.tar.gz
Fix a typo that prevented compilation in BIGENDIAN case.
Diffstat (limited to 'audio/splay')
-rw-r--r--audio/splay/patches/patch-ah11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/splay/patches/patch-ah b/audio/splay/patches/patch-ah
new file mode 100644
index 00000000000..5ca9133736d
--- /dev/null
+++ b/audio/splay/patches/patch-ah
@@ -0,0 +1,11 @@
+--- mpegsound/mpeglayer3.cc-orig Sat May 24 11:34:12 1997
++++ mpegsound/mpeglayer3.cc Tue May 12 13:10:28 1998
+@@ -40,7 +40,7 @@
+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
+ }
+ #else
+- a=((unsigned short *)(buffer+((bixindex>>3)&(WINDOWSIZE-1))));
++ a=((unsigned short *)(buffer+((bitindex>>3)&(WINDOWSIZE-1))));
+ #endif
+
+ a<<=(bitindex&7);