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 1CE7913835B for ; Thu, 18 Jun 2020 16:30:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1BE5E08F6; Thu, 18 Jun 2020 16:30:54 +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 67F94E08F3 for ; Thu, 18 Jun 2020 16:30:54 +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 0F78134F346 for ; Thu, 18 Jun 2020 16:30:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A182E2A1 for ; Thu, 18 Jun 2020 16:30:49 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1592497747.10cc105b82d53d20fc48ba340ea0a99266df9cc7.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/darktable/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/darktable/darktable-3.0.2-r1.ebuild media-gfx/darktable/darktable-3.0.2.ebuild media-gfx/darktable/darktable-9999.ebuild X-VCS-Directories: media-gfx/darktable/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 10cc105b82d53d20fc48ba340ea0a99266df9cc7 X-VCS-Branch: master Date: Thu, 18 Jun 2020 16:30:49 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 766e459a-f757-42f0-877a-63e90d634753 X-Archives-Hash: cc7a5a490f258e06a43b5bb824f429b2 commit: 10cc105b82d53d20fc48ba340ea0a99266df9cc7 Author: Marek Szuba gentoo org> AuthorDate: Thu Jun 18 14:52:38 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Jun 18 16:29:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10cc105b media-gfx/darktable: if building with gcc, check for Graphite support Closes: https://bugs.gentoo.org/695658 Signed-off-by: Marek Szuba gentoo.org> media-gfx/darktable/darktable-3.0.2-r1.ebuild | 7 ++++++- media-gfx/darktable/darktable-3.0.2.ebuild | 7 ++++++- media-gfx/darktable/darktable-9999.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/media-gfx/darktable/darktable-3.0.2-r1.ebuild b/media-gfx/darktable/darktable-3.0.2-r1.ebuild index 0d3a07d8b76..298560b890d 100644 --- a/media-gfx/darktable/darktable-3.0.2-r1.ebuild +++ b/media-gfx/darktable/darktable-3.0.2-r1.ebuild @@ -63,7 +63,6 @@ DEPEND="${COMMON_DEPEND} >=sys-devel/clang-4 >=sys-devel/llvm-4 ) - openmp? ( >=sys-devel/gcc-6[openmp,graphite] ) " RDEPEND="${COMMON_DEPEND} kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 ) @@ -77,6 +76,12 @@ PATCHES=( S="${WORKDIR}/${P/_/~}" pkg_pretend() { + # Bug #695658 + if tc-is-gcc; then + test-flags-CC -floop-block &> /dev/null || \ + die "Please switch to a gcc version built with USE=graphite" + fi + if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi diff --git a/media-gfx/darktable/darktable-3.0.2.ebuild b/media-gfx/darktable/darktable-3.0.2.ebuild index e35f592dbc5..1ab8842d12a 100644 --- a/media-gfx/darktable/darktable-3.0.2.ebuild +++ b/media-gfx/darktable/darktable-3.0.2.ebuild @@ -63,7 +63,6 @@ DEPEND="${COMMON_DEPEND} >=sys-devel/clang-4 >=sys-devel/llvm-4 ) - openmp? ( >=sys-devel/gcc-6[openmp,graphite] ) " RDEPEND="${COMMON_DEPEND} kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 ) @@ -77,6 +76,12 @@ PATCHES=( S="${WORKDIR}/${P/_/~}" pkg_pretend() { + # Bug #695658 + if tc-is-gcc; then + test-flags-CC -floop-block &> /dev/null || \ + die "Please switch to a gcc version built with USE=graphite" + fi + if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild index 6236b05ef1d..5fd513ae695 100644 --- a/media-gfx/darktable/darktable-9999.ebuild +++ b/media-gfx/darktable/darktable-9999.ebuild @@ -59,7 +59,6 @@ DEPEND="${COMMON_DEPEND} >=sys-devel/clang-4 >=sys-devel/llvm-4 ) - openmp? ( >=sys-devel/gcc-6[openmp,graphite] ) " RDEPEND="${COMMON_DEPEND} kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 ) @@ -70,6 +69,12 @@ PATCHES=( ) pkg_pretend() { + # Bug #695658 + if tc-is-gcc; then + test-flags-CC -floop-block &> /dev/null || \ + die "Please switch to a gcc version built with USE=graphite" + fi + if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi