gentoo-ebuilds/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch
Ionen Wolkens 0d9d5268d4
app-crypt/coolkey: fix build w/ upcoming clang16
Header that declare this is not installed, and seems like these
headers would conflict in all sorts of ways here either way.

An alternative fix could be to drop --enable-pk11install which is
marked legacy (off by default), but don't know this package and
no idea if anyone need this.

Closes: https://bugs.gentoo.org/871585
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2022-10-14 07:55:54 -04:00

13 lines
359 B
Diff

Declaration taken from nss sources' lib/softoken/pkcs11i.h.
Only needed with --enable-pk11install.
https://bugs.gentoo.org/871585
--- a/src/install/pk11install.c
+++ b/src/install/pk11install.c
@@ -23,4 +23,6 @@
#include "pkcs11n.h"
+char **NSC_ModuleDBFunc(unsigned long function, char *parameters, void *args);
+
/*
* windows specific globing search