commit:     ac8ec5e1b89f51d87708d7a5620464280ef1a484
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  1 16:06:29 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar  1 16:08:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8ec5e1

dev-lang/python: Silence/fix implicit func decl in 2.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-lang/python/python-2.7.18_p16-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-lang/python/python-2.7.18_p16-r1.ebuild 
b/dev-lang/python/python-2.7.18_p16-r1.ebuild
index 46d496829651..16af9e8af96f 100644
--- a/dev-lang/python/python-2.7.18_p16-r1.ebuild
+++ b/dev-lang/python/python-2.7.18_p16-r1.ebuild
@@ -80,6 +80,8 @@ RDEPEND+="
 VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc
 
 QA_PKGCONFIG_VERSION=${PYVER}
+# false positives -- functions specific to *BSD
+QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )
 
 pkg_setup() {
        if use berkdb; then
@@ -187,6 +189,9 @@ src_configure() {
                # Python on glibc upgrade, remove it proactively to give
                # a chance for users rebuilding python before glibc
                ac_cv_header_stropts_h=no
+               # Test program has missing includes.  This doesn't change
+               # the result but it's cleaner to force it.
+               ac_cv_broken_poll=no
 
                --with-fpectl
                --enable-shared

Reply via email to