summaryrefslogtreecommitdiff
path: root/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-30 20:29:02 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-30 20:29:02 +0000
commita8b87e139030b5c64b143ca4b81bc6a0e4e896b0 (patch)
tree980b8d1b3440763a7818f7116bf69633c543aaa2 /audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
parentfix MASTER_SITES URL (diff)
New port spiralsynthmodular version 0.2.0: An object orientated
modular softsynth / sequencer / sampler Submitted by: David Yeske <dyeske@yahoo.com>
Notes
Notes: svn path=/head/; revision=74306
Diffstat (limited to 'audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C')
-rw-r--r--audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C b/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
new file mode 100644
index 000000000000..7a180c71fd69
--- /dev/null
+++ b/audio/spiralsynthmodular/files/patch-SpiralSound::Plugins::OutputPlugin::OutputPlugin.C
@@ -0,0 +1,19 @@
+--- SpiralSound/Plugins/OutputPlugin/OutputPlugin.C.orig Thu Dec 12 16:23:11 2002
++++ SpiralSound/Plugins/OutputPlugin/OutputPlugin.C Tue Jan 7 01:03:15 2003
+@@ -20,6 +20,7 @@
+ #define _ISOC9X_SOURCE 1
+ #define _ISOC99_SOURCE 1
+ #include <math.h>
++#define lrintf(flt) ((int) (flt))
+
+ #include <sys/types.h>
+ #include <stdio.h>
+@@ -27,7 +28,7 @@
+ #include <unistd.h>
+ #include <limits.h>
+ #if defined (__FreeBSD__)
+- #include <machine/soundcard.h>
++ #include <sys/soundcard.h>
+ #else
+ #if defined (__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h> /* OSS emulation */