1 |
commit: 565ec9369ff37d2cec6cb5e7a01488d8ac46ec72 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 28 12:35:41 2018 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 28 12:40:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565ec936 |
7 |
|
8 |
p/f/p/s/kernel-2.6.16+/profile.bashrc: avoid dup3 definitions. |
9 |
|
10 |
profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++ |
11 |
1 file changed, 3 insertions(+) |
12 |
|
13 |
diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc |
14 |
index fb926138685..2a505554239 100644 |
15 |
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc |
16 |
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc |
17 |
@@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t |
18 |
sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die |
19 |
einfo "Removing utimensat calls..." |
20 |
sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die |
21 |
+elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; then |
22 |
+ einfo "Removing dup3 definitions..." |
23 |
+ sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die |
24 |
fi |
25 |
|
26 |
# Local Variables: |