diff options
author | kamil <kamil@pkgsrc.org> | 2015-12-28 03:29:33 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2015-12-28 03:29:33 +0000 |
commit | 5159f7d0fa67637991f25c725f9272ebfa906035 (patch) | |
tree | 93cfcd32684f927d044e31fcd00373646cc4d860 /audio/rubberband/patches | |
parent | b7c07349b005e5ad8607a90330b1d4c66de56df4 (diff) | |
download | pkgsrc-5159f7d0fa67637991f25c725f9272ebfa906035.tar.gz |
Import rubberband-1.8.1 as audio/rubberband
Rubber Band is a library and utility program that permits you to change the
tempo and pitch of an audio recording independently of one another.
Diffstat (limited to 'audio/rubberband/patches')
-rw-r--r-- | audio/rubberband/patches/patch-src_StretcherImpl.cpp | 22 | ||||
-rw-r--r-- | audio/rubberband/patches/patch-src_StretcherProcess.cpp | 22 | ||||
-rw-r--r-- | audio/rubberband/patches/patch-src_system_sysutils.h | 17 |
3 files changed, 61 insertions, 0 deletions
diff --git a/audio/rubberband/patches/patch-src_StretcherImpl.cpp b/audio/rubberband/patches/patch-src_StretcherImpl.cpp new file mode 100644 index 00000000000..6c32cbb750a --- /dev/null +++ b/audio/rubberband/patches/patch-src_StretcherImpl.cpp @@ -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 + + + } +- diff --git a/audio/rubberband/patches/patch-src_StretcherProcess.cpp b/audio/rubberband/patches/patch-src_StretcherProcess.cpp new file mode 100644 index 00000000000..c08a1a7e85a --- /dev/null +++ b/audio/rubberband/patches/patch-src_StretcherProcess.cpp @@ -0,0 +1,22 @@ +$NetBSD: patch-src_StretcherProcess.cpp,v 1.1 2015/12/28 03:29:33 kamil Exp $ + +NetBSD ships with alloca() in <stdlib.h> + +--- src/StretcherProcess.cpp.orig 2012-10-28 10:30:09.000000000 +0000 ++++ src/StretcherProcess.cpp +@@ -34,7 +34,9 @@ + #include "base/Profiler.h" + #include "system/VectorOps.h" + +-#ifndef _WIN32 ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#elif !defined(_WIN32) + #include <alloca.h> + #endif + +@@ -1290,4 +1292,3 @@ RubberBandStretcher::Impl::retrieve(floa + } + + } +- diff --git a/audio/rubberband/patches/patch-src_system_sysutils.h b/audio/rubberband/patches/patch-src_system_sysutils.h new file mode 100644 index 00000000000..3ea50606466 --- /dev/null +++ b/audio/rubberband/patches/patch-src_system_sysutils.h @@ -0,0 +1,17 @@ +$NetBSD: patch-src_system_sysutils.h,v 1.1 2015/12/28 03:29:33 kamil Exp $ + +NetBSD ships with alloca() in <stdlib.h> + +--- src/system/sysutils.h.orig 2012-10-28 10:30:09.000000000 +0000 ++++ src/system/sysutils.h +@@ -40,7 +40,9 @@ + #ifdef __MINGW32__ + #include <malloc.h> + #else +-#ifndef __MSVC__ ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#elif !defined(__MSVC__) + #include <alloca.h> + #endif + #endif |