summary refs log tree commit diff
path: root/pkgs/applications/audio/sndpeek/pthread.patch
diff options
context:
space:
mode:
authorGwendolyn Quasebarth <gwen@quasebarth.de>2019-09-29 09:27:04 +0200
committerLassulus <github@lassul.us>2019-09-29 14:17:46 +0200
commit3090b90830bbb9e0be39e1e24773b912b781e565 (patch)
treee8f21a4a6025e046484a49427279933e18ecbd24 /pkgs/applications/audio/sndpeek/pthread.patch
parent0beeafc4a9d70659acf0fb9922dc28638ab8d06d (diff)
downloadnixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.tar
nixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.tar.gz
nixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.tar.bz2
nixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.tar.lz
nixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.tar.xz
nixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.tar.zst
nixpkgs-3090b90830bbb9e0be39e1e24773b912b781e565.zip
sndpeek: init at 1.4
This version compiles with ALSA, although other modes of compilation could be
imagined.
Diffstat (limited to 'pkgs/applications/audio/sndpeek/pthread.patch')
-rw-r--r--pkgs/applications/audio/sndpeek/pthread.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/audio/sndpeek/pthread.patch b/pkgs/applications/audio/sndpeek/pthread.patch
new file mode 100644
index 00000000000..b2f1d37da6b
--- /dev/null
+++ b/pkgs/applications/audio/sndpeek/pthread.patch
@@ -0,0 +1,13 @@
+diff --git a/makefile.alsa b/makefile.alsa
+index 34fb848..cdaeaec 100644
+--- a/makefile.alsa
++++ b/makefile.alsa
+@@ -4,7 +4,7 @@ CPP=g++
+ INCLUDES=-I../marsyas/
+ MARSYAS_DIR=../marsyas/
+ CFLAGS=-D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ $(INCLUDES) -O3 -c
+-LIBS=-L/usr/X11R6/lib -lglut -lGL -lGLU -lasound -lXmu -lX11 -lXext -lXi -lm -lsndfile
++LIBS=-L/usr/X11R6/lib -lglut -lGL -lGLU -lasound -lXmu -lX11 -lXext -lXi -lm -lsndfile -lpthread
+ 
+ OBJS=chuck_fft.o RtAudio.o Thread.o sndpeek.o Stk.o \
+ 	Centroid.o DownSampler.o Flux.o LPC.o MFCC.o RMS.o Rolloff.o \