python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / gsignond / plugin-load-env.patch
blob5da2b4c157e85e0d0f6373de73fa758cbd60c779
1 diff --git a/src/gplugind/gsignond-plugin-loader.c b/src/gplugind/gsignond-plugin-loader.c
2 index 5497b32..979e1b4 100644
3 --- a/src/gplugind/gsignond-plugin-loader.c
4 +++ b/src/gplugind/gsignond-plugin-loader.c
5 @@ -38,11 +38,10 @@ gsignond_load_plugin (
6 gchar *plugin_filename;
7 GSignondPlugin *plugin;
9 -# ifdef ENABLE_DEBUG
10 const gchar *env_val = g_getenv("SSO_GPLUGINS_DIR");
11 if (env_val)
12 plugin_path = env_val;
13 -# endif
15 plugin_filename = g_module_build_path (plugin_path, plugin_type);
16 plugin = gsignond_load_plugin_with_filename (plugin_type,
17 plugin_filename);
18 diff --git a/src/gplugind/main.c b/src/gplugind/main.c
19 index 1c6cdb6..c85c623 100644
20 --- a/src/gplugind/main.c
21 +++ b/src/gplugind/main.c
22 @@ -93,11 +93,11 @@ _install_sighandlers (GMainLoop *main_loop)
23 static const gchar* _plugin_path(void)
25 const gchar *plugin_path = GSIGNOND_GPLUGINS_DIR;
26 -# ifdef ENABLE_DEBUG
28 const gchar *env_val = g_getenv("SSO_GPLUGINS_DIR");
29 if (env_val)
30 plugin_path = env_val;
31 -# endif
33 return plugin_path;