pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/soundtouch Fix build on SunOS (alloca() needs al...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cf4e262cad0
branches: trunk
changeset: 639690:8cf4e262cad0
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Sep 23 13:28:54 2014 +0000
description:
Fix build on SunOS (alloca() needs alloca.h)
diffstat:
audio/soundtouch/distinfo | 4 +-
audio/soundtouch/patches/patch-source_SoundTouch_FIRFilter.cpp | 16 ++++++++++
audio/soundtouch/patches/patch-source_SoundTouch_SoundTouch.cpp | 16 ++++++++++
3 files changed, 35 insertions(+), 1 deletions(-)
diffs (53 lines):
diff -r 90a6b88cbd3c -r 8cf4e262cad0 audio/soundtouch/distinfo
--- a/audio/soundtouch/distinfo Tue Sep 23 13:21:16 2014 +0000
+++ b/audio/soundtouch/distinfo Tue Sep 23 13:28:54 2014 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1 2014/08/07 20:23:27 wiz Exp $
+$NetBSD: distinfo,v 1.2 2014/09/23 13:28:54 jperkin Exp $
SHA1 (soundtouch-1.8.0.tar.gz) = 2cee2c63194227b4a58da01a7cd92b8632f139cd
RMD160 (soundtouch-1.8.0.tar.gz) = d8687433a56fe56916b67c80264f4138d0a502db
Size (soundtouch-1.8.0.tar.gz) = 106229 bytes
SHA1 (patch-Makefile.am) = 6ef989f30bf5871e0e9a848b74d34cda2c2577ed
+SHA1 (patch-source_SoundTouch_FIRFilter.cpp) = 42affc192343dd69b4fbf037507572159a71c80c
+SHA1 (patch-source_SoundTouch_SoundTouch.cpp) = b67361322243e4f3fd7d7cc7485a9bb48a9b593b
diff -r 90a6b88cbd3c -r 8cf4e262cad0 audio/soundtouch/patches/patch-source_SoundTouch_FIRFilter.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/soundtouch/patches/patch-source_SoundTouch_FIRFilter.cpp Tue Sep 23 13:28:54 2014 +0000
@@ -0,0 +1,16 @@
+$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>
diff -r 90a6b88cbd3c -r 8cf4e262cad0 audio/soundtouch/patches/patch-source_SoundTouch_SoundTouch.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/soundtouch/patches/patch-source_SoundTouch_SoundTouch.cpp Tue Sep 23 13:28:54 2014 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-source_SoundTouch_SoundTouch.cpp,v 1.1 2014/09/23 13:28:54 jperkin Exp $
+
+SunOS needs alloca.h for alloca()
+
+--- source/SoundTouch/SoundTouch.cpp.orig 2014-01-07 20:28:51.000000000 +0000
++++ source/SoundTouch/SoundTouch.cpp
+@@ -69,6 +69,9 @@
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+
++#ifdef __sun
++#include <alloca.h>
++#endif
+ #include <assert.h>
+ #include <stdlib.h>
+ #include <memory.h>
Home |
Main Index |
Thread Index |
Old Index