From nobody Wed Jul 05 11:39:38 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 4QwyPb4s4zz4lFMf; Wed, 5 Jul 2023 11:39:47 +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 4QwyPY6vKyz3wCM; Wed, 5 Jul 2023 11:39:45 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of rhurlin@gwdg.de designates 134.76.10.26 as permitted sender) smtp.mailfrom=rhurlin@gwdg.de; dmarc=none Received: from excmbx-01.um.gwdg.de ([134.76.9.216] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1qH0rH-000T7x-UN; Wed, 05 Jul 2023 13:39:43 +0200 Received: from MBX19-GWD-03.um.gwdg.de (10.108.142.56) by excmbx-01.um.gwdg.de (134.76.9.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.2507.27; Wed, 5 Jul 2023 13:39:43 +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; Wed, 5 Jul 2023 13:39:43 +0200 Message-ID: Date: Wed, 5 Jul 2023 13:39:38 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used To: Raphael Kubo da Costa CC: , , References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> Content-Language: de-DE Reply-To: "Hurling, Rainer" From: Rainer Hurling In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-24.um.gwdg.de (134.76.9.234) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RWL_MAILSPIKE_EXCELLENT(-0.40)[134.76.10.26:from]; R_SPF_ALLOW(-0.20)[+ip4:134.76.10.0/23]; RCVD_IN_DNSWL_MED(-0.20)[134.76.10.26:from]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[rhurlin]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; HAS_REPLYTO(0.00)[rhurlin@FreeBSD.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gwdg.de]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[134.76.9.216:received]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; HAS_XOIP(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE]; MLMMJ_DEST(0.00)[dev-commits-ports-all@FreeBSD.org,dev-commits-ports-main@freebsd.org] X-Rspamd-Queue-Id: 4QwyPY6vKyz3wCM X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi Raphael, This also helps me for games/eboard. I had been looking around for some time and had not found a solution yet. I will also use parts of your explanation :) Many thanks and best wishes, Rainer Am 05.07.23 um 11:13 schrieb Nuno Teixeira: > Hello Raphael, > > Really nice and explaining comment on std c++11 fixes. I will use same > comment on ports needed it to work in clang 16, e.g., net-p2p/amule that > needs it. > > Just a question, should a PORTREVISION bump reccomended when we set > USE_CXXSTD=c++11? > > Thanks, > > Raphael Kubo da Costa > > escreveu no dia quarta, 5/07/2023 à(s) 09:50: > > The branch main has been updated by rakuco: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=b56d0bc41af79bf3a51f89249e96ec02b7fc464e > > commit b56d0bc41af79bf3a51f89249e96ec02b7fc464e > Author:     Raphael Kubo da Costa > AuthorDate: 2023-07-05 08:49:09 +0000 > Commit:     Raphael Kubo da Costa > CommitDate: 2023-07-05 08:49:09 +0000 > >     devel/libcutl: Explain why USE_CXXSTD=c++11 is used > >     While here, also add a note to its only consumer, devel/xsd, to > mention >     why it also needs USE_CXXSTD and when it can be removed. > --- >  devel/libcutl/Makefile | 2 ++ >  devel/xsd/Makefile     | 3 +++ >  2 files changed, 5 insertions(+) > > diff --git a/devel/libcutl/Makefile b/devel/libcutl/Makefile > index 323b2b44feee..bbaad70028c2 100644 > --- a/devel/libcutl/Makefile > +++ b/devel/libcutl/Makefile > @@ -17,6 +17,8 @@ LIB_DEPENDS=  libboost_system.so:devel/boost-libs \ >                 libexpat.so:textproc/expat2 > >  USES=          compiler:c++11-lib libtool > +# libcutl 1.10.0 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 >  GNU_CONFIGURE= yes >  INSTALL_TARGET=        install-strip > diff --git a/devel/xsd/Makefile b/devel/xsd/Makefile > index 06e02ce6f72c..010b73e6e9e4 100644 > --- a/devel/xsd/Makefile > +++ b/devel/xsd/Makefile > @@ -23,6 +23,9 @@ LIB_DEPENDS=  libcutl.so:devel/libcutl \ >                 libxerces-c.so:textproc/xerces-c3 > >  USES=          compiler:c++11-lang ghostscript:build gmake > localbase:ldflags tar:bzip2 > +# devel/libcutl 1.10.0 does not work with C++17 which is the > default since > +# clang 16. This can be removed once that port starts working with > C++17 and > +# has its own USE_CXXSTD removed. >  USE_CXXSTD=    c++11 > >  MAKEFILE=      makefile > > > > -- > Nuno Teixeira > FreeBSD Committer (ports)