diff options
author | martin <martin@pkgsrc.org> | 2019-02-06 11:25:02 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2019-02-06 11:25:02 +0000 |
commit | bf55b733d0707d67518cc9fb53f7144627913347 (patch) | |
tree | fa8fbb06126502d298e5d11ae67ed5110a97b51f /devel/xfce4-conf | |
parent | a6763c178ffbe5f2135c61785802ea016810b2d7 (diff) | |
download | pkgsrc-bf55b733d0707d67518cc9fb53f7144627913347.tar.gz |
Downgrade a critical message to a warning - to allow using the introspection
compiler without $DISPLAY being set.
Diffstat (limited to 'devel/xfce4-conf')
-rw-r--r-- | devel/xfce4-conf/distinfo | 3 | ||||
-rw-r--r-- | devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/devel/xfce4-conf/distinfo b/devel/xfce4-conf/distinfo index f2c02380a5c..f378179f7d7 100644 --- a/devel/xfce4-conf/distinfo +++ b/devel/xfce4-conf/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.6 2019/01/18 14:15:36 youri Exp $ +$NetBSD: distinfo,v 1.7 2019/02/06 11:25:02 martin Exp $ SHA1 (xfconf-4.13.6.tar.bz2) = e972e9f24508f8a435dd1d9230e0399a39773443 RMD160 (xfconf-4.13.6.tar.bz2) = beb87ea7d56fdbeace0f2313ee09d2b23d837c8a SHA512 (xfconf-4.13.6.tar.bz2) = 0eaa1ad428be5bea97b891a6bf0488293064e31d4869b70389ded940a23f9d8cffd0801dd98932658a67e57d6a0da95998872202cf7756aa24caa8f9d2c5f755 Size (xfconf-4.13.6.tar.bz2) = 578107 bytes +SHA1 (patch-gsettings-backend_xfconf-giomodule.c) = 5afc8c4822c551b72c7cfe1fbec8196127b05f9b diff --git a/devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c b/devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c new file mode 100644 index 00000000000..4833871e0f7 --- /dev/null +++ b/devel/xfce4-conf/patches/patch-gsettings-backend_xfconf-giomodule.c @@ -0,0 +1,21 @@ +$NetBSD: patch-gsettings-backend_xfconf-giomodule.c,v 1.1 2019/02/06 11:25:02 martin Exp $ + +Downgrade a critical message to warning, this may happen when loading the +module w/o intention to actually use it from the introspection compiler. + +Upstream ticket https://bugzilla.xfce.org/show_bug.cgi?id=15122 + +--- gsettings-backend/xfconf-giomodule.c.orig 2018-10-21 12:04:21.000000000 +0200 ++++ gsettings-backend/xfconf-giomodule.c 2019-02-06 11:36:27.869237116 +0100 +@@ -34,9 +34,9 @@ G_MODULE_EXPORT XFCONF_EXPORT void g_io_ + GError *error = NULL; + + if (!xfconf_init (&error)) { +- g_critical ("Failed to get connection to xfconfd: %s", error->message); ++ /* we could be loaded from g-ir-compiler, so do not abort */ ++ g_warning ("Failed to get connection to xfconfd: %s", error->message); + g_error_free (error); +- return; + } + + g_type_module_use(G_TYPE_MODULE(module)); |