app-i18n/uim: fix build with gcc-10

* Thanks to Jeroen Roovers for submitting the patch

Closes: https://bugs.gentoo.org/706968
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-11-29 00:08:46 +01:00
committed by David Seifert
parent de2c720021
commit a45dfd34d2
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/sigscheme/libgcroots/include/private/gc_priv.h
+++ b/sigscheme/libgcroots/include/private/gc_priv.h
@@ -1979,7 +1979,7 @@
/* the signal mask. */
# define SETJMP(env) sigsetjmp(env, 1)
# define LONGJMP(env, val) siglongjmp(env, val)
-# define JMP_BUF sigjmp_buf
+# define JMP_BUF extern sigjmp_buf
#else
# ifdef ECOS
# define SETJMP(env) hal_setjmp(env)

View File

@@ -84,6 +84,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-tinfo.patch
"${FILESDIR}"/${PN}-xkb.patch
"${FILESDIR}"/${PN}-zh-TW.patch
"${FILESDIR}"/${P}-fno-common.patch
)
DOCS=( AUTHORS NEWS README RELNOTE doc )