summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/sndpeek/files')
-rw-r--r--media-sound/sndpeek/files/sndpeek-1.4-gcc.patch12
-rw-r--r--media-sound/sndpeek/files/sndpeek-1.4-ldflags.patch65
2 files changed, 77 insertions, 0 deletions
diff --git a/media-sound/sndpeek/files/sndpeek-1.4-gcc.patch b/media-sound/sndpeek/files/sndpeek-1.4-gcc.patch
new file mode 100644
index 000000000000..524b0bd746af
--- /dev/null
+++ b/media-sound/sndpeek/files/sndpeek-1.4-gcc.patch
@@ -0,0 +1,12 @@
+Index: sndpeek-1.4/src/marsyas/LPC.cpp
+===================================================================
+--- sndpeek-1.4.orig/src/marsyas/LPC.cpp
++++ sndpeek-1.4/src/marsyas/LPC.cpp
+@@ -26,6 +26,7 @@ in Speech Recognition research.
+ */
+
+
++#include <cstdlib>
+ #include "LPC.h"
+
+ LPC::LPC( unsigned int inSize )
diff --git a/media-sound/sndpeek/files/sndpeek-1.4-ldflags.patch b/media-sound/sndpeek/files/sndpeek-1.4-ldflags.patch
new file mode 100644
index 000000000000..9822434b263a
--- /dev/null
+++ b/media-sound/sndpeek/files/sndpeek-1.4-ldflags.patch
@@ -0,0 +1,65 @@
+Index: sndpeek-1.4/src/sndpeek/makefile.alsa
+===================================================================
+--- sndpeek-1.4.orig/src/sndpeek/makefile.alsa
++++ sndpeek-1.4/src/sndpeek/makefile.alsa
+@@ -12,7 +12,7 @@ OBJS=chuck_fft.o RtAudio.o Thread.o sndp
+ MagFFT.o NormRMS.o MarSignal.o fmatrix.o
+
+ sndpeek: $(OBJS)
+- $(CXX) -o $@ $(OBJS) $(LIBS)
++ $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ Centroid.o:
+ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp
+Index: sndpeek-1.4/src/sndpeek/makefile.jack
+===================================================================
+--- sndpeek-1.4.orig/src/sndpeek/makefile.jack
++++ sndpeek-1.4/src/sndpeek/makefile.jack
+@@ -11,7 +11,7 @@ OBJS=chuck_fft.o RtAudio.o Thread.o sndp
+ MagFFT.o NormRMS.o MarSignal.o fmatrix.o
+
+ sndpeek: $(OBJS)
+- $(CXX) -o $@ $(OBJS) $(LIBS)
++ $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ Centroid.o:
+ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp
+Index: sndpeek-1.4/src/sndpeek/makefile.oss
+===================================================================
+--- sndpeek-1.4.orig/src/sndpeek/makefile.oss
++++ sndpeek-1.4/src/sndpeek/makefile.oss
+@@ -12,7 +12,7 @@ OBJS=chuck_fft.o RtAudio.o Thread.o sndp
+ MagFFT.o NormRMS.o MarSignal.o fmatrix.o
+
+ sndpeek: $(OBJS)
+- $(CXX) -o $@ $(OBJS) $(LIBS)
++ $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ Centroid.o:
+ $(CXX) $(CFLAGS) $(MARSYAS_DIR)$*.cpp
+Index: sndpeek-1.4/src/sndpeek/makefile.osx
+===================================================================
+--- sndpeek-1.4.orig/src/sndpeek/makefile.osx
++++ sndpeek-1.4/src/sndpeek/makefile.osx
+@@ -13,7 +13,7 @@ OBJS=chuck_fft.o RtAudio.o Thread.o sndp
+ MagFFT.o NormRMS.o MarSignal.o fmatrix.o
+
+ sndpeek: $(OBJS)
+- $(CPP) -o $@ $(OBJS) $(LIBS)
++ $(CPP) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ Centroid.o:
+ $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp
+Index: sndpeek-1.4/src/sndpeek/makefile.win32
+===================================================================
+--- sndpeek-1.4.orig/src/sndpeek/makefile.win32
++++ sndpeek-1.4/src/sndpeek/makefile.win32
+@@ -12,7 +12,7 @@ OBJS=chuck_fft.o RtAudio.o Thread.o sndp
+ MagFFT.o NormRMS.o MarSignal.o fmatrix.o
+
+ sndpeek: $(OBJS)
+- $(CPP) -o $@ $(OBJS) $(LIBS)
++ $(CPP) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ Centroid.o:
+ $(CC) $(CFLAGS) $(MARSYAS_DIR)$*.cpp