summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-10-11 14:55:30 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-10-11 14:57:46 +0800
commit0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54 (patch)
tree74391bd31d1c9b5dc7c1fbf8fa43801bbda40204 /profiles
parentdev-lang/erlang: adopt an orphan (diff)
downloadgentoo-0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54.tar.gz
gentoo-0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54.tar.bz2
gentoo-0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54.zip
p/f/prefix/s/kernel-2.6.16+/profile.bashrc: drop hacks for glibc.
The hacks have been converted into ebuild patches in glibc-2.19. Closes: https://bugs.gentoo.org/666982 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc10
1 files changed, 0 insertions, 10 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 c08217181df4..049bbfe48ee6 100644
--- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
+++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
@@ -11,16 +11,6 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
einfo "Removing dup3 and pipe2 definitions..."
sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || die
-elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then
- einfo "Removing F_DUPFD_CLOEXEC definitions..."
- sed -e '/define.*F_DUPFD_CLOEXEC/,/*\//d' -i "${S}"/sysdeps/unix/sysv/linux/bits/fcntl-linux.h || die
- einfo "Removing pipe2 definitions..."
- 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: