diff options
author | marino <marino@FreeBSD.org> | 2016-12-18 10:01:00 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-12-18 10:01:00 +0800 |
commit | 02f77d944c34491fbfc83c9c27fb6cf8665f73fd (patch) | |
tree | c61213054ffd2e74db54749e816f3cdf31347b42 | |
parent | 8c3a42fd98a692c93b6edba28b82c152fdf3b364 (diff) | |
download | freebsd-ports-gnome-02f77d944c34491fbfc83c9c27fb6cf8665f73fd.tar.gz freebsd-ports-gnome-02f77d944c34491fbfc83c9c27fb6cf8665f73fd.tar.zst freebsd-ports-gnome-02f77d944c34491fbfc83c9c27fb6cf8665f73fd.zip |
audio/spiralloops: Fix build on GCC (taken from dports)
-rw-r--r-- | audio/spiralloops/files/patch-SpiralSound_Sample.h | 16 |
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; } |