1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/xwave/files/patch-af
Maxim Sobolev 47aaab6ded - Update to version 2v2
PR:		19759
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-07-13 13:32:27 +00:00

21 lines
707 B
Plaintext

--- src/effects.c.orig Mon Nov 9 08:22:55 1998
+++ src/effects.c Fri Jun 30 19:49:16 2000
@@ -348,7 +348,7 @@
switch (sr->res) {
case 8: {
-#if defined (linux) || defined (FreeBSD)
+#if defined (linux) || defined (__FreeBSD__)
for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)+1]+128;
#elif defined (sgi) || defined (sun)
for (i=0;i<newlength;i++) newbuf[i]=obuf[(i<<1)]+128;
@@ -356,7 +356,7 @@
break;
}
case 16: {
-#if defined (linux) || defined (FreeBSD)
+#if defined (linux) || defined (__FreeBSD__)
for (i=0;i<wd->length;i++) newbuf[(i<<1)+1]=obuf[i]-128;
#elif defined (sgi) || defined (sun)
for (i=0;i<wd->length;i++) newbuf[(i<<1)]=obuf[i]-128;