summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/epiphany/files/migrator.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/epiphany/files/migrator.patch')
-rw-r--r--meta/recipes-gnome/epiphany/files/migrator.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-gnome/epiphany/files/migrator.patch b/meta/recipes-gnome/epiphany/files/migrator.patch
new file mode 100644
index 0000000000..a9a650a64a
--- /dev/null
+++ b/meta/recipes-gnome/epiphany/files/migrator.patch
@@ -0,0 +1,24 @@
1We don't want to encide BUILD_ROOT into target packages. This is used
2for build time tests but in our case those would be on target anyway
3do use the target paths.
4
5Upstream-Status: Pending
6RP 2021/2/25
7
8Index: epiphany-3.38.2/lib/ephy-profile-utils.c
9===================================================================
10--- epiphany-3.38.2.orig/lib/ephy-profile-utils.c
11+++ epiphany-3.38.2/lib/ephy-profile-utils.c
12@@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const c
13 argv[i++] = NULL;
14
15 #if DEVELOPER_MODE
16- argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR;
17+ argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR;
18 #else
19 if (debug)
20- argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR;
21+ argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR;
22 #endif
23
24 g_spawn_sync (NULL, (char **)argv, envp, G_SPAWN_SEARCH_PATH,