python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / accountsservice / drop-prefix-check-extensions.patch
blob4b5222c9552d815c07b2b294a6bc97c47a084a26
1 diff --git a/src/extensions.c b/src/extensions.c
2 index 038dcb2..830465d 100644
3 --- a/src/extensions.c
4 +++ b/src/extensions.c
5 @@ -121,16 +121,7 @@ daemon_read_extension_directory (GHashTable *ifaces,
6 continue;
9 - /* Ensure it looks like "../../dbus-1/interfaces/${name}" */
10 - const gchar * const prefix = "../../dbus-1/interfaces/";
11 - if (g_str_has_prefix (symlink, prefix) && g_str_equal (symlink + strlen (prefix), name)) {
12 - daemon_read_extension_file (ifaces, filename);
13 - }
14 - else {
15 - g_warning ("Found accounts service vendor extension symlink %s, but it must be exactly "
16 - "equal to '../../dbus-1/interfaces/%s' for forwards-compatibility reasons.",
17 - filename, name);
18 - }
19 + daemon_read_extension_file (ifaces, filename);
22 g_dir_close (dir);