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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D90F158083 for ; Thu, 5 Sep 2024 19:33:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93E842BC026; Thu, 5 Sep 2024 19:33:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 6A6CD2BC01F for ; Thu, 5 Sep 2024 19:33:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B9DF0342F64 for ; Thu, 5 Sep 2024 19:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 536F11728 for ; Thu, 5 Sep 2024 19:33:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1725564768.df72bb6d4a18a552c6ef7d989bf477e56bb1109f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Wx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Wx/Wx-0.993.200-r3.ebuild X-VCS-Directories: dev-perl/Wx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: df72bb6d4a18a552c6ef7d989bf477e56bb1109f X-VCS-Branch: master Date: Thu, 5 Sep 2024 19:33:29 +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: 3d1261e8-01e6-4046-b23f-2b6b3ff112e1 X-Archives-Hash: a6da7759f9c38a68229d052a5979b862 commit: df72bb6d4a18a552c6ef7d989bf477e56bb1109f Author: Alfred Wingate protonmail com> AuthorDate: Thu Sep 5 16:50:59 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Sep 5 19:32:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df72bb6d dev-perl/Wx: export CC as CXX due to xspp expectations Previous eclass change modified behavior to explicitly set CC. This broke expectiations for xspp as Wx was setting CC to CXX in a weak way. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a650e223a09b0616a4e619c73cc033478fb7a61 https://metacpan.org/release/MDOOTSON/Wx-0.9932/source/build/Wx/build/MakeMaker/Any_wx_config.pm#L27 Closes: https://bugs.gentoo.org/931939 Signed-off-by: Alfred Wingate protonmail.com> Signed-off-by: Sam James gentoo.org> dev-perl/Wx/Wx-0.993.200-r3.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-perl/Wx/Wx-0.993.200-r3.ebuild b/dev-perl/Wx/Wx-0.993.200-r3.ebuild index 9c2559675aa1..e2efd5f8250a 100644 --- a/dev-perl/Wx/Wx-0.993.200-r3.ebuild +++ b/dev-perl/Wx/Wx-0.993.200-r3.ebuild @@ -7,7 +7,7 @@ WX_GTK_VER="3.2-gtk3" DIST_AUTHOR=MDOOTSON DIST_VERSION=0.9932 DIST_EXAMPLES=("samples/*") -inherit wxwidgets virtualx perl-module +inherit toolchain-funcs wxwidgets virtualx perl-module DESCRIPTION="Perl bindings for wxGTK" HOMEPAGE="https://wxperl.sourceforge.net/ https://metacpan.org/release/Wx" @@ -54,6 +54,13 @@ src_prepare() { perl-module_src_prepare } +src_configure() { + # xspp sets CC to a c++ compiler but the eclass overrides it + # https://bugs.gentoo.org/931939 + export CC="$(tc-getCXX)" + perl-module_src_configure +} + src_test() { # the webview/t/03_threads.t test tends to hang or crash in weird # ways depending on local configuration. eg, backtraces involving