diff options
-rw-r--r-- | audio/spiralloops/distinfo | 3 | ||||
-rw-r--r-- | audio/spiralloops/patches/patch-ar | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/audio/spiralloops/distinfo b/audio/spiralloops/distinfo index 992edffd773..31dad72f200 100644 --- a/audio/spiralloops/distinfo +++ b/audio/spiralloops/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2006/01/05 15:35:07 joerg Exp $ +$NetBSD: distinfo,v 1.10 2007/09/29 11:38:22 rillig Exp $ SHA1 (SpiralLoops-2.0.0.tar.gz) = 47d9caa17f20827abef7708bff212bb3fad58a72 RMD160 (SpiralLoops-2.0.0.tar.gz) = b164bacf6d18128111959dbca079883b7fde8d85 @@ -20,3 +20,4 @@ SHA1 (patch-an) = f86cb89933e7c1a57d696283e398a40a579c04f1 SHA1 (patch-ao) = fb30e505afb754536a07f0537109ceaeb343a5e4 SHA1 (patch-ap) = adde17445fa15afa122dc1addf0c06f6504bef0c SHA1 (patch-aq) = 3f21e84fcbc911ebaf3bb60009f7f0b4b60c801a +SHA1 (patch-ar) = 39e110d78bac2d704ef6f2e6d27f3f36058d46bf diff --git a/audio/spiralloops/patches/patch-ar b/audio/spiralloops/patches/patch-ar new file mode 100644 index 00000000000..c11ce150727 --- /dev/null +++ b/audio/spiralloops/patches/patch-ar @@ -0,0 +1,31 @@ +$NetBSD: patch-ar,v 1.1 2007/09/29 11:38:22 rillig Exp $ + +g++ 4 enforces cleaner code. + +--- SpiralSound/Sample.h.orig 2001-04-19 22:48:13.000000000 +0200 ++++ SpiralSound/Sample.h 2007-09-29 13:36:09.000000000 +0200 +@@ -63,13 +63,13 @@ public: + 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 @@ public: + 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()); |