mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix: multiuser screen fails with "attach attempt with bad pid"
PR: 55326
This commit is contained in:
parent
53ca9c765c
commit
8ab0ec1f9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88880
2 changed files with 22 additions and 0 deletions
11
misc/screen/files/patch-os.h
Normal file
11
misc/screen/files/patch-os.h
Normal file
|
@ -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
|
||||
|
11
sysutils/screen/files/patch-os.h
Normal file
11
sysutils/screen/files/patch-os.h
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue