pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Jun 18 18:27:10 UTC 2024

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk/compiler/gcc.mk: Require 13 for c++23

While gcc documents that 14 is required, pkgsrc does not have 14, and
13 is better than than 12.

As proposed on tech-pkg on June 7 with no objections.  (There appear
to be a tiny number of programs declared to use c++23 anyway.)


To generate a diff of this commit:
cvs rdiff -u -r1.279 -r1.280 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/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.279 pkgsrc/mk/compiler/gcc.mk:1.280
--- pkgsrc/mk/compiler/gcc.mk:1.279     Fri Jun  7 12:59:36 2024
+++ pkgsrc/mk/compiler/gcc.mk   Tue Jun 18 18:27:10 2024
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.279 2024/06/07 12:59:36 gdt Exp $
+# $NetBSD: gcc.mk,v 1.280 2024/06/18 18:27:10 gdt Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -184,8 +184,8 @@ GCC_REQD+=  2.8.0
 .if !empty(USE_CXX_FEATURES:Mc++23)
 # gcc documents that 14 is required.
 
-# \todo Change to 14 or justify.
-GCC_REQD+=     12
+# pkgsrc lacks 14, so pick 13.                                                                                                                                                                         
                    
+GCC_REQD+=     13                                                                                                                                                                                      
                    
 .endif
 
 .if !empty(USE_CXX_FEATURES:Mc++20)



Home | Main Index | Thread Index | Old Index