pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/vte3



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Apr  7 00:31:14 UTC 2022

Modified Files:
        pkgsrc/x11/vte3: Makefile

Log Message:
vte3: un-break builds with default GCC < 10

As of 0.68, this package expects C++20, and also fails if GCC < 10 or
clang < 11. (I don't see an equivalent to GCC_REQD for clang.) This
isn't necessarily a satisfactory fix, but at least gets it to build
again, un-breaking DE meta-pkgs like xfce4, mate, and gnome. It needs
further investigation.

The commit that enforces this new (high) bar in meson.build is:
https://github.com/GNOME/vte/commit/eec33cce0b9359fddda35703e22bffd1f8f28852
I haven't had time to examine the code to see what C++20 features are
involved.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/x11/vte3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/vte3/Makefile
diff -u pkgsrc/x11/vte3/Makefile:1.47 pkgsrc/x11/vte3/Makefile:1.48
--- pkgsrc/x11/vte3/Makefile:1.47       Tue Apr  5 15:51:57 2022
+++ pkgsrc/x11/vte3/Makefile    Thu Apr  7 00:31:14 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2022/04/05 15:51:57 jperkin Exp $
+# $NetBSD: Makefile,v 1.48 2022/04/07 00:31:14 gutteridge Exp $
 
 DISTNAME=      vte-0.68.0
 PKGNAME=       ${DISTNAME:S/vte/vte3/}
@@ -16,9 +16,9 @@ PKGCONFIG_OVERRIDE_STAGE=     post-configure
 PKGCONFIG_OVERRIDE+=           output/meson-private/vte-2.91.pc
 
 USE_TOOLS+=            msgfmt pkg-config bash
-USE_LANGUAGES=         c c++17
-# for c++17
-GCC_REQD+=             7
+USE_LANGUAGES=         c c++20
+# for c++20
+GCC_REQD+=             10
 
 # Otherwise, this will fail on Linux distributions that don't
 # have libsystemd.



Home | Main Index | Thread Index | Old Index