Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / accountsservice / drop-prefix-check-extensions.patch
blobd4b7eac1cb316af4937a91d7c84101a6d1097515
1 diff --git a/src/extensions.c b/src/extensions.c
2 index 354f476..8d020a6 100644
3 --- a/src/extensions.c
4 +++ b/src/extensions.c
5 @@ -122,15 +122,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 - } else {
14 - g_warning ("Found accounts service vendor extension symlink %s, but it must be exactly "
15 - "equal to '../../dbus-1/interfaces/%s' for forwards-compatibility reasons.",
16 - filename, name);
17 - }
18 + daemon_read_extension_file (ifaces, filename);
21 g_dir_close (dir);