Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A46C884D6F for ; Sat, 22 Jul 2023 12:20:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id jonj6Sa4C6sS for ; Sat, 22 Jul 2023 12:20:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 16AA284D39 for ; Sat, 22 Jul 2023 12:20:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 104BFFBDB; Sat, 22 Jul 2023 12:20:38 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_169002843835020" MIME-Version: 1.0 Date: Sat, 22 Jul 2023 12:20:38 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230722122038.104BFFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_169002843835020 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Sat Jul 22 12:20:37 UTC 2023 Modified Files: pkgsrc/doc/guide/files: fixes.xml pkgsrc/mk: compiler.mk pkgsrc/mk/compiler: gcc.mk Log Message: mk: Add support for is_trivially_copy_constructible in USE_CXX_FEATURES. While a mouthful, this is the name the GCC commit message used for the features. To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188 pkgsrc/doc/guide/files/fixes.xml cvs rdiff -u -r1.101 -r1.102 pkgsrc/mk/compiler.mk cvs rdiff -u -r1.256 -r1.257 pkgsrc/mk/compiler/gcc.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_169002843835020 Content-Disposition: inline Content-Length: 2203 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/guide/files/fixes.xml diff -u pkgsrc/doc/guide/files/fixes.xml:1.187 pkgsrc/doc/guide/files/fixes.xml:1.188 --- pkgsrc/doc/guide/files/fixes.xml:1.187 Fri Jul 21 08:29:56 2023 +++ pkgsrc/doc/guide/files/fixes.xml Sat Jul 22 12:20:37 2023 @@ -1,4 +1,4 @@ - + Making your package work @@ -1458,7 +1458,8 @@ c11, c99, has_include currently: c++11, c++14, c++17, c++20, has_include, regex, filesystem, -charconv, parallelism_ts, unique_ptr, put_time +charconv, parallelism_ts, unique_ptr, put_time, +is_trivially_copy_constructible . Index: pkgsrc/mk/compiler.mk diff -u pkgsrc/mk/compiler.mk:1.101 pkgsrc/mk/compiler.mk:1.102 --- pkgsrc/mk/compiler.mk:1.101 Fri Jul 21 08:29:56 2023 +++ pkgsrc/mk/compiler.mk Sat Jul 22 12:20:37 2023 @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.101 2023/07/21 08:29:56 nia Exp $ +# $NetBSD: compiler.mk,v 1.102 2023/07/22 12:20:37 nia Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -82,7 +82,7 @@ # # Valid values are: c++11, c++14, c++17, c++20, has_include, # regex, filesystem, unique_ptr, charconv, parallelism_ts, -# put_time. +# put_time, is_trivially_copy_constructible. # # The following variables are defined, and available for testing in # package Makefiles: Index: pkgsrc/mk/compiler/gcc.mk diff -u pkgsrc/mk/compiler/gcc.mk:1.256 pkgsrc/mk/compiler/gcc.mk:1.257 --- pkgsrc/mk/compiler/gcc.mk:1.256 Fri Jul 21 08:29:56 2023 +++ pkgsrc/mk/compiler/gcc.mk Sat Jul 22 12:20:37 2023 @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.256 2023/07/21 08:29:56 nia Exp $ +# $NetBSD: gcc.mk,v 1.257 2023/07/22 12:20:37 nia Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -219,6 +219,10 @@ GCC_REQD+= 4.9 GCC_REQD+= 5 .endif +.if !empty(USE_CXX_FEATURES:Mis_trivially_copy_constructible) +GCC_REQD+= 5 +.endif + .if !empty(USE_CXX_FEATURES:Mfilesystem) GCC_REQD+= 8 .endif --_----------=_169002843835020--