diff options
author | mandree <mandree@FreeBSD.org> | 2017-03-17 16:06:13 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2017-03-17 16:06:13 +0800 |
commit | 9e69c2eb6a892513ab37fe49853ded0f5efee7df (patch) | |
tree | 47e897f80a1bf95d48d719d8e1c5a6c8ef80c839 /security/putty | |
parent | 07ef9238db27a7f20838a058f37d10fe163c34cd (diff) | |
download | freebsd-ports-gnome-9e69c2eb6a892513ab37fe49853ded0f5efee7df.tar.gz freebsd-ports-gnome-9e69c2eb6a892513ab37fe49853ded0f5efee7df.tar.zst freebsd-ports-gnome-9e69c2eb6a892513ab37fe49853ded0f5efee7df.zip |
Add forgotten patch for Linux -> BSD portability.
Submitted by: cy@
Reported by: cy@
MFH: 2017Q1
Differential Revision: https://reviews.freebsd.org/D10023
Diffstat (limited to 'security/putty')
-rw-r--r-- | security/putty/files/patch-unix__uxpgnt.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/putty/files/patch-unix__uxpgnt.c b/security/putty/files/patch-unix__uxpgnt.c new file mode 100644 index 000000000000..3ef98d5849fa --- /dev/null +++ b/security/putty/files/patch-unix__uxpgnt.c @@ -0,0 +1,11 @@ +--- uxpgnt.c.orig 2017-03-16 03:33:18.000000000 +0000 ++++ uxpgnt.c 2017-03-16 03:33:18.000000000 +0000 +@@ -270,7 +270,7 @@ + /* Get out of our previous process group, to avoid being + * blasted by passing signals. But keep our controlling tty, + * so we can keep checking to see if we still have one. */ +- setpgrp(); ++ setpgrp(0,0); + } else { + /* Do that, but also leave our entire session and detach from + * the controlling tty (if any). */ |