summaryrefslogtreecommitdiff
path: root/audio/xwave/files/patch-af
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-13 13:32:27 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-13 13:32:27 +0000
commit47aaab6ded97a0b0fd9da2917813d4c57e8534a8 (patch)
tree4dd1d78f8a6d0e49fcb5595643a8f2129456fde1 /audio/xwave/files/patch-af
parentInstall texi2dvi which is required by texi2pdf. (diff)
- Update to version 2v2
PR: 19759 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to '')
-rw-r--r--audio/xwave/files/patch-af20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/xwave/files/patch-af b/audio/xwave/files/patch-af
new file mode 100644
index 000000000000..d36c98bd3663
--- /dev/null
+++ b/audio/xwave/files/patch-af
@@ -0,0 +1,20 @@
+--- 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;