rakarrack: fix segmentation fault

This commit is contained in:
Isidor Zeuner 2023-12-09 10:05:17 +01:00
parent 87e5690bba
commit 383eba59d3
2 changed files with 16 additions and 1 deletions

View File

@ -12,7 +12,11 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
patches = [ ./fltk-path.patch ];
patches = [
./fltk-path.patch
# https://sourceforge.net/p/rakarrack/git/merge-requests/2/
./looper-preset.patch
];
buildInputs = [ alsa-lib alsa-utils fltk libjack2 libXft libXpm libjpeg
libpng libsamplerate libsndfile zlib ];

View File

@ -0,0 +1,11 @@
diff -Naurd rakarrack-0.6.1/src/Looper.C rakarrack-0.6.1-segfault/src/Looper.C
--- rakarrack-0.6.1/src/Looper.C 2010-10-01 01:27:55.000000000 +0000
+++ rakarrack-0.6.1-segfault/src/Looper.C 2023-12-08 21:12:31.818569726 +0000
@@ -34,6 +34,7 @@
efxoutr = efxoutr_;
//default values
+ Ppreset = 0;
Pclear = 1;
Pplay = 0;
Precord = 0;