aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-09-10 00:46:17 +0000
committerCy Schubert <cy@FreeBSD.org>2003-09-10 00:46:17 +0000
commit8ab0ec1f9b81f9fb5e781a4c38f71a1540906a9f (patch)
tree92d342be6a7c16536285d507a5daeb41551af3d1 /sysutils/screen/files
parent53ca9c765c16073174f991bbc1675db39651a3e9 (diff)
downloadports-8ab0ec1f9b81f9fb5e781a4c38f71a1540906a9f.tar.gz
ports-8ab0ec1f9b81f9fb5e781a4c38f71a1540906a9f.zip
Fix: multiuser screen fails with "attach attempt with bad pid"
PR: 55326
Notes
Notes: svn path=/head/; revision=88880
Diffstat (limited to 'sysutils/screen/files')
-rw-r--r--sysutils/screen/files/patch-os.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-os.h b/sysutils/screen/files/patch-os.h
new file mode 100644
index 000000000000..9103b278fa7d
--- /dev/null
+++ b/sysutils/screen/files/patch-os.h
@@ -0,0 +1,11 @@
+--- os.h.orig Tue Jan 8 07:42:33 2002
++++ os.h Tue Sep 9 17:39:58 2003
+@@ -161,7 +161,7 @@
+ # define setregid(rgid, egid) setresgid(rgid, egid, -1)
+ #endif
+
+-#if defined(HAVE_SETEUID) || defined(HAVE_SETREUID)
++#if (defined(HAVE_SETEUID) || defined(HAVE_SETREUID)) && __FreeBSD_version < 500000
+ # define USE_SETEUID
+ #endif
+