summaryrefslogtreecommitdiff
path: root/x11/sxpc/files/patch-sxpc.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 16:09:41 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 16:09:41 +0000
commita8a726360842517904b3446c8ee94de67108f1df (patch)
treedbeb7f00cce39b82e2c37a70dc9863c72c2dc41d /x11/sxpc/files/patch-sxpc.c
parentUpdate to 3.0.6. (diff)
Rename x11/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'x11/sxpc/files/patch-sxpc.c')
-rw-r--r--x11/sxpc/files/patch-sxpc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/sxpc/files/patch-sxpc.c b/x11/sxpc/files/patch-sxpc.c
new file mode 100644
index 000000000000..ca67df3576c3
--- /dev/null
+++ b/x11/sxpc/files/patch-sxpc.c
@@ -0,0 +1,20 @@
+--- sxpc.c.orig Mon Oct 21 18:22:21 2002
++++ sxpc.c Mon Oct 21 18:24:45 2002
+@@ -70,6 +70,8 @@
+ #undef SO_LINGER
+ #endif
+
++#define SYSV /* path of least resistance... */
++
+ char tfile[512];
+ int compression=0; /* -1 uncompress, 0 no compression, 1 compress */
+ struct sockaddr_in servaddr;
+@@ -925,7 +927,7 @@
+ }
+
+ #ifdef DOFORK
+-#if defined(_POSIX_SOURCE) || defined(_IBMR2) || defined(__hpux) || defined(hpux) || defined(FreeBSD)
++#if defined(_POSIX_SOURCE) || defined(_IBMR2) || defined(__hpux) || defined(hpux) || defined(__FreeBSD__)
+ setpgid(0, 0);
+ #else
+ setpgrp(getpid());