aboutsummaryrefslogtreecommitdiff
path: root/graphics/synaesthesia
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-08 01:39:05 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-08 01:39:05 +0000
commit3e9c07aa9ff347231ed1787df99b1ce52cb7d832 (patch)
tree543f465bce7d8f1cb9ea8ab7c7ac117b18958701 /graphics/synaesthesia
parent08a458ee8fbb4d44ac6ba6645d97a02aa7b97201 (diff)
downloadports-3e9c07aa9ff347231ed1787df99b1ce52cb7d832.tar.gz
ports-3e9c07aa9ff347231ed1787df99b1ce52cb7d832.zip
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
Notes
Notes: svn path=/head/; revision=65817
Diffstat (limited to 'graphics/synaesthesia')
-rw-r--r--graphics/synaesthesia/files/patch-sound.cc14
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/synaesthesia/files/patch-sound.cc b/graphics/synaesthesia/files/patch-sound.cc
index 2119deba4126..40a7b2a23105 100644
--- a/graphics/synaesthesia/files/patch-sound.cc
+++ b/graphics/synaesthesia/files/patch-sound.cc
@@ -1,5 +1,14 @@
---- sound.cc.orig Fri May 25 23:13:55 2001
-+++ sound.cc Fri May 25 23:13:59 2001
+--- sound.cc.orig Wed Jun 7 22:41:06 2000
++++ sound.cc Sat Sep 7 17:45:37 2002
+@@ -39,7 +39,7 @@
+ #include <linux/cdrom.h>
+ //#include <linux/ucdrom.h>
+ #else
+-#include <machine/soundcard.h>
++#include <sys/soundcard.h>
+ #include <sys/cdio.h>
+ #define CDROM_LEADOUT 0xAA
+ #define CD_FRAMES 75 /* frames per second */
@@ -423,7 +423,7 @@
}
}
@@ -8,3 +17,4 @@
+ data = new u_short[NumSamples*2];
memset((char*)data,0,NumSamples*4);
}
+