aboutsummaryrefslogtreecommitdiffstats
path: root/x11/sxpc
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-10-22 06:26:40 +0800
committerwollman <wollman@FreeBSD.org>2002-10-22 06:26:40 +0800
commitd137d99ee8c8561bec092d61e3ea75001d43e872 (patch)
tree121bb7055d9b13a48edfc40672ff3bd7114ca7a7 /x11/sxpc
parent50332425f756f1619219813383b1afcc0cd08ba1 (diff)
downloadfreebsd-ports-gnome-d137d99ee8c8561bec092d61e3ea75001d43e872.tar.gz
freebsd-ports-gnome-d137d99ee8c8561bec092d61e3ea75001d43e872.tar.zst
freebsd-ports-gnome-d137d99ee8c8561bec092d61e3ea75001d43e872.zip
Don't use union wait. (The remaining utility of this program is,
however, doubtful -- if anyone still needs the functionality, ssh -XC or lbxproxy would be better alternatives.)
Diffstat (limited to 'x11/sxpc')
-rw-r--r--x11/sxpc/files/patch-aa39
1 files changed, 20 insertions, 19 deletions
diff --git a/x11/sxpc/files/patch-aa b/x11/sxpc/files/patch-aa
index d6a17ad3b8ae..ca67df3576c3 100644
--- a/x11/sxpc/files/patch-aa
+++ b/x11/sxpc/files/patch-aa
@@ -1,19 +1,20 @@
-*** sxpc.c.orig Wed Mar 22 12:50:31 1995
---- sxpc.c Wed Mar 22 12:51:04 1995
-***************
-*** 925,931 ****
- }
-
- #ifdef DOFORK
-! #if defined(_POSIX_SOURCE) || defined(_IBMR2) || defined(__hpux) || defined(hpux) || defined(FreeBSD)
- setpgid(0, 0);
- #else
- setpgrp(getpid());
---- 925,931 ----
- }
-
- #ifdef DOFORK
-! #if defined(_POSIX_SOURCE) || defined(_IBMR2) || defined(__hpux) || defined(hpux) || defined(__FreeBSD__)
- setpgid(0, 0);
- #else
- setpgrp(getpid());
+--- 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());