aboutsummaryrefslogtreecommitdiff
path: root/security/putty
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2017-03-17 08:06:13 +0000
committerMatthias Andree <mandree@FreeBSD.org>2017-03-17 08:06:13 +0000
commita28757c202a0dc2882dcf2c3f6a25c8891eff7ef (patch)
tree47e897f80a1bf95d48d719d8e1c5a6c8ef80c839 /security/putty
parentf97fa1e45a64ec6990c1a937d51172557a956ef5 (diff)
downloadports-a28757c202a0dc2882dcf2c3f6a25c8891eff7ef.tar.gz
ports-a28757c202a0dc2882dcf2c3f6a25c8891eff7ef.zip
Add forgotten patch for Linux -> BSD portability.
Submitted by: cy@ Reported by: cy@ MFH: 2017Q1 Differential Revision: https://reviews.freebsd.org/D10023
Notes
Notes: svn path=/head/; revision=436321
Diffstat (limited to 'security/putty')
-rw-r--r--security/putty/files/patch-unix__uxpgnt.c11
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). */