summaryrefslogtreecommitdiff
path: root/comms/libopensync
diff options
context:
space:
mode:
authoryyamano <yyamano>2007-12-12 13:24:39 +0000
committeryyamano <yyamano>2007-12-12 13:24:39 +0000
commit2934ff65ca0790b7567b8090e06b8795b8d70680 (patch)
treebad594e81c2a4bb33acb09647117b8aed363244f /comms/libopensync
parentb2f23e0a84962703da25a0af02eb0a8cf2fb2562 (diff)
downloadpkgsrc-2934ff65ca0790b7567b8090e06b8795b8d70680.tar.gz
Make this buld on DragonFly. I forgot to commit it.
Diffstat (limited to 'comms/libopensync')
-rw-r--r--comms/libopensync/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/comms/libopensync/patches/patch-ab b/comms/libopensync/patches/patch-ab
new file mode 100644
index 00000000000..1476517ecdd
--- /dev/null
+++ b/comms/libopensync/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2007/12/12 13:24:39 yyamano Exp $
+
+--- osengine/osengine_client.c.orig 2007-03-27 20:49:26.000000000 +0900
++++ osengine/osengine_client.c
+@@ -765,10 +765,10 @@ osync_bool osync_client_spawn(OSyncClien
+ osync_env_export_loaded_modules(osync_group_get_env(engine->group));
+
+ char *memberstring = g_strdup_printf("%lli", osync_member_get_id(client->member));
+- execlp(OSPLUGIN, OSPLUGIN, osync_group_get_configdir(engine->group), memberstring, NULL);
++ execlp(OSPLUGIN, OSPLUGIN, osync_group_get_configdir(engine->group), memberstring, (char *)NULL);
+
+ if (errno == ENOENT) {
+- execlp("./osplugin", "osplugin", osync_group_get_configdir(engine->group), memberstring, NULL);
++ execlp("./osplugin", "osplugin", osync_group_get_configdir(engine->group), memberstring, (char *)NULL);
+ }
+
+ osync_trace(TRACE_INTERNAL, "unable to exec");