From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF602138334 for ; Thu, 30 Aug 2018 23:29:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6807EE0801; Thu, 30 Aug 2018 23:29:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38E1FE0801 for ; Thu, 30 Aug 2018 23:29:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA917335C2B for ; Thu, 30 Aug 2018 23:29:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E2E33A4 for ; Thu, 30 Aug 2018 23:29:26 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1535671696.8f5b08e5a94376b0d02238b1cd3bad035050b315.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc X-VCS-Directories: profiles/features/prefix/standalone/kernel-2.6.16+/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 8f5b08e5a94376b0d02238b1cd3bad035050b315 X-VCS-Branch: master Date: Thu, 30 Aug 2018 23:29:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d4166162-a302-45cb-bd99-b47f9cebebe8 X-Archives-Hash: 7c085638e0a6fa40c09c83861298e0eb commit: 8f5b08e5a94376b0d02238b1cd3bad035050b315 Author: Benda Xu gentoo org> AuthorDate: Thu Aug 30 23:28:16 2018 +0000 Commit: Benda XU gentoo org> CommitDate: Thu Aug 30 23:28:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5b08e5 p/f/p/s/kernel-2.6.16+: remove definitions of lutimes. profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults | 7 ++++++- profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults index c64a419f389..e8e0ce1eaea 100644 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/make.defaults @@ -9,9 +9,14 @@ # utimensat is missing or not reliable until linux-2.6.32. # needed by python-3. +# lutimes requires utimensat ac_cv_func_utimensat=no -# pipe2 requires >=linux-2.6.27. Needed by python-3. +ac_cv_func_lutimes=no +# pipe2 and dup3 requires >=linux-2.6.27. Needed by python-3. ac_cv_func_pipe2=no +ac_cv_func_dup3=no +# epoll_create1 requires >=linux-2.6.27. +ac_cv_func_epoll_create1=no # >=python-3 is masked. PYTHON_TARGETS=python2_7 diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc index 0fc68db876a..c08217181df 100644 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc @@ -18,6 +18,9 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; th sed -e '/^extern int pipe2/d' -i "${S}"/posix/unistd.h || die einfo "Removing epoll_create1 definitions..." sed -e '/^extern int epoll_create1/d' -i "${S}"/sysdeps/unix/sysv/linux/sys/epoll.h || die + einfo "Removing lutimes and utimensat definitions..." + sed -e '/^extern int lutimes/,/__THROW/d' -i "${S}"/time/sys/time.h || die + sed -e '/^extern int utimensat/,/__THROW/d' -i "${S}"/io/sys/stat.h || die fi # Local Variables: