libewf: fix build with gcc 5

Fixes #15289.
This commit is contained in:
Gabriel Ebner
2016-06-25 18:21:25 +01:00
parent 9ef6dceca9
commit 75d1e986a7
2 changed files with 24 additions and 3 deletions
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, zlib, openssl, libuuid, file, fuse }:
{ fetchurl, stdenv, zlib, openssl, libuuid, file, fuse, autoreconfHook, pkgconfig }:
stdenv.mkDerivation rec {
version = "20140608";
@@ -8,15 +8,16 @@ stdenv.mkDerivation rec {
sha256 = "0wfsffzxk934hl8cpwr14w8ixnh8d23x0xnnzcspjwi2c7730h6i";
};
preConfigure = ''sed -e 's@/usr/bin/file@file@g' -i configure'';
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ zlib openssl libuuid ];
patches = [ ./04-fix-FTBFS-GCC5.patch ];
meta = {
description = "Library for support of the Expert Witness Compression Format";
homepage = http://sourceforge.net/projects/libewf/;
license = stdenv.lib.licenses.lgpl3;
maintainers = [ stdenv.lib.maintainers.raskin ] ;
platforms = stdenv.lib.platforms.unix;
inherit version;
};
}