biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / perl-modules / ArchiveLibarchive-set-findlib-path.patch
blob47bc8ee9dc56e06e6bc2ade29c26f1600f56a7d6
1 diff --git a/lib/Archive/Libarchive/Lib.pm b/lib/Archive/Libarchive/Lib.pm
2 index 3fcbcf4..214df7a 100644
3 --- a/lib/Archive/Libarchive/Lib.pm
4 +++ b/lib/Archive/Libarchive/Lib.pm
5 @@ -3,7 +3,7 @@ package Archive::Libarchive::Lib;
6 use strict;
7 use warnings;
8 use 5.020;
9 -use FFI::CheckLib 0.30 qw( find_lib_or_die );
10 +use FFI::CheckLib qw( find_lib_or_die );
11 use Encode qw( decode );
12 use experimental qw( signatures );
14 index 3fcbcf4..718caed 100644
15 --- a/lib/Archive/Libarchive/Lib.pm
16 +++ b/lib/Archive/Libarchive/Lib.pm
17 @@ -23,7 +23,7 @@ L<Archive::Libarchive>.
19 sub lib
21 - $ENV{ARCHIVE_LIBARCHIVE_LIB_DLL} // find_lib_or_die( lib => 'archive', symbol => ['archive_read_free','archive_write_free','archive_free'], alien => ['Alien::Libarchive3'] );
22 + $ENV{ARCHIVE_LIBARCHIVE_LIB_DLL} // find_lib_or_die( lib => 'archive', symbol => ['archive_read_free','archive_write_free','archive_free'], libpath => '@@libarchive@@' );
25 sub ffi