dev-libs/9libs: fix build with upcoming clang16

Closes: https://bugs.gentoo.org/871183
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-10-07 23:32:06 -04:00
parent 4863f4c615
commit d88dbbec34
2 changed files with 9 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-va_list.patch # Bug 385387
"${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {

View File

@@ -0,0 +1,8 @@
https://bugs.gentoo.org/871183
--- a/libXg/gcs.c
+++ b/libXg/gcs.c
@@ -163,3 +163,3 @@
static GC gc0, gcn;
- static clipset = 0;
+ static int clipset = 0;
GC g;