perl-* rebuild perl-5.42.2

This commit is contained in:
Rmys
2026-04-08 20:02:11 +03:00
parent 412ac986f5
commit 679cb2edaa
2 changed files with 22 additions and 0 deletions
@@ -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: <https://rt.cpan.org/Public/Bug/Display.html?id=145874>
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);
@@ -19,6 +19,9 @@
<BuildDependencies>
<Dependency>perl</Dependency>
</BuildDependencies>
<Patches>
<Patch>perl-Digest-Nilsimsa-c99.patch</Patch>
</Patches>
</Source>
<Package>