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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E911D158094 for ; Fri, 19 Aug 2022 15:49:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ACD8E0867; Fri, 19 Aug 2022 15:49:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B70BE0867 for ; Fri, 19 Aug 2022 15:49:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4819341225 for ; Fri, 19 Aug 2022 15:49:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CCC257D for ; Fri, 19 Aug 2022 15:49:36 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1660923993.0e70dbcc07413a6f106b7462c277ce919db08099.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/mtxclient/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/mtxclient/mtxclient-0.8.0.ebuild X-VCS-Directories: dev-libs/mtxclient/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 0e70dbcc07413a6f106b7462c277ce919db08099 X-VCS-Branch: dev Date: Fri, 19 Aug 2022 15:49:36 +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: 27be0055-2f54-4f09-a346-6d057da8e1f6 X-Archives-Hash: 751b1eda77f0153727f9bb4c2f2ee157 commit: 0e70dbcc07413a6f106b7462c277ce919db08099 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Aug 19 15:46:33 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Aug 19 15:46:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e70dbcc dev-libs/mtxclient: work around LTO build failure Closes: https://bugs.gentoo.org/861731 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-libs/mtxclient/mtxclient-0.8.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-libs/mtxclient/mtxclient-0.8.0.ebuild b/dev-libs/mtxclient/mtxclient-0.8.0.ebuild index 7b9d756dc..a3e74c2c7 100644 --- a/dev-libs/mtxclient/mtxclient-0.8.0.ebuild +++ b/dev-libs/mtxclient/mtxclient-0.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio" HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" @@ -33,6 +33,14 @@ PATCHES=( "${FILESDIR}/0.6.0_remove_network_tests.patch" ) +src_prepare() { + if use test; then + filter-lto # bug #861731 + fi + + cmake_src_prepare +} + src_configure() { local -a mycmakeargs=( -DBUILD_LIB_TESTS="$(usex test)" 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 40D7F158094 for ; Wed, 24 Aug 2022 15:52:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 377AEE0844; Wed, 24 Aug 2022 15:52:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A124AE0788 for ; Wed, 24 Aug 2022 15:52:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB88934102C for ; Wed, 24 Aug 2022 15:52:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4081A596 for ; Wed, 24 Aug 2022 15:52:13 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1660923993.0e70dbcc07413a6f106b7462c277ce919db08099.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/mtxclient/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/mtxclient/mtxclient-0.8.0.ebuild X-VCS-Directories: dev-libs/mtxclient/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 0e70dbcc07413a6f106b7462c277ce919db08099 X-VCS-Branch: master Date: Wed, 24 Aug 2022 15:52:13 +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: 707b526e-75ef-4972-b51b-792ed18147f3 X-Archives-Hash: 64e32cc051bce07307209ed4a142e711 Message-ID: <20220824155213.kJC6z3b38ns-w70dQgnquS1PUxE2mKt61TeHqAgg8ro@z> commit: 0e70dbcc07413a6f106b7462c277ce919db08099 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Aug 19 15:46:33 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Aug 19 15:46:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e70dbcc dev-libs/mtxclient: work around LTO build failure Closes: https://bugs.gentoo.org/861731 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-libs/mtxclient/mtxclient-0.8.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-libs/mtxclient/mtxclient-0.8.0.ebuild b/dev-libs/mtxclient/mtxclient-0.8.0.ebuild index 7b9d756dc..a3e74c2c7 100644 --- a/dev-libs/mtxclient/mtxclient-0.8.0.ebuild +++ b/dev-libs/mtxclient/mtxclient-0.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio" HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" @@ -33,6 +33,14 @@ PATCHES=( "${FILESDIR}/0.6.0_remove_network_tests.patch" ) +src_prepare() { + if use test; then + filter-lto # bug #861731 + fi + + cmake_src_prepare +} + src_configure() { local -a mycmakeargs=( -DBUILD_LIB_TESTS="$(usex test)"