git.iko.soy/typeable/nixpkgs
on master help sign in
darkice: 1.2 -> 1.3
commit23560314f4f75ab1a691181fff19f3bb274b6b05 authorFranz Pletz <fpletz@fnordicwalking.de> dateTue 23 Aug 2016, 15:47 (10 years ago) parent04d7056
2 files changed+19−2
pkgs/tools/audio/darkice/default.nix+6−2 pkgs/tools/audio/darkice/fix-undeclared-memmove.patch+13
pkgs/tools/audio/darkice/default.nix+6−2
@@ -20,11 +20,11 @@ let
2020
2121in stdenv.mkDerivation rec {
2222 name = "darkice-${version}";
23− version = "1.2";
23+ version = "1.3";
2424
2525 src = fetchurl {
2626 url = "mirror://sourceforge/darkice/${version}/darkice-${version}.tar.gz";
27− sha256 = "0m5jzmja7a9x15zl1634bhxrg3rccph9rkar0rmz6wlw5nzakyxk";
27+ sha256 = "1rlxds7ssq7nk2in4s46xws7xy9ylxsqgcz85hxjgh17lsm0y39c";
2828 };
2929
3030 configureFlags = [
@@ -40,6 +40,10 @@ in stdenv.mkDerivation rec {
4040# "--with-twolame-prefix=${twolame}" ### missing: twolame
4141 ];
4242
43+ patches = [ ./fix-undeclared-memmove.patch ];
44+
45+ enableParallelBuilding = true;
46+
4347 meta = {
4448 homepage = http://darkice.org/;
4549 description = "Live audio streamer";
pkgs/tools/audio/darkice/fix-undeclared-memmove.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/src/FaacEncoder.cpp b/src/FaacEncoder.cpp
2+index 1100226..3ab1805 100644
3+--- a/src/FaacEncoder.cpp
4++++ b/src/FaacEncoder.cpp
5+@@ -36,7 +36,7 @@
6+ // compile the whole file only if faac support configured in
7+ #ifdef HAVE_FAAC_LIB
8+
9+-
10++#include <string.h>
11+
12+ #include "Exception.h"
13+ #include "Util.h"