summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-04-07 00:31:14 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-04-07 00:31:14 +0000
commitdf7cff19f8e3e6dac0774c5a8356b815f3bae6a5 (patch)
tree557974d395b346ab52216a505278094bd4880237 /x11
parent75f053be37fed69cf239b54b4a8e26d521ddf8f5 (diff)
downloadpkgsrc-df7cff19f8e3e6dac0774c5a8356b815f3bae6a5.tar.gz
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 (limited to 'x11')
-rw-r--r--x11/vte3/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/vte3/Makefile b/x11/vte3/Makefile
index d12927be3ce..d64aff62940 100644
--- a/x11/vte3/Makefile
+++ b/x11/vte3/Makefile
@@ -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.