summaryrefslogtreecommitdiff
path: root/editors/joe2/files/patch-tty.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-21 08:53:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-21 08:53:32 +0000
commitae38e88a7391551a76b9a5eed4347a876b573fc9 (patch)
tree5bca5e3f5ad85714e1dc00b4d2fe871adc6d1535 /editors/joe2/files/patch-tty.c
parent- update to current CPAN version (0.1621, since 06 Feb 2005) (diff)
- Update to 2.9.8
PR: ports/80690 Submitted by: chinsan <chinsan@mail2000.com.tw> Approved by: Kevin Day <toasty@dragondata.com> (maintainer)
Diffstat (limited to 'editors/joe2/files/patch-tty.c')
-rw-r--r--editors/joe2/files/patch-tty.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/joe2/files/patch-tty.c b/editors/joe2/files/patch-tty.c
new file mode 100644
index 000000000000..0291edb3fed0
--- /dev/null
+++ b/editors/joe2/files/patch-tty.c
@@ -0,0 +1,17 @@
+--- tty.c.orig Fri May 6 17:26:17 2005
++++ tty.c Fri May 6 17:28:19 2005
+@@ -934,9 +934,11 @@
+ #endif
+
+ #ifndef SETPGRP_VOID
+- setpgrp(0, 0);
+-#else
+- setpgrp();
++ setpgrp(0, getpid());
++/*
++ * #else
++ * setpgrp();
++ */
+ #endif
+
+ for (x = 0; x != 32; ++x)