You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
25
external/bockbuild/packages/patches/pango-relative-config-file.patch
vendored
Normal file
25
external/bockbuild/packages/patches/pango-relative-config-file.patch
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
Index: pango/pango-utils.c
|
||||
===================================================================
|
||||
--- a/pango/pango-utils.c (revision 2425)
|
||||
+++ b/pango/pango-utils.c (working copy)
|
||||
@@ -567,6 +567,20 @@ read_config_file (const char *filename,
|
||||
gchar *value = g_key_file_get_value(key_file, group, key, &key_error);
|
||||
if (value != NULL)
|
||||
{
|
||||
+ if (!g_path_is_absolute (value))
|
||||
+ {
|
||||
+ gchar *dirname;
|
||||
+ gchar *absolute_path;
|
||||
+
|
||||
+ dirname = g_path_get_dirname (filename);
|
||||
+ absolute_path = g_build_filename (dirname, value, NULL);
|
||||
+
|
||||
+ g_free (dirname);
|
||||
+ g_free (value);
|
||||
+
|
||||
+ value = absolute_path;
|
||||
+ }
|
||||
+
|
||||
g_hash_table_insert (ht,
|
||||
g_strdup_printf ("%s/%s", group, key),
|
||||
value);
|
||||
Reference in New Issue
Block a user