aports/main/perl-crypt-des/01_declaration.patch
Celeste ab56476568 main/perl-crypt-des: apply debian patch
to fix implicit declaration of functions
`perl_des_crypt` and `perl_des_expand_key`
2024-06-10 02:47:58 +00:00

15 lines
675 B
Diff

Patch-Source: https://sources.debian.org/data/main/libc/libcrypt-des-perl/2.07-4/debian/patches/01_declaration.patch
--
From: Roland Rosenfeld <roland@debian.org>
Date: Thu, 11 Jul 2019 08:06:28 +0200
Subject: Declare functions to avoid warnings.
Forwarded: See https://rt.cpan.org/Public/Bug/Display.html?id=133363
--- a/_des.h
+++ b/_des.h
@@ -5,3 +5,5 @@ typedef unsigned long des_ks[32];
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_crypt( des_cblock input, des_cblock output, des_ks ks, int encrypt );
+void perl_des_expand_key(des_user_key userKey, des_ks ks);