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.
commit026aa123a411d186614e3b7ce0092b2809394e1e
authorVladimír Čunát <vcunat@gmail.com>
dateThu 28 May 2015, 11:53 (12 years ago)
parentfa89e79
pkgs/development/libraries/speexdsp/default.nix+3−2
@@ -2,14 +2,15 @@
22
33stdenv.mkDerivation rec {
44 name = "speexdsp-1.2rc3";
5−
5+
66 src = fetchurl {
77 url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz";
88 sha256 = "1wcjyrnwlkayb20zdhp48y260rfyzg925qpjpljd5x9r01h8irja";
99 };
1010
1111 patches = [ ./build-fix.patch ];
12−
12+ postPatch = "sed '3i#include <stdint.h>' -i ./include/speex/speexdsp_config_types.h.in";
13+
1314 nativeBuildInputs = [ autoreconfHook pkgconfig ];
1415 buildInputs = [ fftw ];
1516