summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-12-23 10:46:03 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-12-23 10:47:44 +0800
commit7d8fcc89055a18b03552f6acb20221426abd89c3 (patch)
treee9acc3a051415c463126ded1d35dc6414c8b4900 /profiles/features
parentmedia-radio/js8call: bump (diff)
downloadgentoo-7d8fcc89055a18b03552f6acb20221426abd89c3.tar.gz
gentoo-7d8fcc89055a18b03552f6acb20221426abd89c3.tar.bz2
gentoo-7d8fcc89055a18b03552f6acb20221426abd89c3.zip
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 <heroxbd@gentoo.org>
Diffstat (limited to 'profiles/features')
-rw-r--r--profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc3
1 files changed, 3 insertions, 0 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 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