pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



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.

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 @@
-<!-- $NetBSD: fixes.xml,v 1.187 2023/07/21 08:29:56 nia Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.188 2023/07/22 12:20:37 nia Exp $ -->
 
 <chapter id="fixes"> <?dbhtml filename="fixes.html"?>
 <title>Making your package work</title>
@@ -1458,7 +1458,8 @@ c11, c99, has_include
     currently:
 <programlisting>
 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
 </programlisting>
     .</para>
     </para>

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



Home | Main Index | Thread Index | Old Index