From: Benda Xu Date: Mon, 23 Dec 2019 02:46:03 +0000 (+0800) Subject: p/f/prefix/standalone/kernel-2.6.16+/profile.bashrc: hack qtcore to compile. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7d8fcc89055a18b03552f6acb20221426abd89c3;p=gentoo.git p/f/prefix/standalone/kernel-2.6.16+/profile.bashrc: hack qtcore to compile. Lower the minimal version of Linux to 2.6.18. Signed-off-by: Benda Xu --- 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 049bbfe48ee6..dad9dcbc5852 100644 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc @@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || die einfo "Removing utimensat calls..." sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i "${S}"/qmake/library/ioutils.cpp || die + einfo "Lower the minimal version of Linux..." + sed -r -e 's/MINLINUX_PATCH[[:space:]]+28/MINLINUX_PATCH 18/' \ + -i "${S}"/src/corelib/global/minimum-linux_p.h || die 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