1 |
commit: 94b0c25e55cf4477438ddca4884589421748c428 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 18 05:35:12 2018 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 18 05:37:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b0c25e |
7 |
|
8 |
p/f/p/s/kernel-2.6.16+/profile.bashrc: disable pipe2, utimensat |
9 |
|
10 |
qtcore incorrectly uses kernel features without testing. Fix it. |
11 |
|
12 |
.../features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 11 ++++++++++- |
13 |
1 file changed, 10 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc |
16 |
index e537cc0fa31..fb926138685 100644 |
17 |
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc |
18 |
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc |
19 |
@@ -2,5 +2,14 @@ |
20 |
|
21 |
if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then |
22 |
einfo "Removing utimensat outputs..." |
23 |
- sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt |
24 |
+ sed -e '/UTIMENSAT=/d' -i ${S}/Source/kwsys/CMakeLists.txt || die |
25 |
+elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; then |
26 |
+ einfo "Removing pipe2 definitions..." |
27 |
+ sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die |
28 |
+ einfo "Removing utimensat calls..." |
29 |
+ sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die |
30 |
fi |
31 |
+ |
32 |
+# Local Variables: |
33 |
+# mode: shell-script |
34 |
+# End: |