x11/terminal.app: Regen patch with DragonFly support

This commit is contained in:
John Marino 2014-02-05 16:49:57 +00:00
parent 3269e1a143
commit fcdcf84e9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342772

View file

@ -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>