From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 881E5138334 for ; Sat, 18 Aug 2018 05:37:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 781EEE069C; Sat, 18 Aug 2018 05:37:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54523E069C for ; Sat, 18 Aug 2018 05:37:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1902933BE18 for ; Sat, 18 Aug 2018 05:37:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0553395 for ; Sat, 18 Aug 2018 05:37:31 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1534570643.94b0c25e55cf4477438ddca4884589421748c428.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/kernel-2.6.16+/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc X-VCS-Directories: profiles/features/prefix/standalone/kernel-2.6.16+/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 94b0c25e55cf4477438ddca4884589421748c428 X-VCS-Branch: master Date: Sat, 18 Aug 2018 05:37:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 862d31b9-9948-4f49-a42b-ba7bc8f61413 X-Archives-Hash: 30a15d67f162b1c5edd3851b2f87cd90 commit: 94b0c25e55cf4477438ddca4884589421748c428 Author: Benda Xu gentoo org> AuthorDate: Sat Aug 18 05:35:12 2018 +0000 Commit: Benda XU gentoo org> CommitDate: Sat Aug 18 05:37:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b0c25e p/f/p/s/kernel-2.6.16+/profile.bashrc: disable pipe2, utimensat qtcore incorrectly uses kernel features without testing. Fix it. .../features/prefix/standalone/kernel-2.6.16+/profile.bashrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 e537cc0fa31..fb926138685 100644 --- a/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc +++ b/profiles/features/prefix/standalone/kernel-2.6.16+/profile.bashrc @@ -2,5 +2,14 @@ if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then einfo "Removing utimensat outputs..." - sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt + sed -e '/UTIMENSAT=/d' -i ${S}/Source/kwsys/CMakeLists.txt || 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 + einfo "Removing utimensat calls..." + sed -e '/_POSIX_VERSION/s/defined(_POSIX_VERSION)/0/' -i ${S}/qmake/library/ioutils.cpp || die fi + +# Local Variables: +# mode: shell-script +# End: