summaryrefslogtreecommitdiff
path: root/dev-perl/Digest-Nilsimsa/files/Digest-Nilsimsa-0.60.0-clang16.patch
blob: f8c7cd6b57c17e48ca5e7d5715d15f514b8a8efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://bugs.gentoo.org/870895
https://rt.cpan.org/Public/Bug/Display.html?id=145874

Add missing function prototypes.  This avoids implicit function
declarations when building Nilsimsa.xs and build failures with future
compilers.

--- 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);