summaryrefslogtreecommitdiff
path: root/devel/ddd/files/patch-ddd-TTYAgent.C
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2010-04-06 18:33:47 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2010-04-06 18:33:47 +0000
commit0f5f65479e9714193b56d05ffbff2eb6057e200c (patch)
tree849bd1b72de4f14b6c26e354ac35cf372b530d81 /devel/ddd/files/patch-ddd-TTYAgent.C
parent- Upgrade to latest version (3.5) (diff)
Update to 3.3.12 and silence a long standing bug in how
DDD handles controlling terminals for child processes. No response from maintainer since: Sat, 22 Aug 2009
Notes
Notes: svn path=/head/; revision=252333
Diffstat (limited to 'devel/ddd/files/patch-ddd-TTYAgent.C')
-rw-r--r--devel/ddd/files/patch-ddd-TTYAgent.C16
1 files changed, 13 insertions, 3 deletions
diff --git a/devel/ddd/files/patch-ddd-TTYAgent.C b/devel/ddd/files/patch-ddd-TTYAgent.C
index ef2e016ab0ce..8c4dac6d75a4 100644
--- a/devel/ddd/files/patch-ddd-TTYAgent.C
+++ b/devel/ddd/files/patch-ddd-TTYAgent.C
@@ -1,6 +1,16 @@
---- ddd/TTYAgent.C.orig Sat Nov 6 19:05:52 2004
-+++ ddd/TTYAgent.C Sat Nov 6 19:08:23 2004
-@@ -715,8 +715,19 @@
+--- ddd/TTYAgent.C.orig 2009-02-11 12:25:07.000000000 -0500
++++ ddd/TTYAgent.C 2009-08-22 23:43:03.712807083 -0400
+@@ -280,7 +280,9 @@
+ #if !defined(__osf__) && \
+ HAVE_PTSNAME && HAVE_GRANTPT && HAVE_UNLOCKPT && HAVE_IOCTL
+ #define HAVE_UNIX98PTYS 1
++#if !defined(__FreeBSD__)
+ #define HAVE_STREAMS_IMPLEMENTATION 1
++#endif
+ // FIXME: We should have a proper test for this.
+ // For instance, GNU libc 2.1 on Linux (and probably HURD too) has UNIX98-style
+ // pty allocation functions, but does not have a STREAMS-based implementation.
+@@ -715,8 +717,19 @@
}
else
{