[BACK]Return to patch-source_SoundTouch_FIRFilter.cpp CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / soundtouch / patches

File: [cvs.NetBSD.org] / pkgsrc / audio / soundtouch / patches / Attic / patch-source_SoundTouch_FIRFilter.cpp (download)

Revision 1.1, Tue Sep 23 13:28:54 2014 UTC (6 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3

Fix build on SunOS (alloca() needs alloca.h)

$NetBSD: patch-source_SoundTouch_FIRFilter.cpp,v 1.1 2014/09/23 13:28:54 jperkin Exp $

SunOS needs alloca.h for alloca()

--- source/SoundTouch/FIRFilter.cpp.orig	2014-01-07 20:28:51.000000000 +0000
+++ source/SoundTouch/FIRFilter.cpp
@@ -39,6 +39,9 @@
 //
 ////////////////////////////////////////////////////////////////////////////////
 
+#ifdef __sun
+#include <alloca.h>
+#endif
 #include <memory.h>
 #include <assert.h>
 #include <math.h>