summary refs log tree commit diff
path: root/pkgs/development/libraries/speexdsp
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-05-28 11:53:21 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-05-28 11:55:06 +0200
commit026aa123a411d186614e3b7ce0092b2809394e1e (patch)
treeac545fa6a99632926d65544f0ed98acb34ccd056 /pkgs/development/libraries/speexdsp
parentfa89e79391bdb2e383df6017514028bed254d074 (diff)
downloadnixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.tar
nixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.tar.gz
nixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.tar.bz2
nixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.tar.lz
nixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.tar.xz
nixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.tar.zst
nixpkgs-026aa123a411d186614e3b7ce0092b2809394e1e.zip
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.
Diffstat (limited to 'pkgs/development/libraries/speexdsp')
-rw-r--r--pkgs/development/libraries/speexdsp/default.nix5
1 files changed, 3 insertions, 2 deletions
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 <stdint.h>' -i ./include/speex/speexdsp_config_types.h.in";
+
   nativeBuildInputs = [ autoreconfHook pkgconfig ];
   buildInputs = [ fftw ];