darkice: 1.2 -> 1.3
This commit is contained in:
parent
04d7056514
commit
23560314f4
|
@ -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";
|
||||
|
|
13
pkgs/tools/audio/darkice/fix-undeclared-memmove.patch
Normal file
13
pkgs/tools/audio/darkice/fix-undeclared-memmove.patch
Normal 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"
|
Loading…
Reference in a new issue