summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-15 19:33:26 +0000
committerhans <hans@pkgsrc.org>2012-02-15 19:33:26 +0000
commit72cee3eddd03f5e343b20428935c86824cc51f6f (patch)
tree87bec614236ffaf8727ca5f0e87d8eaab131d840
parent41dc087133f2db79b9a51e136b961a81e62d797d (diff)
downloadpkgsrc-72cee3eddd03f5e343b20428935c86824cc51f6f.tar.gz
Fix build on SunOS.
-rw-r--r--audio/akode/distinfo3
-rw-r--r--audio/akode/patches/patch-akode_plugins_sun__sink_sun__sink.cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/akode/distinfo b/audio/akode/distinfo
index 32b2e633d7f..29377be32d4 100644
--- a/audio/akode/distinfo
+++ b/audio/akode/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2012/01/28 09:39:17 marino Exp $
+$NetBSD: distinfo,v 1.9 2012/02/15 19:33:26 hans Exp $
SHA1 (30375-akode-2.0.2.tar.bz2) = 10ad1e335bc53c2a90d133b493568324514c729c
RMD160 (30375-akode-2.0.2.tar.bz2) = fa0322367d8e24e541007d3f9e508c3c31370d96
@@ -18,5 +18,6 @@ SHA1 (patch-akode-lib-converter.cpp) = 5eacaa5a85b4ba2262de2e96be291ea247b4594e
SHA1 (patch-akode-lib-crossfader.cpp) = 4b952c0fa2e1e39b0c530456405297aa33b91ceb
SHA1 (patch-akode-lib-fast_resampler.cpp) = d244060bf2ab0035296ef96ab7f20460230f1f9c
SHA1 (patch-akode-lib-volumefilter.cpp) = b070ec761fbb4fe34376f57b953fdc5529cf3068
+SHA1 (patch-akode_plugins_sun__sink_sun__sink.cpp) = 1c6019f0b27b0a910f9e5126605a5dc5317b7e15
SHA1 (patch-al) = b910d7a82a1a341e8b3929e09f6d16470bdbb34f
SHA1 (patch-am) = bea0c2195a15cafdb9f7c5b3f469cb11e118a079
diff --git a/audio/akode/patches/patch-akode_plugins_sun__sink_sun__sink.cpp b/audio/akode/patches/patch-akode_plugins_sun__sink_sun__sink.cpp
new file mode 100644
index 00000000000..961ae431a89
--- /dev/null
+++ b/audio/akode/patches/patch-akode_plugins_sun__sink_sun__sink.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-akode_plugins_sun__sink_sun__sink.cpp,v 1.1 2012/02/15 19:33:26 hans Exp $
+
+--- akode/plugins/sun_sink/sun_sink.cpp.orig 2012-01-12 19:07:47.881281153 +0100
++++ akode/plugins/sun_sink/sun_sink.cpp 2012-01-12 19:20:50.139729686 +0100
+@@ -30,6 +30,10 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#ifdef __sun
++#include <alloca.h>
++#endif
++
+ #include <audioframe.h>
+ #include "sun_sink.h"
+