public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
Date: Thu, 30 Aug 2018 23:29:26 +0000 (UTC)	[thread overview]
Message-ID: <1535671696.8f5b08e5a94376b0d02238b1cd3bad035050b315.heroxbd@gentoo> (raw)

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:


             reply	other threads:[~2018-08-30 23:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-30 23:29 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-24  5:51 [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/ Benda XU
2020-11-22 10:38 Benda XU
2020-05-11  7:17 Benda XU
2019-12-23  2:47 Benda XU
2019-12-22 13:58 Benda XU
2019-10-14  5:20 Benda XU
2019-10-14  3:14 Benda XU
2019-10-11  6:57 Benda XU
2019-07-20 14:20 Benda XU
2019-07-18  4:08 Benda XU
2019-07-18  4:08 Benda XU
2018-11-04 15:32 Alfredo Tupone
2018-08-30  7:33 Benda XU
2018-08-28 13:08 Benda XU
2018-08-28 12:49 Benda XU
2018-08-28 12:40 Benda XU
2018-08-18  5:37 Benda XU
2018-02-21  2:00 Benda XU
2018-01-13 13:21 Benda XU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1535671696.8f5b08e5a94376b0d02238b1cd3bad035050b315.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox