summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-08-28 21:35:41 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-08-28 20:40:04 +0800
commit565ec9369ff37d2cec6cb5e7a01488d8ac46ec72 (patch)
tree033ac310bb59786e11ec5290498d605f70377b7c /profiles
parentmedia-libs/glm: add ~ppc64 (diff)
downloadgentoo-565ec9369ff37d2cec6cb5e7a01488d8ac46ec72.tar.gz
gentoo-565ec9369ff37d2cec6cb5e7a01488d8ac46ec72.tar.bz2
gentoo-565ec9369ff37d2cec6cb5e7a01488d8ac46ec72.zip
p/f/p/s/kernel-2.6.16+/profile.bashrc: avoid dup3 definitions.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc3
1 files changed, 3 insertions, 0 deletions
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 fb926138685d..2a5055542390 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
sed -e '/define.*HAVE_PIPE2/d' -i ${S}/src/3rdparty/forkfd/forkfd.c || die
einfo "Removing utimensat calls..."
sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die
+elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == compile ]]; then
+ einfo "Removing dup3 definitions..."
+ sed -e '/define.*HAS_DUP3/d' -i ${S}/config/s.h || die
fi
# Local Variables: