summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-29 00:08:46 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-29 00:08:46 +0100
commita45dfd34d2a5ccb5a07a968a475b656b743f992e (patch)
tree89570d20f1d32a605ce0ba136a7712881088be49 /app-i18n/uim
parentapp-doc/halibut: fix build with gcc-10 (diff)
downloadgentoo-a45dfd34d2a5ccb5a07a968a475b656b743f992e.tar.gz
gentoo-a45dfd34d2a5ccb5a07a968a475b656b743f992e.tar.bz2
gentoo-a45dfd34d2a5ccb5a07a968a475b656b743f992e.zip
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>
Diffstat (limited to 'app-i18n/uim')
-rw-r--r--app-i18n/uim/files/uim-1.8.8-fno-common.patch11
-rw-r--r--app-i18n/uim/uim-1.8.8.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/app-i18n/uim/files/uim-1.8.8-fno-common.patch b/app-i18n/uim/files/uim-1.8.8-fno-common.patch
new file mode 100644
index 000000000000..ff974bb5d5b2
--- /dev/null
+++ b/app-i18n/uim/files/uim-1.8.8-fno-common.patch
@@ -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)
diff --git a/app-i18n/uim/uim-1.8.8.ebuild b/app-i18n/uim/uim-1.8.8.ebuild
index 412b439ce31c..3ed23be0370a 100644
--- a/app-i18n/uim/uim-1.8.8.ebuild
+++ b/app-i18n/uim/uim-1.8.8.ebuild
@@ -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 )