aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-12 06:36:43 +0800
committerpav <pav@FreeBSD.org>2004-10-12 06:36:43 +0800
commit5e62710047eb84708bf4d2ce04335492944f289d (patch)
tree6eca0bbd7a6f806efbadd78a8599251833ebf149 /deskutils
parent9aaa21c5ad68e07e3aa5eacc5ff993e576ff89a4 (diff)
downloadfreebsd-ports-gnome-5e62710047eb84708bf4d2ce04335492944f289d.tar.gz
freebsd-ports-gnome-5e62710047eb84708bf4d2ce04335492944f289d.tar.zst
freebsd-ports-gnome-5e62710047eb84708bf4d2ce04335492944f289d.zip
- Fix loading of plugins
Obtained from: Multisync authors via Sam Lawrance <boris@brooknet.com.au>
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/multisync/Makefile1
-rw-r--r--deskutils/multisync/files/patch-src-syncengine.c12
2 files changed, 11 insertions, 2 deletions
diff --git a/deskutils/multisync/Makefile b/deskutils/multisync/Makefile
index 017621f94aec..248a5c2751b8 100644
--- a/deskutils/multisync/Makefile
+++ b/deskutils/multisync/Makefile
@@ -6,6 +6,7 @@
PORTNAME?= multisync
PORTVERSION= 0.82
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= multisync
diff --git a/deskutils/multisync/files/patch-src-syncengine.c b/deskutils/multisync/files/patch-src-syncengine.c
index 3941daa32f98..9580f62a9fb0 100644
--- a/deskutils/multisync/files/patch-src-syncengine.c
+++ b/deskutils/multisync/files/patch-src-syncengine.c
@@ -1,5 +1,5 @@
---- src/syncengine.c.orig Mon Apr 12 06:23:21 2004
-+++ src/syncengine.c Thu Apr 29 00:11:08 2004
+--- src/syncengine.c.orig Mon Apr 12 14:23:21 2004
++++ src/syncengine.c Sat Sep 11 22:53:29 2004
@@ -1097,6 +1097,7 @@
for (n = 0; n < g_list_length(remotechanges); n++) {
changed_object *robj, *lobj;
@@ -17,3 +17,11 @@
sync_compare_objects(robj->comp, lobj->comp, lobj->object_type);
if (compare == SYNC_COMPARE_EQUAL) {
sync_insert_idpair(lobj->uid, robj->uid,
+@@ -1714,6 +1715,7 @@
+ plugin = g_malloc0(sizeof(sync_plugin));
+ g_assert(plugin);
+ plugin->plugin = mod;
++ dlerror(); /* Clear previous errors */
+ plugin->shortname = CALL_PLUGIN(plugin, "short_name", ());
+ ptr=dlerror();
+ if (ptr != 0) {