Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/tomoe/, app-i18n/tomoe/files/
Date: Fri, 02 Oct 2020 17:45:38
Message-Id: 1601660707.0623ba1f0b28c7126996383d3320490bb5285729.floppym@gentoo
1 commit: 0623ba1f0b28c7126996383d3320490bb5285729
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Fri Sep 25 00:00:00 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 17:45:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0623ba1f
7
8 app-i18n/tomoe: Fix building with glibc 2.32.
9
10 Closes: https://bugs.gentoo.org/713210
11 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 app-i18n/tomoe/files/tomoe-glibc-2.32.patch | 11 +++++++++++
15 app-i18n/tomoe/tomoe-0.6.0-r6.ebuild | 3 ++-
16 2 files changed, 13 insertions(+), 1 deletion(-)
17
18 diff --git a/app-i18n/tomoe/files/tomoe-glibc-2.32.patch b/app-i18n/tomoe/files/tomoe-glibc-2.32.patch
19 new file mode 100644
20 index 00000000000..5d296cdcdd3
21 --- /dev/null
22 +++ b/app-i18n/tomoe/files/tomoe-glibc-2.32.patch
23 @@ -0,0 +1,11 @@
24 +--- /lib/tomoe-xml-parser.c
25 ++++ /lib/tomoe-xml-parser.c
26 +@@ -441,7 +441,7 @@
27 + f = fopen (filename, "rb");
28 + if (!f) {
29 + g_warning ("failed to open dictionary file %s: %s", filename,
30 +- sys_errlist[errno]);
31 ++ strerror(errno));
32 + }
33 + g_return_val_if_fail (f, FALSE);
34 +
35
36 diff --git a/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild b/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild
37 index 00b0c32111b..ad6822db39c 100644
38 --- a/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild
39 +++ b/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild
40 @@ -1,4 +1,4 @@
41 -# Copyright 1999-2020 Gentoo Authors
42 +# Copyright 2006-2020 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 EAPI="6"
46 @@ -39,6 +39,7 @@ DEPEND="${RDEPEND}
47 PATCHES=(
48 "${FILESDIR}"/${PN}-gentoo.patch
49 "${FILESDIR}"/${PN}-export-symbols.patch
50 + "${FILESDIR}"/${PN}-glibc-2.32.patch
51 "${FILESDIR}"/${PN}-glib-2.32.patch
52 "${FILESDIR}"/${PN}-ruby19.patch
53 )