From nobody Fri Jul 07 05:42:25 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qy2NZ1Bhsz4l93y; Fri, 7 Jul 2023 05:42:38 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailer.gwdg.de (mailer.gwdg.de [134.76.10.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qy2NY630xz4NQk; Fri, 7 Jul 2023 05:42:37 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; none Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1qHeEl-000B1Y-NI; Fri, 07 Jul 2023 07:42:35 +0200 Received: from MBX19-GWD-03.um.gwdg.de (10.108.142.56) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.2507.27; Fri, 7 Jul 2023 07:42:35 +0200 Received: from [172.20.100.8] (10.250.9.199) by MBX19-GWD-03.um.gwdg.de (10.108.142.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.30; Fri, 7 Jul 2023 07:42:35 +0200 Content-Type: multipart/mixed; boundary="------------rGzUshQLSfP6LuSWRf0Qw1o7" Message-ID: <4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0@gwdg.de> Date: Fri, 7 Jul 2023 07:42:25 +0200 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used To: Nuno Teixeira CC: Raphael Kubo da Costa , , , References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> Content-Language: de-DE Reply-To: "Hurling, Rainer" From: Rainer Hurling In-Reply-To: X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-28.um.gwdg.de (134.76.9.201) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4Qy2NY630xz4NQk X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --------------rGzUshQLSfP6LuSWRf0Qw1o7 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Hi Nuno, Am 06.07.23 um 23:51 schrieb Nuno Teixeira: > Hello Rainer, > > Still, one more question: is it safe to remove USES=compiler:c++11-lang > for architectures other than amd64 and i386 and just use > USE_STDCXX=gnu++14. I have no way to test for arm, etc. > > > I've asked the same for compiler:c11 on mailing today. > My doubt is: is it neccessary using c11, c++11, etc when available > compilers support it or have capabilities for it? > > I can do poudriere testport and run test on a rpi4 running 13 stable, > just send me diff. Thanks for the offer. Here is a diff against games/eboard with the to changes: diff --git a/games/eboard/Makefile b/games/eboard/Makefile index 3f78f9e91874..ce399415cba8 100644 --- a/games/eboard/Makefile +++ b/games/eboard/Makefile @@ -20,10 +20,10 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png -USES= compiler:c++11-lang gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2 +USES= gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2 # eboard 1.1.13 is not compatible with C++17, which is the default since # clang 16. This means ports depending on it also need to use at most C++14. -USE_CXXSTD= c++11 +USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= fbergo USE_GNOME= cairo gdkpixbuf2 gtk20 It would be very nice if you could also look for arm, if the package is still binary compatible compared to the unpatched version :) Thanks a lot ! Best wishes, Rainer > > Cheers, > > -- > Nuno Teixeira > FreeBSD Committer (ports) --------------rGzUshQLSfP6LuSWRf0Qw1o7 Content-Type: text/x-patch; charset="UTF-8"; name="patch-games_eboard_Makefile.diff" Content-Disposition: attachment; filename="patch-games_eboard_Makefile.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2dhbWVzL2Vib2FyZC9NYWtlZmlsZSBiL2dhbWVzL2Vib2FyZC9NYWtl ZmlsZQppbmRleCAzZjc4ZjllOTE4NzQuLmNlMzk5NDE1Y2JhOCAxMDA2NDQKLS0tIGEvZ2Ft ZXMvZWJvYXJkL01ha2VmaWxlCisrKyBiL2dhbWVzL2Vib2FyZC9NYWtlZmlsZQpAQCAtMjAs MTAgKzIwLDEwIEBAIExJQl9ERVBFTkRTPQlsaWJmb250Y29uZmlnLnNvOngxMS1mb250cy9m b250Y29uZmlnIFwKIAkJbGliZnJlZXR5cGUuc286cHJpbnQvZnJlZXR5cGUyIFwKIAkJbGli cG5nLnNvOmdyYXBoaWNzL3BuZwogCi1VU0VTPQkJY29tcGlsZXI6YysrMTEtbGFuZyBnbm9t ZSBnc3RyZWFtZXIgcGVybDUgcGtnY29uZmlnIHNoZWJhbmdmaXggdGFyOmJ6aXAyCitVU0VT PQkJZ25vbWUgZ3N0cmVhbWVyIHBlcmw1IHBrZ2NvbmZpZyBzaGViYW5nZml4IHRhcjpiemlw MgogIyBlYm9hcmQgMS4xLjEzIGlzIG5vdCBjb21wYXRpYmxlIHdpdGggQysrMTcsIHdoaWNo IGlzIHRoZSBkZWZhdWx0IHNpbmNlCiAjIGNsYW5nIDE2LiBUaGlzIG1lYW5zIHBvcnRzIGRl cGVuZGluZyBvbiBpdCBhbHNvIG5lZWQgdG8gdXNlIGF0IG1vc3QgQysrMTQuCi1VU0VfQ1hY U1REPQljKysxMQorVVNFX0NYWFNURD0JYysrMTQKIFVTRV9HSVRIVUI9CXllcwogR0hfQUND T1VOVD0JZmJlcmdvCiBVU0VfR05PTUU9CWNhaXJvIGdka3BpeGJ1ZjIgZ3RrMjAK --------------rGzUshQLSfP6LuSWRf0Qw1o7--