commit: 72495ac0653503119654c85088e05825e40624f2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Tue Mar 8 06:23:13 2022 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Mar 8 06:23:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72495ac0
sys-auth/pam_p11: Turn openssl-3 deprecation errors into warnings Bug: https://bugs.gentoo.org/805929 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> sys-auth/pam_p11/pam_p11-0.3.1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys-auth/pam_p11/pam_p11-0.3.1.ebuild b/sys-auth/pam_p11/pam_p11-0.3.1.ebuild index b812b0b6f4e0..59c7cba7ce6d 100644 --- a/sys-auth/pam_p11/pam_p11-0.3.1.ebuild +++ b/sys-auth/pam_p11/pam_p11-0.3.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools pam +inherit autotools flag-o-matic pam DESCRIPTION="PAM module for authenticating against PKCS#11 tokens" HOMEPAGE="https://github.com/opensc/pam_p11/wiki" @@ -21,6 +21,9 @@ DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" src_configure() { + # Ugly way to work around deprecated declarations in openssl-3 + append-cflags -Wno-error=deprecated-declarations + econf --with-pamdir="$(getpam_mod_dir)" }