pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/libopensync/patches Make this buld on DragonFly....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d14ac92b56d4
branches:  trunk
changeset: 536400:d14ac92b56d4
user:      yyamano <yyamano%pkgsrc.org@localhost>
date:      Wed Dec 12 13:24:39 2007 +0000

description:
Make this buld on DragonFly. I forgot to commit it.

diffstat:

 comms/libopensync/patches/patch-ab |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r 25e9b80bcbc3 -r d14ac92b56d4 comms/libopensync/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/libopensync/patches/patch-ab        Wed Dec 12 13:24:39 2007 +0000
@@ -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");



Home | Main Index | Thread Index | Old Index