perlPackages.CryptDES: fix build for gcc14
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
--- a/_des.h
|
||||
+++ b/_des.h
|
||||
@@ -4,4 +4,6 @@
|
||||
|
||||
void _des_crypt( des_cblock in, des_cblock out, des_ks key, int encrypt );
|
||||
void _des_expand_key( des_user_key userKey, des_ks key );
|
||||
+void perl_des_expand_key( des_user_key userKey, des_ks key );
|
||||
+void perl_des_crypt( des_cblock input, des_cblock output, des_ks ks, int encrypt );
|
||||
@@ -5018,6 +5018,10 @@ with self; {
|
||||
url = "mirror://cpan/authors/id/D/DP/DPARIS/Crypt-DES-2.07.tar.gz";
|
||||
hash = "sha256-LbHrtYN7TLIAUcDuW3M7RFPjE33wqSMGA0yGdiHt1+c=";
|
||||
};
|
||||
patches = [
|
||||
# add extra definitions in header to please -Werror=implicit-function-declaration
|
||||
../development/perl-modules/CryptDES-gcc14.patch
|
||||
];
|
||||
meta = {
|
||||
description = "Perl DES encryption module";
|
||||
license = with lib.licenses; [ bsdOriginalShortened ];
|
||||
|
||||
Reference in New Issue
Block a user