mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
libextractor: fix build with exiv2 0.27.1
This commit is contained in:
parent
ea2fb569d1
commit
be57950228
@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, libtool, gettext, zlib, bzip2, flac, libvorbis
|
||||
, exiv2, libgsf, rpm, pkgconfig
|
||||
, exiv2, libgsf, rpm, pkgconfig, fetchpatch
|
||||
, gtkSupport ? true, glib ? null, gtk3 ? null
|
||||
, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
|
||||
|
||||
@ -14,6 +14,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1zz2zvikvfibxnk1va3kgzs7djsmiqy7bmk8y01vbsf54ryjb3zh";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes build with exiv2 0.27
|
||||
(fetchpatch {
|
||||
name = "libextractor-exiv2-0.27.patch";
|
||||
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/libextractor-exiv2-0.27.patch?h=packages/libextractor&id=4dc53f7fc69210ae571285dface108ed65d8ee53";
|
||||
sha256 = "0w4gc1q1m1yxsd4hv105nblmif465nw3g5nxzldy0x2rl9mdncg6";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure =
|
||||
'' echo "patching installation directory in \`extractor.c'..."
|
||||
sed -i "src/main/extractor.c" \
|
||||
|
Loading…
Reference in New Issue
Block a user