SHA256
1
0
forked from pool/tomoe
Files
tomoe/tomoe-0.6.0-strerror.patch
Takashi Iwai d7126ab5d7 Accepting request 863184 from home:iznogood:branches:M17N
- Add tomoe-0.6.0-fixes-set-parse-error.patch and
  tomoe-0.6.0-strerror.patch: Fix build in current Factory.
- Run spec-cleaner and modernize spec, drop conditional for ancient
  version of openSUSE.


Yeah I know, broke the build for SLE12, but frankly who cares?
I for one don't.

OBS-URL: https://build.opensuse.org/request/show/863184
OBS-URL: https://build.opensuse.org/package/show/M17N/tomoe?expand=0&rev=7
2021-01-18 13:27:20 +00:00

15 lines
478 B
Diff

diff --git a/lib/tomoe-xml-parser.c b/lib/tomoe-xml-parser.c
index a9e458b..fe50485 100644
--- a/lib/tomoe-xml-parser.c
+++ b/lib/tomoe-xml-parser.c
@@ -441,7 +441,7 @@ tomoe_xml_parser_parse_dictionary_file (const gchar *filename,
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);