forked from pool/tomoe
- 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
19 lines
674 B
Diff
19 lines
674 B
Diff
Index: tomoe-0.6.0/lib/tomoe-xml-parser.c
|
|
===================================================================
|
|
--- tomoe-0.6.0.orig/lib/tomoe-xml-parser.c
|
|
+++ tomoe-0.6.0/lib/tomoe-xml-parser.c
|
|
@@ -80,9 +80,9 @@ set_parse_error (GMarkupParseContext *co
|
|
"Invalid content at line %d char %d of %s.",
|
|
line, chr, data->filename);
|
|
|
|
- *error = g_error_new (G_MARKUP_ERROR,
|
|
- G_MARKUP_ERROR_INVALID_CONTENT,
|
|
- buf);
|
|
+ *error = g_error_new_literal (G_MARKUP_ERROR,
|
|
+ G_MARKUP_ERROR_INVALID_CONTENT,
|
|
+ buf);
|
|
}
|
|
|
|
static void
|
|
|