From 026aa123a411d186614e3b7ce0092b2809394e1e Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Thu, 28 May 2015 11:53:21 +0200 Subject: speexdsp: fix integer types not being included Description in comments of https://aur.archlinux.org/packages/retroshare/ I'm not sure why their conditionals don't work, but this fix should be safe. /cc maintainer @wkennington. --- pkgs/development/libraries/speexdsp/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs/development/libraries/speexdsp') diff --git a/pkgs/development/libraries/speexdsp/default.nix b/pkgs/development/libraries/speexdsp/default.nix index 1a9a6d486f3..7112afbea8a 100644 --- a/pkgs/development/libraries/speexdsp/default.nix +++ b/pkgs/development/libraries/speexdsp/default.nix @@ -2,14 +2,15 @@ stdenv.mkDerivation rec { name = "speexdsp-1.2rc3"; - + src = fetchurl { url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz"; sha256 = "1wcjyrnwlkayb20zdhp48y260rfyzg925qpjpljd5x9r01h8irja"; }; patches = [ ./build-fix.patch ]; - + postPatch = "sed '3i#include ' -i ./include/speex/speexdsp_config_types.h.in"; + nativeBuildInputs = [ autoreconfHook pkgconfig ]; buildInputs = [ fftw ]; -- cgit 1.4.1