aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-09-10 08:46:17 +0800
committercy <cy@FreeBSD.org>2003-09-10 08:46:17 +0800
commit89b7f5f1042758c1f0907d073060f32cf15ed4ea (patch)
tree1e8374444dac1b2e8bb70bb8801aeed4a9ebd1c3 /misc
parentd368447144b77a494e3f44397b01ff02fb175a4a (diff)
downloadfreebsd-ports-gnome-89b7f5f1042758c1f0907d073060f32cf15ed4ea.tar.gz
freebsd-ports-gnome-89b7f5f1042758c1f0907d073060f32cf15ed4ea.tar.zst
freebsd-ports-gnome-89b7f5f1042758c1f0907d073060f32cf15ed4ea.zip
Fix: multiuser screen fails with "attach attempt with bad pid"
PR: 55326
Diffstat (limited to 'misc')
-rw-r--r--misc/screen/files/patch-os.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/screen/files/patch-os.h b/misc/screen/files/patch-os.h
new file mode 100644
index 000000000000..9103b278fa7d
--- /dev/null
+++ b/misc/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
+