View | Details | Raw Unified | Return to bug 186616
Collapse All | Expand All

(-)./files/patch-engine-prefix (+33 lines)
Line 0 Link Here
1
diff -uNr engine.orig/dconf-engine-profile.c engine/dconf-engine-profile.c
2
--- engine.orig/dconf-engine-profile.c	2014-02-10 00:04:59.000000000 -0500
3
+++ engine/dconf-engine-profile.c	2014-02-10 00:05:39.000000000 -0500
4
@@ -188,7 +188,7 @@
5
 
6
   if (profile == NULL)
7
     {
8
-      file = fopen ("/etc/dconf/profile/user", "r");
9
+      file = fopen ("/usr/local/etc/dconf/profile/user", "r");
10
 
11
       /* Only in the case that no profile was specified do we use this
12
        * fallback.
13
@@ -198,7 +198,7 @@
14
     }
15
   else if (profile[0] != '/')
16
     {
17
-      gchar *filename = g_build_filename ("/etc/dconf/profile", profile, NULL);
18
+      gchar *filename = g_build_filename ("/usr/local/etc/dconf/profile", profile, NULL);
19
       file = fopen (filename, "r");
20
       g_free (filename);
21
     }
22
diff -uNr engine.orig/dconf-engine-source-system.c engine/dconf-engine-source-system.c
23
--- engine.orig/dconf-engine-source-system.c	2014-02-10 00:04:59.000000000 -0500
24
+++ engine/dconf-engine-source-system.c	2014-02-10 00:05:14.000000000 -0500
25
@@ -48,7 +48,7 @@
26
   GvdbTable *table;
27
   gchar *filename;
28
 
29
-  filename = g_build_filename ("/etc/dconf/db", source->name, NULL);
30
+  filename = g_build_filename ("/usr/local/etc/dconf/db", source->name, NULL);
31
   table = gvdb_table_new (filename, FALSE, &error);
32
 
33
   if (table == NULL)

Return to bug 186616