Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/
Date: Mon, 23 Dec 2019 02:47:58
Message-Id: 1577069264.7d8fcc89055a18b03552f6acb20221426abd89c3.heroxbd@gentoo
1 commit: 7d8fcc89055a18b03552f6acb20221426abd89c3
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 23 02:46:03 2019 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 02:47:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d8fcc89
7
8 p/f/prefix/standalone/kernel-2.6.16+/profile.bashrc: hack qtcore to compile.
9
10 Lower the minimal version of Linux to 2.6.18.
11
12 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
13
14 profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 3 +++
15 1 file changed, 3 insertions(+)
16
17 diff --git a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
18 index 049bbfe48ee..dad9dcbc585 100644
19 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
20 +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc
21 @@ -8,6 +8,9 @@ elif [[ ${CATEGORY}/${PN} == dev-qt/qtcore && ${EBUILD_PHASE} == configure ]]; t
22 sed -e '/define.*HAVE_PIPE2/d' -i "${S}"/src/3rdparty/forkfd/forkfd.c || die
23 einfo "Removing utimensat calls..."
24 sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i "${S}"/qmake/library/ioutils.cpp || die
25 + einfo "Lower the minimal version of Linux..."
26 + sed -r -e 's/MINLINUX_PATCH[[:space:]]+28/MINLINUX_PATCH 18/' \
27 + -i "${S}"/src/corelib/global/minimum-linux_p.h || die
28 elif [[ ${CATEGORY}/${PN} == dev-lang/ocaml && ${EBUILD_PHASE} == configure ]]; then
29 einfo "Removing dup3 and pipe2 definitions..."
30 sed -e '/hasgot dup3/,/^fi/d;/hasgot pipe2/,/^fi/d' -i "${S}"/configure || die