From 0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Fri, 11 Oct 2019 14:55:30 +0800 Subject: [PATCH] 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 --- .../prefix/standalone/kernel-2.6.16+/profile.bashrc | 10 ---------- 1 file changed, 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: -- 2.26.2