diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-08-25 16:13:08 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-08-25 16:13:08 +0200 |
commit | 05533753408f78186692229b9e88a5edbd0bee10 (patch) | |
tree | 3780d3bd23185535adfec1ef05c7417712cd565c /media-sound/sndpeek/files | |
parent | media-sound/volumeicon: bump to 0.5.1. (diff) | |
download | gentoo-05533753408f78186692229b9e88a5edbd0bee10.tar.gz gentoo-05533753408f78186692229b9e88a5edbd0bee10.tar.bz2 gentoo-05533753408f78186692229b9e88a5edbd0bee10.zip |
media-sound/sndpeek: version bump to 1.4.
Also respect LDFLAGS, bug #334595.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound/sndpeek/files')
-rw-r--r-- | media-sound/sndpeek/files/sndpeek-1.4-gcc.patch | 12 | ||||
-rw-r--r-- | media-sound/sndpeek/files/sndpeek-1.4-ldflags.patch | 65 |
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 |