summaryrefslogtreecommitdiffstats
path: root/audio/spiralloops
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-12-22 17:46:36 +0000
committerarved <arved@FreeBSD.org>2006-12-22 17:46:36 +0000
commit8f862c1080855de0b2a99879d74a7aba28eb6a10 (patch)
tree1a52f8256369d2ebb3395f024f1b93b3a0ef07ca /audio/spiralloops
parentb2c03aea14144c68f1c8ce71aea3b7e0196c6441 (diff)
downloadFreeBSD-ports-8f862c1080855de0b2a99879d74a7aba28eb6a10.zip
FreeBSD-ports-8f862c1080855de0b2a99879d74a7aba28eb6a10.tar.gz
Fix build with gcc41
Diffstat (limited to 'audio/spiralloops')
-rw-r--r--audio/spiralloops/files/patch-SpiralSound-Sample.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/spiralloops/files/patch-SpiralSound-Sample.h b/audio/spiralloops/files/patch-SpiralSound-Sample.h
new file mode 100644
index 0000000..0051162
--- /dev/null
+++ b/audio/spiralloops/files/patch-SpiralSound-Sample.h
@@ -0,0 +1,27 @@
+--- 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 @@
+ void Shrink(int Length);
+ void CropTo(int NewLength);
+
+- inline short &Sample::operator[](int i) const
++ inline short &operator[](int i) const
+ {
+ assert(i>=0 && i<m_Length);
+ return m_Data[i];
+ }
+
+- inline void Sample::Set(int i, long int v)
++ inline void Set(int i, long int v)
+ {
+ assert(i>=0 && i<m_Length);
+ // clip
+@@ -79,7 +79,7 @@
+ m_Data[i]=(short)v;
+ }
+
+- inline Sample &Sample::operator=(const Sample &rhs)
++ inline Sample &operator=(const Sample &rhs)
+ {
+ Allocate(rhs.GetLength());
+ memcpy(m_Data,rhs.GetBuffer(),GetLengthInBytes());
OpenPOWER on IntegriCloud