aboutsummaryrefslogtreecommitdiff
path: root/x11/terminal.app
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-02-05 16:49:57 +0000
committerJohn Marino <marino@FreeBSD.org>2014-02-05 16:49:57 +0000
commitfcdcf84e9fcf1e74a413cef18a0bbfcb4256a31a (patch)
tree71e26faa23570372388a498e25060f10f18a79b5 /x11/terminal.app
parent3269e1a143965455f55624ccbed9a0e5d0115335 (diff)
downloadports-fcdcf84e9fcf1e74a413cef18a0bbfcb4256a31a.tar.gz
ports-fcdcf84e9fcf1e74a413cef18a0bbfcb4256a31a.zip
Notes
Diffstat (limited to 'x11/terminal.app')
-rw-r--r--x11/terminal.app/files/patch-TerminalView.m24
1 files changed, 21 insertions, 3 deletions
diff --git a/x11/terminal.app/files/patch-TerminalView.m b/x11/terminal.app/files/patch-TerminalView.m
index 12c088c9174b..b22f3414cbe8 100644
--- a/x11/terminal.app/files/patch-TerminalView.m
+++ b/x11/terminal.app/files/patch-TerminalView.m
@@ -1,6 +1,24 @@
---- TerminalView.m.orig 2009-08-05 19:28:45.000000000 +0200
-+++ TerminalView.m 2010-05-23 09:03:04.000000000 +0200
-@@ -70,6 +70,7 @@
+--- TerminalView.m.orig 2012-03-06 17:54:33.000000000 -0500
++++ TerminalView.m
+@@ -33,7 +33,7 @@ activated */
+ # include <termios.h>
+ # include <pcap.h>
+ #define TCSETS TIOCSETA
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+ # include <sys/types.h>
+ # include <sys/ioctl.h>
+ # include <termios.h>
+@@ -52,7 +52,7 @@ activated */
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+ #if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) && !(defined(__OpenBSD__))
+ # include <pty.h>
+ #endif
+@@ -73,6 +73,7 @@ activated */
#include <AppKit/NSGraphics.h>
#include <AppKit/NSScroller.h>
#include <AppKit/DPSOperators.h>