From 679cb2edaaca8fd16028648ac412a4b102663754 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 8 Apr 2026 20:02:11 +0300 Subject: [PATCH] perl-* rebuild perl-5.42.2 --- .../files/perl-Digest-Nilsimsa-c99.patch | 19 +++++++++++++++++++ .../perl/perl-Digest-Nilsimsa/pspec.xml | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 programming/language/perl/perl-Digest-Nilsimsa/files/perl-Digest-Nilsimsa-c99.patch diff --git a/programming/language/perl/perl-Digest-Nilsimsa/files/perl-Digest-Nilsimsa-c99.patch b/programming/language/perl/perl-Digest-Nilsimsa/files/perl-Digest-Nilsimsa-c99.patch new file mode 100644 index 0000000000..e882a3bd2a --- /dev/null +++ b/programming/language/perl/perl-Digest-Nilsimsa/files/perl-Digest-Nilsimsa-c99.patch @@ -0,0 +1,19 @@ +Add missing function prototypes. This avoids implicit function +declarations when building Nilsimsa.xs and build failures with future +compilers. + +Submitted upstream: + +diff --git a/nilsimsa.h b/nilsimsa.h +index 8ebb5f108d615ecb..88f4261841460a8b 100644 +--- a/nilsimsa.h ++++ b/nilsimsa.h +@@ -47,6 +47,8 @@ int nilsimsa(struct nsrecord *a,struct nsrecord *b); + void aggregate(int n); + void codetostr(struct nsrecord *a,char *str); + int strtocode(char *str,struct nsrecord *a); ++void makecode(struct nsrecord *a); ++void clear(struct nsrecord *a); + + int accbuf(unsigned char *buf,int len,struct nsrecord *a); + void dprint(char *msg); diff --git a/programming/language/perl/perl-Digest-Nilsimsa/pspec.xml b/programming/language/perl/perl-Digest-Nilsimsa/pspec.xml index 8c2d66857f..d24285e66c 100644 --- a/programming/language/perl/perl-Digest-Nilsimsa/pspec.xml +++ b/programming/language/perl/perl-Digest-Nilsimsa/pspec.xml @@ -19,6 +19,9 @@ perl + + perl-Digest-Nilsimsa-c99.patch +