Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/uim/files/, app-i18n/uim/
Date: Sat, 28 Nov 2020 23:10:13
Message-Id: 1606604926.a45dfd34d2a5ccb5a07a968a475b656b743f992e.soap@gentoo
1 commit: a45dfd34d2a5ccb5a07a968a475b656b743f992e
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Sat Nov 28 23:08:46 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 23:08:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a45dfd34
7
8 app-i18n/uim: fix build with gcc-10
9
10 * Thanks to Jeroen Roovers for submitting the patch
11
12 Closes: https://bugs.gentoo.org/706968
13 Package-Manager: Portage-3.0.9, Repoman-3.0.1
14 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
15 Signed-off-by: David Seifert <soap <AT> gentoo.org>
16
17 app-i18n/uim/files/uim-1.8.8-fno-common.patch | 11 +++++++++++
18 app-i18n/uim/uim-1.8.8.ebuild | 1 +
19 2 files changed, 12 insertions(+)
20
21 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
22 new file mode 100644
23 index 00000000000..ff974bb5d5b
24 --- /dev/null
25 +++ b/app-i18n/uim/files/uim-1.8.8-fno-common.patch
26 @@ -0,0 +1,11 @@
27 +--- a/sigscheme/libgcroots/include/private/gc_priv.h
28 ++++ b/sigscheme/libgcroots/include/private/gc_priv.h
29 +@@ -1979,7 +1979,7 @@
30 + /* the signal mask. */
31 + # define SETJMP(env) sigsetjmp(env, 1)
32 + # define LONGJMP(env, val) siglongjmp(env, val)
33 +-# define JMP_BUF sigjmp_buf
34 ++# define JMP_BUF extern sigjmp_buf
35 + #else
36 + # ifdef ECOS
37 + # define SETJMP(env) hal_setjmp(env)
38
39 diff --git a/app-i18n/uim/uim-1.8.8.ebuild b/app-i18n/uim/uim-1.8.8.ebuild
40 index 412b439ce31..3ed23be0370 100644
41 --- a/app-i18n/uim/uim-1.8.8.ebuild
42 +++ b/app-i18n/uim/uim-1.8.8.ebuild
43 @@ -84,6 +84,7 @@ PATCHES=(
44 "${FILESDIR}"/${PN}-tinfo.patch
45 "${FILESDIR}"/${PN}-xkb.patch
46 "${FILESDIR}"/${PN}-zh-TW.patch
47 + "${FILESDIR}"/${P}-fno-common.patch
48 )
49 DOCS=( AUTHORS NEWS README RELNOTE doc )