lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

libewf: fix build with gcc 5

Fixes #15289.

+24 -3
+20
pkgs/development/libraries/libewf/04-fix-FTBFS-GCC5.patch
··· 1 + Patch from Debian: 2 + https://sources.debian.net/data/main/libe/libewf/20140608-6/debian/patches/04-fix-FTBFS-GCC5.patch 3 + 4 + Description: fix a FTBFS with GCC-5. Thanks to Linn Crosetto <linn@hp.com> for 5 + the first fix (see #777938). This patch closes #777945. 6 + Author: Joao Eriberto Mota Filho <eriberto@debian.org> 7 + Last-Update: 2015-07-02 8 + Index: libewf-20140608/libuna/Makefile.am 9 + =================================================================== 10 + --- libewf-20140608.orig/libuna/Makefile.am 11 + +++ libewf-20140608/libuna/Makefile.am 12 + @@ -3,7 +3,7 @@ AM_CPPFLAGS = \ 13 + -I$(top_srcdir)/include \ 14 + -I$(top_srcdir)/common \ 15 + @LIBCSTRING_CPPFLAGS@ \ 16 + - @LIBCERROR_CPPFLAGS@ 17 + + @LIBCERROR_CPPFLAGS@ -std=gnu89 18 + 19 + noinst_LTLIBRARIES = libuna.la 20 +
+4 -3
pkgs/development/libraries/libewf/default.nix
··· 1 - { fetchurl, stdenv, zlib, openssl, libuuid, file, fuse }: 1 + { fetchurl, stdenv, zlib, openssl, libuuid, file, fuse, autoreconfHook, pkgconfig }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "20140608"; ··· 8 8 sha256 = "0wfsffzxk934hl8cpwr14w8ixnh8d23x0xnnzcspjwi2c7730h6i"; 9 9 }; 10 10 11 - preConfigure = ''sed -e 's@/usr/bin/file@file@g' -i configure''; 12 - 11 + nativeBuildInputs = [ autoreconfHook pkgconfig ]; 13 12 buildInputs = [ zlib openssl libuuid ]; 13 + patches = [ ./04-fix-FTBFS-GCC5.patch ]; 14 14 15 15 meta = { 16 16 description = "Library for support of the Expert Witness Compression Format"; 17 17 homepage = http://sourceforge.net/projects/libewf/; 18 18 license = stdenv.lib.licenses.lgpl3; 19 19 maintainers = [ stdenv.lib.maintainers.raskin ] ; 20 + platforms = stdenv.lib.platforms.unix; 20 21 inherit version; 21 22 }; 22 23 }