diff --git a/x11-libs/vte/files/vte-0.76.3-stdint.patch b/x11-libs/vte/files/vte-0.76.3-stdint.patch new file mode 100644 index 0000000000000..26c640e0ae7f2 --- /dev/null +++ b/x11-libs/vte/files/vte-0.76.3-stdint.patch @@ -0,0 +1,34 @@ + +Fix compilation with gcc-14. + +Bug: https://bugs.gentoo.org/937617 +Bug: https://gitlab.gnome.org/GNOME/vte/-/issues/2807 + +Patch from: +https://gitlab.gnome.org/GNOME/vte/-/commit/0d393b6cd6a24f53eaefa16764b9453a1483acf5 + +From 0d393b6cd6a24f53eaefa16764b9453a1483acf5 Mon Sep 17 00:00:00 2001 +From: Christian Persch +Date: Mon, 12 Aug 2024 18:42:37 +0200 +Subject: [PATCH] lib: Include stdint.h where needed + +Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2807 +--- + src/vte/vteregex.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/vte/vteregex.h b/src/vte/vteregex.h +index 10c5088b8..c9e4f75db 100644 +--- a/src/vte/vteregex.h ++++ b/src/vte/vteregex.h +@@ -23,6 +23,7 @@ + + #include + #include ++#include + + #include "vtemacros.h" + +-- +GitLab + diff --git a/x11-libs/vte/vte-0.76.3.ebuild b/x11-libs/vte/vte-0.76.3.ebuild index 09a196f39daec..e18dd0ef6bbc3 100644 --- a/x11-libs/vte/vte-0.76.3.ebuild +++ b/x11-libs/vte/vte-0.76.3.ebuild @@ -54,6 +54,8 @@ BDEPEND=" vala? ( $(vala_depend) ) " +PATCHES=( "${FILESDIR}/${PN}-0.76.3-stdint.patch" ) + src_prepare() { default use vala && vala_setup