summaryrefslogtreecommitdiff
path: root/audio/spiralsynth/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'audio/spiralsynth/patches/patch-am')
-rw-r--r--audio/spiralsynth/patches/patch-am14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/spiralsynth/patches/patch-am b/audio/spiralsynth/patches/patch-am
new file mode 100644
index 00000000000..4b6610bbf5c
--- /dev/null
+++ b/audio/spiralsynth/patches/patch-am
@@ -0,0 +1,14 @@
+$NetBSD: patch-am,v 1.1 2004/11/25 17:24:27 ben Exp $
+
+--- SpiralSound/Output.C.orig Sun Jun 2 13:58:06 2002
++++ SpiralSound/Output.C
+@@ -20,6 +20,9 @@
+ #define _ISOC99_SOURCE 1
+ #include <math.h>
+ #include "Output.h"
++#ifndef lrintf
++#define lrintf(x) ((long)rintf(x))
++#endif
+
+ #define CHECK_AND_REPORT_ERROR if (result<0) \
+ { \