pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/vte3 vte3: un-break builds with default GCC < 10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45b1cd4926ae
branches:  trunk
changeset: 376381:45b1cd4926ae
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Apr 07 00:31:14 2022 +0000

description:
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.

diffstat:

 x11/vte3/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 52b7eecfa2a1 -r 45b1cd4926ae x11/vte3/Makefile
--- a/x11/vte3/Makefile Wed Apr 06 22:46:22 2022 +0000
+++ b/x11/vte3/Makefile Thu Apr 07 00:31:14 2022 +0000
@@ -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+=           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