https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.0.0-relnotes.txt: * Completed the port of RSA_METHOD accessors from the OpenSSL 1.1 API. net-libs/neon-0.30.2 ebuild: # Support LibreSSL. # Functions RSA_meth_get0_app_data() and RSA_meth_set0_app_data() are not implemented in LibreSSL 2.9.1. sed -e "1202s/#if OPENSSL_VERSION_NUMBER < 0x10100000L/& || defined(LIBRESSL_VERSION_NUMBER)/" -i src/ne_openssl.c || die "sed failed" sed -e "97a #if defined(LIBRESSL_VERSION_NUMBER)\nstatic void *RSA_meth_get0_app_data(const RSA_METHOD *meth)\n{\n return meth->app_data;\n}\nstatic int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data)\n{\n meth->app_data = app_data;\n return 1;\n}\n#endif" -i src/ne_pkcs11.c || die "sed failed" RSA_meth_get0_app_data() and RSA_meth_set0_app_data() are now available in LibreSSL 3.0.0. Probably Neon would fail to build with LibreSSL 3.0.0. Above code probably should be made conditional on LibreSSL version (and later deleted when older LibreSSL versions are deleted).
Created attachment 587068 [details] neonbuild.log +pkcs11
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb1d232a1eeb428724c2c8e24335ecc17c4a69b7 commit bb1d232a1eeb428724c2c8e24335ecc17c4a69b7 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-09-28 02:29:13 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-09-29 02:56:13 +0000 net-libs/neon: Fix building with dev-libs/libressl-3.0.0. Fixes: https://bugs.gentoo.org/691796 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-libs/neon/neon-0.30.2.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)