summaryrefslogtreecommitdiffstats
path: root/devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c')
-rw-r--r--devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c b/devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c
new file mode 100644
index 000000000..f6e093454
--- /dev/null
+++ b/devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c
@@ -0,0 +1,20 @@
+--- bonobo-activation/bonobo-activation-client.c.orig Wed Dec 10 11:53:32 2003
++++ bonobo-activation/bonobo-activation-client.c Wed Dec 10 12:00:19 2003
+@@ -197,6 +197,8 @@
+ return result;
+ }
+
++extern char **environ;
++
+ void
+ bonobo_activation_register_client (Bonobo_ActivationContext context,
+ CORBA_Environment *ev)
+@@ -217,7 +219,7 @@
+ bonobo_activation_hostname_get ());
+
+ /* send environment to activation server */
+- client_env._buffer = __environ;
++ client_env._buffer = environ;
+ if (client_env._buffer) {
+ for (i = 0; client_env._buffer[i]; ++i);
+ client_env._length = i;