Include <cstring>, <cstdlib> to stop more recent gcc's complaining about
missing declarations
This commit is contained in:
parent
50a9e1edd4
commit
f391aa28bc
5 changed files with 51 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
12
audio/akode/patches/patch-aj
Normal file
12
audio/akode/patches/patch-aj
Normal file
|
@ -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 {
|
13
audio/akode/patches/patch-ak
Normal file
13
audio/akode/patches/patch-ak
Normal file
|
@ -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
|
12
audio/akode/patches/patch-al
Normal file
12
audio/akode/patches/patch-al
Normal file
|
@ -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;
|
||||
|
Loading…
Reference in a new issue