summaryrefslogtreecommitdiff
path: root/x11/gdm2/files/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2/files/patch-as')
-rw-r--r--x11/gdm2/files/patch-as14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/gdm2/files/patch-as b/x11/gdm2/files/patch-as
new file mode 100644
index 000000000000..cf7db5183e5d
--- /dev/null
+++ b/x11/gdm2/files/patch-as
@@ -0,0 +1,14 @@
+--- gui/gdmflexiserver.c.orig Mon Oct 1 12:39:52 2001
++++ gui/gdmflexiserver.c Mon Oct 1 12:40:08 2001
+@@ -59,7 +59,11 @@
+ g_print ("Sending command: '%s'\n", command);
+
+ cstr = g_strdup_printf ("%s\n", command);
++#ifndef __FreeBSD__
+ if (send (fd, cstr, strlen (cstr), MSG_NOSIGNAL) < 0)
++#else
++ if (send (fd, cstr, strlen (cstr), 0) < 0)
++#endif
+ return NULL;
+
+ if ( ! get_response)