summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormarkd <markd>2011-01-20 11:48:18 +0000
committermarkd <markd>2011-01-20 11:48:18 +0000
commitacac0e42b6edc154fbe0f2ac5fff49812f6e0b14 (patch)
tree6edd1bd54e1588c61679280df41e1b19e19887df /audio
parent3e1183093fbfe4c4b2d6d900d5fe05cfcf692042 (diff)
downloadpkgsrc-acac0e42b6edc154fbe0f2ac5fff49812f6e0b14.tar.gz
Include <cstring>, <cstdlib> to stop more recent gcc's complaining about
missing declarations
Diffstat (limited to 'audio')
-rw-r--r--audio/akode/distinfo7
-rw-r--r--audio/akode/patches/patch-ag10
-rw-r--r--audio/akode/patches/patch-aj12
-rw-r--r--audio/akode/patches/patch-ak13
-rw-r--r--audio/akode/patches/patch-al12
5 files changed, 51 insertions, 3 deletions
diff --git a/audio/akode/distinfo b/audio/akode/distinfo
index e003dd61e90..b4a2297c774 100644
--- a/audio/akode/distinfo
+++ b/audio/akode/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2009/06/14 12:46:44 hasso Exp $
+$NetBSD: distinfo,v 1.3 2011/01/20 11:48:18 markd Exp $
SHA1 (30375-akode-2.0.2.tar.bz2) = 10ad1e335bc53c2a90d133b493568324514c729c
RMD160 (30375-akode-2.0.2.tar.bz2) = fa0322367d8e24e541007d3f9e508c3c31370d96
@@ -9,6 +9,9 @@ SHA1 (patch-ac) = 16ecd5bddc4a8490703380f06cf25abf54a2f99e
SHA1 (patch-ad) = 9bd599a37dbbe7ed9ce9b1d3bc9520f5e53f7a87
SHA1 (patch-ae) = e1b8b9439907a92531c1e0a0c4b494bd7776f770
SHA1 (patch-af) = 99f17f5d3a58ad659a1a8c4dab5ddf6b5382dbff
-SHA1 (patch-ag) = 5c3cb7d81af525f1816cd4489ff5097a8457a91e
+SHA1 (patch-ag) = bb9d4e56766fb5806ce88a9b956fcd42c5d0e629
SHA1 (patch-ah) = f58249f5d32e86e82a5831a826dafc0590653a5e
SHA1 (patch-ai) = 0b1196a792259ed573c964f66b68f56adb8a4b0e
+SHA1 (patch-aj) = c8dcff8937b4bf72b34479ac7d701fdf241d14cd
+SHA1 (patch-ak) = 45ce8e7d2ca98c64a56af4f549208de9de89757d
+SHA1 (patch-al) = b910d7a82a1a341e8b3929e09f6d16470bdbb34f
diff --git a/audio/akode/patches/patch-ag b/audio/akode/patches/patch-ag
index c7066885967..448a72ed944 100644
--- a/audio/akode/patches/patch-ag
+++ b/audio/akode/patches/patch-ag
@@ -1,10 +1,18 @@
-$NetBSD: patch-ag,v 1.1.1.1 2009/02/26 18:00:34 hasso Exp $
+$NetBSD: patch-ag,v 1.2 2011/01/20 11:48:18 markd Exp $
* Attempt fallback to ffmpeg decoder if loading the "native" one fails.
* Reset resampler/converter if it isn't necessary any more.
--- akode/lib/player.cpp.orig 2009-02-20 15:04:49 +0200
+++ akode/lib/player.cpp 2009-02-20 15:11:55 +0200
+@@ -37,6 +37,7 @@
+
+ #include "player.h"
+
++#include <cstring>
+ #ifndef NDEBUG
+ #include <iostream>
+ #define AKODE_DEBUG(x) {std::cerr << "akode: " << x << "\n";}
@@ -345,8 +345,11 @@ bool Player::load() {
d->src = 0;
return false;
diff --git a/audio/akode/patches/patch-aj b/audio/akode/patches/patch-aj
new file mode 100644
index 00000000000..1a0fea264fb
--- /dev/null
+++ b/audio/akode/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.1 2011/01/20 11:48:18 markd Exp $
+
+--- akode/lib/auto_sink.cpp.orig 2005-10-26 13:50:29.000000000 +0000
++++ akode/lib/auto_sink.cpp
+@@ -21,6 +21,7 @@
+ #include "audioframe.h"
+ #include "auto_sink.h"
+
++#include <cstdlib>
+ #include <iostream>
+
+ namespace aKode {
diff --git a/audio/akode/patches/patch-ak b/audio/akode/patches/patch-ak
new file mode 100644
index 00000000000..9057b6ba694
--- /dev/null
+++ b/audio/akode/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2011/01/20 11:48:18 markd Exp $
+
+--- akode/akodeplay/akodeplay.cpp.orig 2006-11-06 13:20:52.000000000 +0000
++++ akode/akodeplay/akodeplay.cpp
+@@ -25,6 +25,8 @@
+ #include "../lib/sink.h"
+ #include "../lib/decoder.h"
+
++#include <cstdlib>
++
+ #ifdef HAVE_GNU_GETOPT
+ #include <getopt.h>
+ #else
diff --git a/audio/akode/patches/patch-al b/audio/akode/patches/patch-al
new file mode 100644
index 00000000000..fa0be54cd6d
--- /dev/null
+++ b/audio/akode/patches/patch-al
@@ -0,0 +1,12 @@
+$NetBSD: patch-al,v 1.1 2011/01/20 11:48:18 markd Exp $
+
+--- akode/lib/magic.cpp.orig 2005-10-20 20:47:17.000000000 +0000
++++ akode/lib/magic.cpp
+@@ -21,6 +21,7 @@
+ #include "akodelib.h"
+ #include "magic.h"
+ #include "file.h"
++#include <cstring>
+ #include <iostream>
+ using std::cerr;
+