summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-29 06:40:25 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-29 06:40:25 +0800
commitba79d86c35e61ce953820b438c9a54ffaeaf3f00 (patch)
treeb532873ebf7e327bc4fc49be94f6340aa235c397
parentcc65a3d6e8a5111d03fcab016f0e63bb10ce93b9 (diff)
downloadmarcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.tar
marcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.tar.gz
marcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.tar.bz2
marcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.tar.lz
marcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.tar.xz
marcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.tar.zst
marcuscom-ports-ba79d86c35e61ce953820b438c9a54ffaeaf3f00.zip
Do not unload modules when shutting down as that will lead to missing
symbols and segfaults. This sucks, but I don't know of another way to make sure all of the statically linked symbols are resolved for each plugin being unloaded. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15620 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--sysutils/gnome-settings-daemon3/Makefile3
-rw-r--r--sysutils/gnome-settings-daemon3/files/patch-gnome-settings-daemon_gnome-settings-module.c11
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/gnome-settings-daemon3/Makefile b/sysutils/gnome-settings-daemon3/Makefile
index 013c1e0dd..3e2ef225e 100644
--- a/sysutils/gnome-settings-daemon3/Makefile
+++ b/sysutils/gnome-settings-daemon3/Makefile
@@ -3,11 +3,12 @@
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-settings-daemon3/Makefile,v 1.16 2011/03/22 07:35:46 kwm Exp $
+# $MCom: ports/sysutils/gnome-settings-daemon3/Makefile,v 1.17 2011/03/26 04:44:45 avl Exp $
#
PORTNAME= gnome-settings-daemon
PORTVERSION= 2.91.93
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/sysutils/gnome-settings-daemon3/files/patch-gnome-settings-daemon_gnome-settings-module.c b/sysutils/gnome-settings-daemon3/files/patch-gnome-settings-daemon_gnome-settings-module.c
new file mode 100644
index 000000000..29dd8f4ea
--- /dev/null
+++ b/sysutils/gnome-settings-daemon3/files/patch-gnome-settings-daemon_gnome-settings-module.c
@@ -0,0 +1,11 @@
+--- gnome-settings-daemon/gnome-settings-module.c.orig 2011-03-28 18:38:07.000000000 -0400
++++ gnome-settings-daemon/gnome-settings-module.c 2011-03-28 18:31:50.000000000 -0400
+@@ -92,7 +92,7 @@ gnome_settings_module_unload (GTypeModul
+
+ g_debug ("Unloading %s", module->path);
+
+- g_module_close (module->library);
++ /*g_module_close (module->library);*/
+
+ module->library = NULL;
+ module->type = 0;