commit:     47b6d14488f624111daa564f40ec49fc223b623c
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 03:11:31 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 03:14:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b6d144

p/f/prefix/s/kernel-2.6.16+/package.use.mask: mask mesa USE flags.

  USE='egl gles2 gallium llvm' contains unconditional code calling
  F_DUPFD_CLOEXEC.

Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 .../features/prefix/standalone/kernel-2.6.16+/package.use.mask    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask 
b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
index b5f69351385..fdc243ff8a1 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/package.use.mask
@@ -1,6 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Benda Xu <[email protected]> (2019-10-14)
+# The following mesa components calls fcntl(fd, F_DUPFD_CLOEXEC, 3) directly
+# without checking.  That results on build time failure, because we have
+# stripped away F_DUPFD_CLOEXEC from glibc for this profile.
+media-libs/mesa egl gles2 gallium llvm
+
 # Benda Xu <[email protected]> (2018-02-21)
 # We are on an old kernel that only glibc-2.19 is supported. That glibc does
 # not build with PIE enabled.  glibc-2.19 and linux-2.6.16 is end of life

Reply via email to