commit:     0623ba1f0b28c7126996383d3320490bb5285729
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Fri Sep 25 00:00:00 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 17:45:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0623ba1f

app-i18n/tomoe: Fix building with glibc 2.32.

Closes: https://bugs.gentoo.org/713210
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 app-i18n/tomoe/files/tomoe-glibc-2.32.patch | 11 +++++++++++
 app-i18n/tomoe/tomoe-0.6.0-r6.ebuild        |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/app-i18n/tomoe/files/tomoe-glibc-2.32.patch 
b/app-i18n/tomoe/files/tomoe-glibc-2.32.patch
new file mode 100644
index 00000000000..5d296cdcdd3
--- /dev/null
+++ b/app-i18n/tomoe/files/tomoe-glibc-2.32.patch
@@ -0,0 +1,11 @@
+--- /lib/tomoe-xml-parser.c
++++ /lib/tomoe-xml-parser.c
+@@ -441,7 +441,7 @@
+     f = fopen (filename, "rb");
+     if (!f) {
+         g_warning ("failed to open dictionary file %s: %s", filename,
+-                   sys_errlist[errno]);
++                   strerror(errno));
+     }
+     g_return_val_if_fail (f, FALSE);
+ 

diff --git a/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild 
b/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild
index 00b0c32111b..ad6822db39c 100644
--- a/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild
+++ b/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 2006-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -39,6 +39,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
        "${FILESDIR}"/${PN}-gentoo.patch
        "${FILESDIR}"/${PN}-export-symbols.patch
+       "${FILESDIR}"/${PN}-glibc-2.32.patch
        "${FILESDIR}"/${PN}-glib-2.32.patch
        "${FILESDIR}"/${PN}-ruby19.patch
 )

Reply via email to