Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/legacy/
Date: Mon, 05 Jun 2017 06:24:04
Message-Id: 1496643831.c05b73f6161db1778532f3f1e529fa73aaaf0b1a.heroxbd@gentoo
1 commit: c05b73f6161db1778532f3f1e529fa73aaaf0b1a
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 5 06:22:28 2017 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 06:23:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05b73f6
7
8 profiles/f/p/s/legacy/profile.bashrc: disable utimensat syscall
9
10 cmake based build system does not provide an interface to override
11 compile checks, therefore this hack.
12
13 profiles/features/prefix/standalone/legacy/profile.bashrc | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/profiles/features/prefix/standalone/legacy/profile.bashrc b/profiles/features/prefix/standalone/legacy/profile.bashrc
17 new file mode 100644
18 index 00000000000..e537cc0fa31
19 --- /dev/null
20 +++ b/profiles/features/prefix/standalone/legacy/profile.bashrc
21 @@ -0,0 +1,6 @@
22 +# tricks to circumvent false positive checks of old kernel
23 +
24 +if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then
25 + einfo "Removing utimensat outputs..."
26 + sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt
27 +fi