diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-14 01:53:32 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-14 07:55:54 -0400 |
commit | 0d9d5268d47dc05309f796e83117af9e978bc2d2 (patch) | |
tree | 7490ff0ec5f7fbda9a1f4b9bbf0d5bc302ea16a1 /app-crypt | |
parent | dev-python/jaraco-test: Remove stray dep on toml (diff) | |
download | gentoo-0d9d5268d47dc05309f796e83117af9e978bc2d2.tar.gz gentoo-0d9d5268d47dc05309f796e83117af9e978bc2d2.tar.bz2 gentoo-0d9d5268d47dc05309f796e83117af9e978bc2d2.zip |
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>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/coolkey/coolkey-1.1.0-r9.ebuild | 3 | ||||
-rw-r--r-- | app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild b/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild index cd3d7f1e434b..d388df3391b7 100644 --- a/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild +++ b/app-crypt/coolkey/coolkey-1.1.0-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${WORKDIR}/${PN}-patches" + "${FILESDIR}/${P}-clang16.patch" ) pkg_setup() { diff --git a/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch b/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch new file mode 100644 index 000000000000..88c3e11b53e8 --- /dev/null +++ b/app-crypt/coolkey/files/coolkey-1.1.0-clang16.patch @@ -0,0 +1,13 @@ +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 |