mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-libs/vte: fix build with gcc-14
Bug: https://gitlab.gnome.org/GNOME/vte/-/issues/2807 Closes: https://bugs.gentoo.org/937617 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/38026 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
51fa6ed42e
commit
b84060fb3f
34
x11-libs/vte/files/vte-0.76.3-stdint.patch
Normal file
34
x11-libs/vte/files/vte-0.76.3-stdint.patch
Normal file
@@ -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 <chpe@src.gnome.org>
|
||||
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 <glib.h>
|
||||
#include <glib-object.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "vtemacros.h"
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -54,6 +54,8 @@ BDEPEND="
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.76.3-stdint.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
|
||||
Reference in New Issue
Block a user