summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc')
-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 0fc68db876ab..c08217181df4 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: