aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/synaesthesia
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-08 09:39:05 +0800
committerkris <kris@FreeBSD.org>2002-09-08 09:39:05 +0800
commitdb474ed0268ab4d68bc8d5e01164fa8aff711d36 (patch)
treed32035a33a3f702bc93ff7715aa9f4bb493c5f16 /graphics/synaesthesia
parente630fe4517b2c55c2bceb271daf2fffbd378e197 (diff)
downloadfreebsd-ports-gnome-db474ed0268ab4d68bc8d5e01164fa8aff711d36.tar.gz
freebsd-ports-gnome-db474ed0268ab4d68bc8d5e01164fa8aff711d36.tar.zst
freebsd-ports-gnome-db474ed0268ab4d68bc8d5e01164fa8aff711d36.zip
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
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);
}
+