Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-src_StretcherImpl.cpp,v 1.1 2015/12/28 03:29:33 kamil Exp $
NetBSD ships with alloca() in <stdlib.h>
--- src/StretcherImpl.cpp.orig 2012-10-28 10:30:09.000000000 +0000
+++ src/StretcherImpl.cpp
@@ -37,7 +37,9 @@
#include "base/Profiler.h"
-#ifndef _WIN32
+#ifdef __NetBSD__
+#include <stdlib.h>
+#elif !defined(_WIN32)
#include <alloca.h>
#endif
@@ -1340,4 +1342,3 @@ RubberBandStretcher::Impl::process(const
}
-