From nobody Tue Jul 11 18:16:59 2023 X-Original-To: dev-commits-ports-main@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 4R0pxW49yTz2tqb1; Tue, 11 Jul 2023 18:17:19 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R0pxW3c65z4GXs; Tue, 11 Jul 2023 18:17:19 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689099439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1hQFSRGlcNSqxeZK8OtA1IsnpX0vbABNMnYha7Y5WI=; b=gwNBwMQcg2a4livQjHnym8omH84v0T1PDKj/zIlbqJcJTNwUb08YdLBeBhiv5gVnUZSBZB OaiJD/JyEWH0CITPbo/gXi318fy1flVU5oOPsGqiiL0+Hbcin86mrqC04o0lw9zow3SYQ+ 75lCTKFHjc/qQzkAxHL8oAjkn6oEUUVD00Sirx5IBt2WMHPsnk3uk1hRk2Yj6o2XAvxVtQ wTcOzhYIlVUXjmplRpW6oJMP0ZJ3Bl+A2lwywxHSLEdlGPSEJqf5t4IPMGsFVXeuYHIyNr PJUcRKW6RzZSIWxQOhwIRnyYFXbQ0WKboFYyFZ/pk46ledJYP0lGP7c/XFUpBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689099439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1hQFSRGlcNSqxeZK8OtA1IsnpX0vbABNMnYha7Y5WI=; b=gEq85Rx6V1E867/rHczW4PYKLw3C5FJZX/UN9sEsCAf7rtpk5G8P73YzL3oRB3JmZBjeME 3pNZgBw6qtuhl3aINh+w2nzK8vYS0oUOgDJTvGfMbcyZmYkfGZFhvgNkS4ro0n6Tte66vk 1gRG0jVqXMR2g78vySezf49PJ6pkEcZnWtKSpP3+PIi24dNbyx/MsY1oM5nZp1gy3BBNck +aofxloZiFiw5tzo+4yv0iKDNwrcrSpZJA9Ty+bap31mqisVCLJhSrUXDqarMLXuQdwo0E /7kMGG/cJYfnOzcKBO93+GTcdcBy/I5OA2Y6RrGymRaxzZUYrCzbq8MImwADrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689099439; a=rsa-sha256; cv=none; b=LgafCU+geQlx08T4Xyoweb1O6L/wK5ZNYZDWGZYD87bh5iQdWPjcRmYs+tT8CVZx9pzDpp rslDmQXmncfRqLxOfMgSjQTrhLl8TGzMlK97bS98AsbYmVdB6oV+P+fbra/XdRQwBYGr0P 005Ic5WJylvnEX+DWvwNuSXbtMKuw+XCbGtLiZH0z+OkPTwnax6Lcg0mpVPRitmNLgfQSb cipdILjBY+86K00XBxHJWyWym6mxOUl5WjeXQOC8APO4r1ZIRra6MoKDqnWwdPbo2wZlZd JeqELsJAstGF+pKuoDYUisj2uxQj+Tv8xSnYmpm6OewYx9oaKe8fcjLjEgiJBA== Received: from localhost.localdomain (dhcp-077-248-016-223.chello.nl [77.248.16.223]) (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) (Client did not present a certificate) (Authenticated sender: rakuco/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4R0pxV2ZqwzVFG; Tue, 11 Jul 2023 18:17:18 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Message-ID: <5bd4df5587c773d3e8916fe64d093f2b96e67e24.camel@FreeBSD.org> Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used From: Raphael Kubo da Costa To: "Hurling, Rainer" Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Date: Tue, 11 Jul 2023 20:16:59 +0200 In-Reply-To: <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N On Thu, 2023-07-06 at 20:48 +0200, Rainer Hurling wrote: > Am 06.07.23 um 10:51 schrieb Raphael Kubo da Costa: > > > As for a PORTREVISION bump: it _could_ be the case that the > > > generated > > > files differ now, as in the past the default standard was gnu++14 > > > rather than c++11. For leaf ports like these two I don't think > > > the > > > difference really matters, but I've been semi-abstent for so long > > > that > > > portmgr@ or someone more active may have a better guideline. > >=20 > > By the way, one other possibility that I haven't tested myself if > > compatibility is an issue would be doing something like > > https://cgit.freebsd.org/ports/commit/?id=3D4e0c2ae319222145ab0b3f37c0b= a52f596426d5a > >=20 > > but passing USE_STDCXX=3Dgnu++14 instead of changing CXXFLAGS. This > > would > > guarantee that non-main with older clang releases remain untouched > > while also making clang 16 use the same standard that the older > > clang > > releases use. >=20 > Since the eboard project is hardly maintained, an upstream patch is=20 > currently difficult to implement. Therefore I consider to take the > tip=20 > to heart and to change to USE_STDCXX=3Dgnu++14 in the games/eboard > port.=20 > The port builds well, the program seems to work without errors. >=20 > Still, one more question: is it safe to remove USES=3Dcompiler:c++11- > lang=20 > for architectures other than amd64 and i386 and just use=20 > USE_STDCXX=3Dgnu++14. I have no way to test for arm, etc. Nuno asked about this in https://reviews.freebsd.org/D40939 a while ago, and pkubaj@ explained in which situations those keywords (or at least some of them) are required: https://reviews.freebsd.org/D40939#932674 By having those entries, you basically ensure the port builds on FreeBSD 12 for Tier 2 architectures like powerpc and powerpc64 which still use GCC 4.2 on FreeBSD 12.