commit: 8f5b08e5a94376b0d02238b1cd3bad035050b315 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Thu Aug 30 23:28:16 2018 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> 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: