diff options
Diffstat (limited to 'profiles/features/prefix')
-rw-r--r-- | profiles/features/prefix/package.use.mask | 8 | ||||
-rw-r--r-- | profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/profiles/features/prefix/package.use.mask b/profiles/features/prefix/package.use.mask index 07d83215aa7c..37eb627c3988 100644 --- a/profiles/features/prefix/package.use.mask +++ b/profiles/features/prefix/package.use.mask @@ -1,6 +1,14 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Fabian Groffen <grobian@gentoo.org> (2020-10-15) +# Requires PAM +x11-base/xorg-server elogind + +# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-10-21) +# depends on systemd +sys-apps/ipmitool openbmc + # Benda Xu <heroxbd@gentoo.org> (2019-08-20) # avoid gnome-extra/gnome-user-share, which depends on systemd. gnome-base/gnome-extra-apps share 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 dad9dcbc5852..6370f687cad2 100644 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc @@ -3,6 +3,10 @@ if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then einfo "Removing utimensat outputs..." sed -e '/UTIMENSAT=/d' -i "${S}"/Source/kwsys/CMakeLists.txt || die +elif [[ ${CATEGORY}/${PN} == dev-libs/libuv && ${EBUILD_PHASE} == prepare ]]; then + einfo "Removing CLOEXEC related functions..." + sed -e 's/defined(__FreeBSD__) || defined(__linux__)/0/' \ + -i "${S}"/src/unix/process.c || die elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; then einfo "Removing pipe2 definitions..." sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || die @@ -14,6 +18,12 @@ 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-apps/util-linux && ${EBUILD_PHASE} == configure ]]; then + einfo "Removing CLOEXEC related functions..." + sed -r -e 's/inotify_init1\(.*\)/inotify_init\(\)/' \ + -e '/open\(/s/\| *O_CLOEXEC//' \ + -e 's/epoll_create1\(EPOLL_CLOEXEC/epoll_create\(1/' \ + -i "${S}"/libmount/src/monitor.c || die fi # Local Variables: |