summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoraugustss <augustss>1998-01-06 22:48:27 +0000
committeraugustss <augustss>1998-01-06 22:48:27 +0000
commit745051760c288dfb8af00efa8acd7976941e8943 (patch)
tree92c2ce988d1a26f60ee165087b4677db2a7f697a /audio
parenta6749be8584173a7240a5d73c4d3a5ba2e30bb26 (diff)
downloadpkgsrc-745051760c288dfb8af00efa8acd7976941e8943.tar.gz
Fix misspelled variable.
Diffstat (limited to 'audio')
-rw-r--r--audio/splay/patches/patch-ad36
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/splay/patches/patch-ad b/audio/splay/patches/patch-ad
new file mode 100644
index 00000000000..5505d145dc7
--- /dev/null
+++ b/audio/splay/patches/patch-ad
@@ -0,0 +1,36 @@
+*** mpegsound/mpegsound.h.orig Tue Jan 6 23:46:00 1998
+--- mpegsound/mpegsound.h Tue Jan 6 23:45:01 1998
+***************
+*** 247,253 ****
+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
+ }
+ #else
+! a=((unsigned short *)(buffer+((bixindex>>3))));
+ #endif
+
+ a<<=(bitindex&7);
+--- 247,253 ----
+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
+ }
+ #else
+! a=((unsigned short *)(buffer+((bitindex>>3))));
+ #endif
+
+ a<<=(bitindex&7);
+***************
+*** 266,272 ****
+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
+ }
+ #else
+! a=((unsigned short *)(buffer+((bixindex>>3))));
+ #endif
+
+ a<<=(bitindex&7);
+--- 266,272 ----
+ a=(((unsigned char)buffer[offset])<<8) | ((unsigned char)buffer[offset+1]);
+ }
+ #else
+! a=((unsigned short *)(buffer+((bitindex>>3))));
+ #endif
+
+ a<<=(bitindex&7);