Hi ports --

Currently, audio/paulstretch segfaults when you try to do any work.
The attached patch fixes the segfault and everything works OK.

OK?

~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/paulstretch/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile	12 Jul 2019 20:43:39 -0000	1.15
+++ Makefile	2 Jul 2020 14:57:41 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =	program for extreme audio stretching
 DISTNAME =	paulstretch-2.2-2
-REVISION =	7
+REVISION =	8
 PKGNAME =	paulstretch-2.2.2
 EXTRACT_SUFX =	.tar.bz2
 CATEGORIES =	audio x11
Index: patches/patch-BinauralBeats_h
===================================================================
RCS file: patches/patch-BinauralBeats_h
diff -N patches/patch-BinauralBeats_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-BinauralBeats_h	2 Jul 2020 14:57:41 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+./BinauralBeats.h:41:3: warning: control reaches end of non-void function [-Wreturn-type]
+
+Index: BinauralBeats.h
+--- BinauralBeats.h.orig
++++ BinauralBeats.h
+@@ -38,6 +38,7 @@ class AP{//allpass
+ 		};
+ 		REALTYPE set(REALTYPE a_){
+ 			a=a_*a_;
++			return a;
+ 		};
+ 	private:
+ 		REALTYPE in1,in2,out1,out2;

Reply via email to