summaryrefslogtreecommitdiff
path: root/audio/spiralloops
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-12-18 02:01:00 +0000
committerJohn Marino <marino@FreeBSD.org>2016-12-18 02:01:00 +0000
commite26455b188d5a744acefb41123ab3cc22e1d1f0f (patch)
treec61213054ffd2e74db54749e816f3cdf31347b42 /audio/spiralloops
parentaudio/py-cddb: Fix build on DF (taken from dports) (diff)
audio/spiralloops: Fix build on GCC (taken from dports)
Notes
Notes: svn path=/head/; revision=428824
Diffstat (limited to 'audio/spiralloops')
-rw-r--r--audio/spiralloops/files/patch-SpiralSound_Sample.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/audio/spiralloops/files/patch-SpiralSound_Sample.h b/audio/spiralloops/files/patch-SpiralSound_Sample.h
index 0051162e48a4..8e4528f5faf2 100644
--- a/audio/spiralloops/files/patch-SpiralSound_Sample.h
+++ b/audio/spiralloops/files/patch-SpiralSound_Sample.h
@@ -1,6 +1,14 @@
---- SpiralSound/Sample.h.orig Fri Dec 22 18:39:01 2006
-+++ SpiralSound/Sample.h Fri Dec 22 18:39:30 2006
-@@ -63,13 +63,13 @@
+--- SpiralSound/Sample.h.orig 2001-04-19 20:48:13 UTC
++++ SpiralSound/Sample.h
+@@ -21,6 +21,7 @@
+
+ #include <assert.h>
+ #include <iostream>
++#include <cstring>
+ #include "SpiralInfo.h"
+
+ static const unsigned short UMAX_LEV = 65535;
+@@ -63,13 +64,13 @@ public:
void Shrink(int Length);
void CropTo(int NewLength);
@@ -16,7 +24,7 @@
{
assert(i>=0 && i<m_Length);
// clip
-@@ -79,7 +79,7 @@
+@@ -79,7 +80,7 @@ public:
m_Data[i]=(short)v;
}