diff options
author | TomaSajt <62384384+TomaSajt@users.noreply.github.com> | 2023-08-20 22:10:44 +0200 |
---|---|---|
committer | TomaSajt <62384384+TomaSajt@users.noreply.github.com> | 2023-10-23 14:04:17 +0200 |
commit | d12237ef2fc298191337088f086f47c8c4d66e64 (patch) | |
tree | 4976f25ca2c5efe7bfc0a3a81a3b1d00010b23b8 /pkgs/development/perl-modules | |
parent | 77867843fbb2d6995d00f187f9f5311eaa89e84a (diff) | |
download | nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.tar nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.tar.gz nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.tar.bz2 nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.tar.lz nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.tar.xz nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.tar.zst nixpkgs-d12237ef2fc298191337088f086f47c8c4d66e64.zip |
perlPackages.ArchiveLibarchive: init at 0.08
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/ArchiveLibarchive-set-findlib-path.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/ArchiveLibarchive-set-findlib-path.patch b/pkgs/development/perl-modules/ArchiveLibarchive-set-findlib-path.patch new file mode 100644 index 00000000000..47bc8ee9dc5 --- /dev/null +++ b/pkgs/development/perl-modules/ArchiveLibarchive-set-findlib-path.patch @@ -0,0 +1,25 @@ +diff --git a/lib/Archive/Libarchive/Lib.pm b/lib/Archive/Libarchive/Lib.pm +index 3fcbcf4..214df7a 100644 +--- a/lib/Archive/Libarchive/Lib.pm ++++ b/lib/Archive/Libarchive/Lib.pm +@@ -3,7 +3,7 @@ package Archive::Libarchive::Lib; + use strict; + use warnings; + use 5.020; +-use FFI::CheckLib 0.30 qw( find_lib_or_die ); ++use FFI::CheckLib qw( find_lib_or_die ); + use Encode qw( decode ); + use experimental qw( signatures ); + +index 3fcbcf4..718caed 100644 +--- a/lib/Archive/Libarchive/Lib.pm ++++ b/lib/Archive/Libarchive/Lib.pm +@@ -23,7 +23,7 @@ L<Archive::Libarchive>. + + sub lib + { +- $ENV{ARCHIVE_LIBARCHIVE_LIB_DLL} // find_lib_or_die( lib => 'archive', symbol => ['archive_read_free','archive_write_free','archive_free'], alien => ['Alien::Libarchive3'] ); ++ $ENV{ARCHIVE_LIBARCHIVE_LIB_DLL} // find_lib_or_die( lib => 'archive', symbol => ['archive_read_free','archive_write_free','archive_free'], libpath => '@@libarchive@@' ); + } + + sub ffi |