commit:     0a96e2b065ec8d36db5057c6ee9ce3f4309c1f54
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 06:55:30 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 06:57:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a96e2b0

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 <AT> gentoo.org>

 .../features/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 c08217181df..049bbfe48ee 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:

Reply via email to