3
0
Fork 0
forked from mirrors/nixpkgs

darkice: 1.2 -> 1.3

This commit is contained in:
Franz Pletz 2016-08-23 15:47:53 +02:00
parent 04d7056514
commit 23560314f4
2 changed files with 19 additions and 2 deletions

View file

@ -20,11 +20,11 @@ let
in stdenv.mkDerivation rec {
name = "darkice-${version}";
version = "1.2";
version = "1.3";
src = fetchurl {
url = "mirror://sourceforge/darkice/${version}/darkice-${version}.tar.gz";
sha256 = "0m5jzmja7a9x15zl1634bhxrg3rccph9rkar0rmz6wlw5nzakyxk";
sha256 = "1rlxds7ssq7nk2in4s46xws7xy9ylxsqgcz85hxjgh17lsm0y39c";
};
configureFlags = [
@ -40,6 +40,10 @@ in stdenv.mkDerivation rec {
# "--with-twolame-prefix=${twolame}" ### missing: twolame
];
patches = [ ./fix-undeclared-memmove.patch ];
enableParallelBuilding = true;
meta = {
homepage = http://darkice.org/;
description = "Live audio streamer";

View file

@ -0,0 +1,13 @@
diff --git a/src/FaacEncoder.cpp b/src/FaacEncoder.cpp
index 1100226..3ab1805 100644
--- a/src/FaacEncoder.cpp
+++ b/src/FaacEncoder.cpp
@@ -36,7 +36,7 @@
// compile the whole file only if faac support configured in
#ifdef HAVE_FAAC_LIB
-
+#include <string.h>
#include "Exception.h"
#include "Util.h"