diff options
author | Sam James <sam@gentoo.org> | 2022-11-12 07:08:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-12 07:21:12 +0000 |
commit | 1e0e5c4d289004fa779c86da9319cf2bb18548b1 (patch) | |
tree | 40115a16a229c5b497cfc758947ca39bb6f5098b /dev-libs/pkcs11-helper/files/pkcs11-helper-1.29.0-incompatible-func-ptr-clang16.patch | |
parent | dev-java/tomcat-el-api: dropped obsolete 10.1.0 (diff) | |
download | gentoo-1e0e5c4d289004fa779c86da9319cf2bb18548b1.tar.gz gentoo-1e0e5c4d289004fa779c86da9319cf2bb18548b1.tar.bz2 gentoo-1e0e5c4d289004fa779c86da9319cf2bb18548b1.zip |
dev-libs/pkcs11-helper: backport clang 16 fix
Closes: https://bugs.gentoo.org/880975
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/pkcs11-helper/files/pkcs11-helper-1.29.0-incompatible-func-ptr-clang16.patch')
-rw-r--r-- | dev-libs/pkcs11-helper/files/pkcs11-helper-1.29.0-incompatible-func-ptr-clang16.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/pkcs11-helper/files/pkcs11-helper-1.29.0-incompatible-func-ptr-clang16.patch b/dev-libs/pkcs11-helper/files/pkcs11-helper-1.29.0-incompatible-func-ptr-clang16.patch new file mode 100644 index 000000000000..5b1036b9999b --- /dev/null +++ b/dev-libs/pkcs11-helper/files/pkcs11-helper-1.29.0-incompatible-func-ptr-clang16.patch @@ -0,0 +1,30 @@ +https://github.com/OpenSC/pkcs11-helper/commit/744001c1424b2d178272194d64e3356824ecdcdc +https://github.com/OpenSC/pkcs11-helper/issues/60 +https://bugs.gentoo.org/880975 + +From 744001c1424b2d178272194d64e3356824ecdcdc Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Sat, 12 Nov 2022 02:24:58 +0200 +Subject: [PATCH] openssl: fix openssl_ex_data_dup prototype + +--- a/lib/pkcs11h-openssl.c ++++ b/lib/pkcs11h-openssl.c +@@ -340,7 +340,7 @@ int + __pkcs11h_openssl_ex_data_dup ( + CRYPTO_EX_DATA *to, + CRYPTO_EX_DATA *from, +- void *from_d, ++ void **from_d, + int idx, + long argl, + void *argp +@@ -350,7 +350,7 @@ int + __pkcs11h_openssl_ex_data_dup ( + CRYPTO_EX_DATA *to, + const CRYPTO_EX_DATA *from, +- void *from_d, ++ void **from_d, + int idx, + long argl, + void *argp + |