summaryrefslogtreecommitdiff
path: root/audio/splay
diff options
context:
space:
mode:
authoraugustss <augustss@pkgsrc.org>1998-01-06 22:48:27 +0000
committeraugustss <augustss@pkgsrc.org>1998-01-06 22:48:27 +0000
commitfbe24d3f5e044e20448cdf5b50673464badaaf97 (patch)
tree92c2ce988d1a26f60ee165087b4677db2a7f697a /audio/splay
parentaea2af033f1db82ed09664e353461e2f3f9ccf65 (diff)
downloadpkgsrc-fbe24d3f5e044e20448cdf5b50673464badaaf97.tar.gz
Fix misspelled variable.
Diffstat (limited to 'audio/splay')
-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);